How do I find the hWnd in VB.NET? It was me.hwnd in old VB
Printable View
How do I find the hWnd in VB.NET? It was me.hwnd in old VB
This question has been asked and answered very recently, and would also be fairly evident form a quick look at the help documentation for the Form class. It is Me.Handle in VB.NET, which is an IntPtr object. You can convert an IntPtr to an Integer if necessary by calling its ToInt32 method.