Link to home
Start Free TrialLog in
Avatar of Preece
PreeceFlag for United States of America

asked on

Little VB 5 annoyances...

1) Why must VB always load every form and class module into the IDE each time I end a project???  This takes a while if you have 30 class modules and 12 forms!!

2)  Whenever I end my project, the IDE will stop the program, load each form and class mod into the IDE, and then bring one particular form to the front, and it is always the same form.  No matter which form was the last that I worked on, it always defaults to that one particular form???

3) While I am running a project, if I am sitting on a code window and I Ctrl-Break, sometimes the IDE jumps to a calling form or module.  This is annoying because now I must  put myself back in the module that I was in before I did the Ctrl-Break???

Avatar of caraf_g
caraf_g

1 Close the forms and modules. The next time it will load a LOT quicker.

2 Could it be your .vbw file is read only?

3 dunno....
3 it jumps back to whatever line of code you happen to be on. If this is on a different line, in a different module from the one you're looking at, it will jump away from it. Just imagine if it didn't do that, and you hit Ctrl+Break, then you'd have to search the little yellow arrow to find where you are - that would be even more annoying!
2 - make sure you have all your forms and code modules closed before you start your project.
PS - if you're already closing all your forms and code modules, 1) could also be caused by a read-only .vbw
delete .vbw file
Yes. The only purpose of the .vbw file is to keep information of which code windows/forms etc you have open. That's all. It can safely be deleted.
Avatar of Preece

ASKER

caraf_g
1)  Then I would have to close the forms and mods EVERY TIME I end my project!  That would be an inconvenience.

2)  Hmmm....my .vbw is not read only, but good comment.


3)  Duh!  Ok, that was a dumb question, but it is still annoying!!!
Avatar of Preece

ASKER

caraf_g
1)  Then I would have to close the forms and mods EVERY TIME I end my project!  That would be an inconvenience.

2)  Hmmm....my .vbw is not read only, but good comment.


3)  Duh!  Ok, that was a dumb question, but it is still annoying!!!
Preece:
"Then I would have to close the forms and mods EVERY TIME I end my project!"
You don't necessarily have to close them when you end your project, close them as you're developing when you don't need them any more.
Avatar of Preece

ASKER

caraf_g
1)  Then I would have to close the forms and mods EVERY TIME I end my project!  That would be an inconvenience.

2)  Hmmm....my .vbw is not read only, but good comment.


3)  Duh!  Ok, that was a dumb question, but it is still annoying!!!
Avatar of Preece

ASKER

hmmmm...it seems that every time that I refresh this page, and I get the "repost form data" question, then my question is posted again!  Sorry for the "annoyance"!!!

HaHa

Preece....
Preece:
The answer to "Repost from data?" is "No".  Use the "Reload ?" link at the top or bottom of the page.
A. Use hardware solution for 1 and 2: Biiig monitor

B. or add-in solution (button to close all vb-windows) -  waty's VBIDE Utils has this
1)  not necessarily, instead of closing 'em all you can delete the .vbw file every time (the so-called overkill solution :-)

ASKER CERTIFIED SOLUTION
Avatar of razorzej
razorzej

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Not a bad idea...
razorzej is really good. How did he come up with this idea. That nobody thought of this before :)
Avatar of Preece

ASKER

Thank you for your solution.  This is a relief!  You da man!

Preece
Avatar of Preece

ASKER

Oops!  Forgot to accept the answer!!!
Hmm, it looks that razorzej just stole our suggestion
I did mention read-only .vbw files alright as a possible cause of the problem, but razorzej took it and turned it around to come up with a solution, which is excellent and well worthy of the points.
I agree, it's great combination of mentioned suggestions.
razorzej rules!

Mirkwood is under stress - first day at new job, right?
No, I start Monday..

Congratulations on your new job. I wish you luck!

Was EE recognition page of any use to get a job?
:-)
:) Nope.

No? - some great titles there:

Sexual Fantasies
Gay Cartoon Characters
Riddle - NOT popping a balloon
Cooler you are a total ass :(
Free love flower children :)
hop hop hop
Yes, I'm not even talking about the experts sex stories threads...

see 193.78.170.81
(if you sent me your picture, I'll give you the address were you can find the EE sex stories)