thornmastr
Programmer
i have an emergency situation and could use a bit of assistance and or some clarifying suggestions. This is the problem. Create a new form with a number of text fields, labels, and command buttons. Nothing out of the ordinary. Save the form. VB 6 gives you the nasty message “Visual Basic has encountered a problem and needs to close.”
Or, it allows you to save the form, and then when you double click on the form, you get the same hideous message, you don’t send the infamous error report to M$, and VB dies in quiet agony.
Background Information.
1) Using Visual Basic 6.0 Enterprise Edition.
2) Not using Visual Source Safe
3) Developing Under XP PROFESSIONAL.
What I have learned:
1) I have learned I can just create a blank form and that will save and reload without any problem. I can add one text box and one label and in most instances it can be saved and reloaded a number of times before it develops the nasty message, then die but eventually it will happen.
2) Creating a form with one text field and one command button will immediately force that message abort condition.
What I have done to try to find a solution.
1. Removed VB6. Reinstalled VB6. Problem still exists.
2. Used very small form names and variable names. No help.
3. Created a new folder. Moved project and all associated files into new folder including project name. Did not solve problem.
4. Started entirely new project and copied forms and modules into new project. Problem still occurs.
5. Learned that adding a new text field to an already existing problem did not cause the problem, but…..
6. Adding a command button to an already existing form immediately caused the problem.
I an hoping someone has experienced this before and knows what the real solution is or at the lest has some good ideas to get rid of the problem.
Thank you for your help.
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@earthlink.net
Or, it allows you to save the form, and then when you double click on the form, you get the same hideous message, you don’t send the infamous error report to M$, and VB dies in quiet agony.
Background Information.
1) Using Visual Basic 6.0 Enterprise Edition.
2) Not using Visual Source Safe
3) Developing Under XP PROFESSIONAL.
What I have learned:
1) I have learned I can just create a blank form and that will save and reload without any problem. I can add one text box and one label and in most instances it can be saved and reloaded a number of times before it develops the nasty message, then die but eventually it will happen.
2) Creating a form with one text field and one command button will immediately force that message abort condition.
What I have done to try to find a solution.
1. Removed VB6. Reinstalled VB6. Problem still exists.
2. Used very small form names and variable names. No help.
3. Created a new folder. Moved project and all associated files into new folder including project name. Did not solve problem.
4. Started entirely new project and copied forms and modules into new project. Problem still occurs.
5. Learned that adding a new text field to an already existing problem did not cause the problem, but…..
6. Adding a command button to an already existing form immediately caused the problem.
I an hoping someone has experienced this before and knows what the real solution is or at the lest has some good ideas to get rid of the problem.
Thank you for your help.
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@earthlink.net