Solved

VB6 App.Path

Posted on 2003-10-30
3
2,114 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

760 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

21 Experts available now in Live!

Get 1:1 Help Now