Solved

Default 'open'/'save' path?

Posted on 2004-08-12
8
971 Views
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...
0
Comment
Question by:sirbounty
[X]
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
8 Comments
 
LVL 6

Expert Comment

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

Expert Comment

by:JR2003
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.
0
 
LVL 67

Author Comment

by:sirbounty
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...
0
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

by:ivrbuilder
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.
0
 
LVL 18

Expert Comment

by:JR2003
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"
0
 
LVL 7

Accepted Solution

by:
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:
"C:\data\vb6\projectname"
(also with quotes)

-Burbble
0
 
LVL 67

Author Comment

by:sirbounty
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!
0
 
LVL 7

Expert Comment

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

Thanks for the points :-)

-Burbble
0

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 (http://www.experts-exchange.com/Q_27402310.html) 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