borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (ADO Connection)Next Topic (where can i?) New Topic New Poll Post Reply
AndreaVB Forum : Frequently Asked Questions : VB Current Directory (in IDE)
Poster Message
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891

icon VB Current Directory (in IDE)

Hi All,
Just thought I'd point out the following:
If you launch VB then open a VBP, the Current Working Directory (ie. default) will be whatever is set on your vb shortcut (usually the location of the VB6.exe), however, if you launch a VBP directly from windows, the working directory will be the location of the vbp.
When compiled, the working directory is based on the location of the EXE or the target folder in the shortcut properties.

Why comment? We sometimes get noob programmers in my office not realising this and writing INI files and settings and stuff into the current location.. and getting confused why sometimes their settings aren't found.
Regards,
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

13-11-2005 at 01:02 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Frequently Asked Questions : VB Current Directory (in IDE)
Previous Topic (ADO Connection)Next Topic (where can i?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder