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 gkittelson 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 get the current path with

Status
Not open for further replies.

lix

Programmer
Jul 28, 2003
5
US
How can I get the current path with Visual Basic 4.0?
Thanks
 
not to keen on vb4 but does app.path not work?

RUN FunnySignatureMessage
 
Sorry, I don't have the experience with VB4, but in VB6 I used:

Dim db as Database
dim strPath as String
Set db = CurrentDb()
strPath = db.Name

The complete path and app name are then stored in the variable strPath. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top