Solved

Open a project

Posted on 1998-07-22
5
149 Views
Last Modified: 2012-05-04
When I open my project in VB5 (service pack 3), VB opens code windows of several modules, which I was working on several weeks ago, but not the latest set of modules. How to change its behavior to force VB to display only the windows I had opened just before I closed VB? I tried to save vbp file, but it didn't do any difference.
0
Comment
Question by:burevestnik
5 Comments
 
LVL 8

Expert Comment

by:MikeP090797
Comment Utility
Do you mean how to automaticly load the project whehn vb starts?
0
 

Author Comment

by:burevestnik
Comment Utility
No, I don't. I mean exactly what I wrote. Project was loaded and several code windows were displayed.
0
 
LVL 2

Accepted Solution

by:
percosolator earned 200 total points
Comment Utility
I am not sure of the order that VB displays the code windows,
it does not seem to faithfully be with the code you were working on.

To ensure that you see what you've been working on recently, I suggest what I have done:

    Close all windows (you might VB opening window after window when loading).  Then only have the windows open what you are working on.  

Make it a habit to close windows when you are done with them and you will have only your most recent available to you upon opening VB.



0
 
LVL 1

Expert Comment

by:BeerMan
Comment Utility
I know wath you mean, because when i open a project and 25 windows code don't stop load, it's very bad... so like percosolator say, when i want just 2-3 windows open when i Load or start or stop project, just open the windows you need and the next time you open this project you gonna have just your windows you selected.  i work too everyday in VB, and i we loose time with that .... windows open...   good bye.
0
 

Author Comment

by:burevestnik
Comment Utility
People, thank you for your prompt responces, but you still did not answer my question... Fortunately, I found the solution. And this is an unimportant bug in VB5: There is a file with extension 'vbw', which contains information about VB environment (which code windows are opened, etc.). When you hit "Save project", it will save the project, yes, but if your vbw file is read-only (it is often the case if you use SourceSafe and vbw file is not checked out), VB fails to tell you that vbw file is read-only and just does not save it without any message...
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now