Monthly Archives: January 2012

Microsoft Expression Encoder cannot work with NVIDIA graphic card

If you have NVIDIA PC or laptop like Dell E6420 that cannot work with Microsoft Expression Encoder then download the Microsoft Expression Encoder SP1. It should work most of the time.

Posted in Community, Computers and Internet | Tagged , | Leave a comment

Create simple bar chart in Silverlight 5

1. Create a Silverlight project. 2. Paste the following code to your Mainpage.xaml <chartingToolkit:Chart Title=”Typical Use” x:Name=”BarChart”>    <chartingToolkit:Chart.Series>       <chartingToolkit:ColumnSeries x:Name=”series1″         Title=”Population”         ItemsSource=”{Binding PugetSound}”          IndependentValueBinding=”{Binding Name}”          DependentValueBinding=”{Binding Population}”/>       </chartingToolkit:Chart.Series> </chartingToolkit:Chart>   3. … Continue reading

Posted in .Net | Tagged , , | 2 Comments

System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission when running DotNetNuke installation wizard

If you hit the error message when running the DotNetNuke installation wizard: ————————————————————————————————————————– Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed. Source Error: An unhandled exception was generated during the execution of the … Continue reading

Posted in Community | Tagged , | Leave a comment

One of the parent hard disks is ‘Windows XP Mode’ is missing

You might see the error “One of the parent hard disks is ‘Windows XP Mode’ is missing” when you move your Windows XP Mode image from one PC to another.   Then when you click the setting -> click Hard … Continue reading

Posted in .Net | Tagged , | Leave a comment

Get started with Xbox Kinect programming

1. Xbox comes with Kinect but not the Kinect Power Supply. Without the power supply the SDK will not detect your Kinect. You need to buy the Power Supply. 2. Watch the Kinect for Windows SDK Quickstarts video and download … Continue reading

Posted in .Net | Tagged , , | 1 Comment

How do you know which process the window belongs to

1. Download Process Explorer from Syssnternals. 2. Run the Process Explorer. 3. Right click the process that you need to know which window is using. 4. Choose Window. 5. Choose Bring to Front.

Posted in .Net | Tagged | Leave a comment

How to call user32.dll API to do the mouse click

1. Add reference to System.Windows.Forms. 2. Add reference to System.Drawings. 3. Create a MouseHook class like below.   classMouseHook { //used for sending the mouse events like [DllImport(“user32.dll”)] privatestaticexternvoid mouse_event(UInt32 dwFlags, UInt32 dx, UInt32 dy, UInt32 dwData, IntPtr dwExtraInfo); //constants … Continue reading

Posted in .Net | Tagged , | Leave a comment