Thursday, February 20, 2014

Android Studio development

I am studying

Android Studio development

Getting familiar with Android studio. It's pretty straight forward.

I am at the end of chapter 5 on events.

Also watched pluralsight android layout fundamentals.

Tuesday, February 18, 2014

Decided to start working on Android platform

Have studied so many options, finally decided to work on Android. Using Android studio today to finish first demo application on emulator.

Studied asp.net, asp.net mvc, html5, Windows Azure,...etc. But I think mobile application development has much more future.

I can sell my application online or work for any company need a mobile programmer.

After learning android, will learn iPhone.

Wednesday, February 12, 2014

Debug vbscript using VS2013

http://krestenm.blogspot.com/2007/12/vbscript-projects-in-visual-studio2.html

create a project in VC++ makefile

change project property
Choose the General Page, and change the "Configuration Type" from "Makefile" to "Utility".

add vbscript

change the debug to use cscript.exe
command line to //x vbscriptname.vbs

set up breakpoint in vbs
control-f5 to start debugg
(no need to build the project)

Tuesday, February 11, 2014

Test WMI

Use wbemtest
then run Query

Select * from Win32_Process

force a system crash


You need to do control then scroll lock twice, but before you do that you need to setup the keyboard.


http://msdn.microsoft.com/en-us/library/windows/hardware/ff545499(v=vs.85).aspx

Defining Alternate Keyboard Shortcuts to Force a System Crash from the Keyboard

You can configure values under the following registry subkeys for different keyboard shortcut sequences to generate the memory dump file:
  • For PS/2 keyboards:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\crashdump
  • For USB keyboards:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\crashdump
The location of that file is in registry
HKLM\SYSTEM\CurrentControlSet\Control\CrashControl\Dumpfile

Use Dumpchk.exe to check a memory dump file

Use Dumpchk.exe to check a memory dump file