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 , | 1 Comment

Why are AMD GPUs faster than Nvidia GPUs?

Firstly, AMD designs GPUs with many simple ALUs/shaders (VLIW design) that run at a relatively low frequency clock (typically 1120-3200 ALUs at 625-900 MHz), whereas Nvidia’s microarchitecture consists of fewer more complex ALUs and tries to compensate with a higher … Continue reading

Posted in Community, Computers and Internet | Tagged | 1 Comment

Resolved the Acer 5560G Hardware Virtualization Issue

Download the BIOS version 1.09 dated 26 Sep 2011 here http://www.acer.com.my/ac/en/MY/content/drivers.   AMD A6 does support AMD-V hardware virtualization. Thank to my friend Rob T for the useful feedback. Somehow you cannot disable or enable it from through BIOS. Resource: … Continue reading

Posted in Community, Computers and Internet | Tagged | 6 Comments

How to set the mouse position

To mouse the pointer to the position you want then use the following code. privatevoid btnSetCursor_Click(object sender, RoutedEventArgs e) {   System.Drawing.Point pt = new System.Drawing.Point(100, 100);   MouseHook.MoveMouse(pt); }   Note: 1. btnSetCursor is Button control. 2. btnSetCursor_Click is … Continue reading

Posted in .Net | Tagged , | Leave a comment