Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I find the Application Handle?

Status
Not open for further replies.

CPUCurt

Programmer
Joined
Mar 19, 2002
Messages
7
Location
US
I’m rewriting a VB6 application using VB.net 2005. In my VB6 app I used “App.hInstance” to acquire the applications handle. I can’t seem to find the VB.net equivalence. I’ve found references to Handles for Buttons,Listboxs and the like, but nothing for the Application.

Any suggestion?

Curt
 
System.Diagnostics.Process.GetCurrentProcess.Handle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top