Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Saturday, June 28, 2014

[WP8] Visual Studio 2013 Menu duplicated bug


Problem : Menu in Visual Studio 2013 get duplicated.



Solution : Run devenv.exe /resetuserdata in command line.
Which normally exist here C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Lessen : Every IDE has it own problem tho

PS: I'm now become 100% cross-platform native programmer LOL

Wednesday, July 31, 2013

[C#] Disable System Keys on Windows On-Screen Keyboard

osk.exe
Again! I've project that required Windows On-Screen Keyboard, I've 2 choices, one is create my own, or two use native osk.exe, I pick 2nd option but that just like I said "All solution has it own problem" LOL

Problem

  1. User try click Windows button and other to leave my AIR EXE app and get through other Windows app.
  2. When click in osc window, Windows Toolbars also got focus over my AIR EXE app

Solution

  • use C# to Hook user KeyBoard (that including osk too!) and block and system key also fantasy combination e.g. Alt+Tab, Ctrl+Shift+Esc
  • then use AIR Native Process to call it yeah!

Source Code

Note to self