Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I get App.hInstance in VB.NET

221 views
Skip to first unread message

Jay King

unread,
Mar 31, 2002, 7:49:25 AM3/31/02
to
N/T


Mattias Sjögren

unread,
Apr 1, 2002, 12:43:08 AM4/1/02
to
Jay,

Dim hInstance As IntPtr
hInstance = System.Runtime.InteropServices.Marshal.GetHINSTANCE( _
GetType(YourClass).Module )


Mattias


===
Mattias Sjögren (VB MVP)
mattias @ mvps.org
http://www.msjogren.net/dotnet/

0 new messages