Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Folder Path For MyProject.exe...

Posted on 2006-07-13
3
142 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
ID: 17105442
MsgBox App.Path
0
 
LVL 9

Accepted Solution

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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

840 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