Solved

VB6 App.Path

Posted on 2003-10-30
3
2,120 Views
Last Modified: 2012-05-04
How do I solve the App.Path in VB.Net, is there a way to Assign a path dependend of the mainprogram at installation time.
Thanks gunthi
0
Comment
Question by:gunthi
3 Comments
 
LVL 39

Expert Comment

by:appari
ID: 9649594
try

Application.ExecutablePath
0
 
LVL 5

Accepted Solution

by:
rajaamirapu earned 50 total points
ID: 9649613
this is the code
Private Sub PrintStartupPath()
   textBox1.Text = "The path for the executable file that " & _
      "started the application is: " & _
      Application.StartupPath
End Sub
0
 

Author Comment

by:gunthi
ID: 9651198
Thanks for your help!
gunthi
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

713 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