Solved

Open a project

Posted on 1998-07-22
5
154 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
[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
5 Comments
 
LVL 8

Expert Comment

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

Author Comment

by:burevestnik
ID: 1466449
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
ID: 1466450
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
ID: 1466451
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
ID: 1466452
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…
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…

739 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