Hi Sany,
You will understeand soon

You need this in using clause:
Code:
using System.Runtime.InteropServices; // needed to call external application (winAPI dll)
I think in VB it is 'imports'. This is the complete class (with only one functions, but you can add others later if needed:
Code:
public class Win32
{
[DllImport("User32.dll")]
public static extern void keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo);
}
You can easy translate that to VB because you know the syntax probably mutch better thatn me

Something like this (I think):
Code:
<DllImport("User32.dll")>
Public Shared Procedure keybd_event(ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags as Int, ...)
So in fact that's all to do. Once you have the class whitch I called Win32, but you give it the name you want, and you need any of the win32 API functions you just add it and it works. To call this one it is just as in my previous example which you now probably better understead.
If there is still questios just fire them. There are enough VB.NET people here to assist you
