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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location of program i'm running

Status
Not open for further replies.

cyberwolf14

Programmer
Aug 27, 2001
65
BE
Hi

How do i now the location of the program i have created if I press for example on a command button
 
Private Sub Command1_Click()
Text1 = App.Path
End Sub
David Paulson

 
App.Path will do the trick. Try this:

Add a command button to your project and type
Msgbox App.Path
Run your program and click the button
You'll get a message box that tells you the location of your application.

Hope that helps
Stacey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top