Computing.Net > Forums > Programming > vb 2005 find path program is

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vb 2005 find path program is

Reply to Message Icon

Name: pball
Date: November 19, 2008 at 09:55:53 Pacific
OS: xp
CPU/Ram: 2 ghz 1 gig
Product: HP
Comment:

I'd like a way to find the current path the program is in when it's run. Like %cd% in batch except I'm using visual basic.

I want this because when I open a file to load info then later save another file. The file I save is saved in folder I opened the first file from and not in the folder the program is.

Also with Microsoft visual basic 2005 how do I compile the program so I can just move the exe where ever I want. I've just been usign the debug up till now, but now I need to have the exe to use.



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: November 20, 2008 at 07:42:22 Pacific
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vb 2005 find path program is

VB 2005 Save File Dialog www.computing.net/answers/programming/vb-2005-save-file-dialog/14017.html

A program is trying to access email www.computing.net/answers/programming/a-program-is-trying-to-access-email/5979.html

VB.NET Image Path Questions www.computing.net/answers/programming/vbnet-image-path-questions/17618.html