Solved

VB6 App.Path

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

770 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