Solved

Default 'open'/'save' path?

Posted on 2004-08-12
8
967 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
  • 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 - Compare and highlight cell not the same 3 49
Add and format columns in vb6 7 56
fso.FolderExists("\\server\HiddenFolder$") 4 64
Excel Automation VBA 19 68
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

786 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