stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 891
|
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)
|