Solved

Folder Path For MyProject.exe...

Posted on 2006-07-13
3
138 Views
Last Modified: 2010-05-18

In the load event of MyProject.exe, I would like to have:

MsgBox <path of the folder MyProject.exe currently exixsts>


Thanks.
0
Comment
Question by:Mike Eghtebas
  • 2
3 Comments
 
LVL 9

Expert Comment

by:justchat_1
Comment Utility
MsgBox App.Path
0
 
LVL 9

Accepted Solution

by:
justchat_1 earned 250 total points
Comment Utility
or:
MsgBox App.Path & "\" & App.EXEName & ".exe"
if you want the path with exe name
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

771 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