By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

How do I obtain the application instance (hInst)?

P: n/a
Hello!

How do I get the application instance handle in VB? I guess
this should be fairly easy.

Sorry for this newbie question.
/Andreas
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Andreas,
How do I get the application instance handle in VB? I guess
this should be fairly easy.


System.Runtime.InteropServices.Marshal.GetHINSTANC E(Me.GetType().Module)

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.