Default 'open'/'save' path?

Posted on 2004-08-12
Last Modified: 2011-04-14
Any way to change this?
I store code under C:\data\vb6\projectname
Anyway to get it to look in vb6's folder instead of
C:\program files\visual studio\vb98

Not only when I open a project, but add a module or the like...
Question by:sirbounty
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2

Expert Comment

ID: 11783161
If you open yor project with a double-click on vbp (or vbg) file
the project path will become the default path
LVL 18

Expert Comment

ID: 11783194
Set up a shortcut to each vbp file.
Make sure the start directory in the short cut is set to C:\data\vb6\projectname

You can then put these shortcuts on your desktop or anywhere else you feel like putting them to launch your vbp project.
LVL 67

Author Comment

ID: 11783237
So, no way to change this, eh? :)
I know I can create shortcuts - but that doesn't necessarily help me, unless I drop the shortcuts in vb98's folder...

And I know that I can double-click the vbp and it will become the default path for that session - but I'm looking for a way to change this for future sessions as well...
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Expert Comment

ID: 11783986
The only way I can see to make things easier is by clicking on the 'Recent' Tab when you open a project. Or 'Existing' when you run VB.

Though it would be a problem if you hadn't already opened that project under the same user on the same machine.
LVL 18

Expert Comment

ID: 11785574
You don't need to have the shortcuts in the vb98 directory you can put them anywhere!

In the shortcut:
Just point the Target to to the vbp e.g. "D:\Projects\ProjectX\myProject.vbp"
And the start in directory to the directory with the vpb in it e.g "D:\Projects\ProjectX"

Accepted Solution

Burbble earned 150 total points
ID: 11794414
Am I correct: You want to change the default directory in the "Existing" tab when you start VB?

To do this, change the shortcut you are using in order to launch Visual Basic:

The "Target" field should be:

"C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE"
(with the quotes)

and the "Start in" field should be whatever you want the default directory to be, for example:
(also with quotes)

LVL 67

Author Comment

ID: 11794438
Hmm - that works nice for file/open - I'll test it for adding forms/modules, but it doesn't sound like I can get any closer to what I've asked....thanx!

Expert Comment

ID: 11795809
Ok, glad I could help. Unfortunately, the Visual Basic IDE is very limited in certain regards...

Thanks for the points :-)


Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

688 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