Solved

Get current path

Posted on 2001-08-22
4
183 Views
Last Modified: 2012-06-27
How can I get the path that my program is running from upon running my program?
0
Comment
Question by:Barb0400
4 Comments
 

Accepted Solution

by:
kuppachi earned 20 total points
ID: 6413866
try this:-
App.Path

this will give u the path of ur program
0
 

Expert Comment

by:Kalikanzaro
ID: 6414025
You can get the path of your app with the standard function


strPath = App.Path

where strPath must be declared as string previously.

greetings.
0
 
LVL 6

Expert Comment

by:JonFish85
ID: 6414296
same as kuppachi's comment...
0
 

Author Comment

by:Barb0400
ID: 6414786
Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now