Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IDE crashes

Status
Not open for further replies.

Linda330

Programmer
Feb 28, 2001
1
US
Where I work, we have developed an application using VB 6, developed on Windows 98 and NT. It contains 107 forms, 6 .bas modules, and 44 crystal report .dsr forms. When we run the application from the IDE under windows 98, it looks like it runs through all the forms and the project explorer window flickers but there's no problem running and debugging the application. Under NT 4.0, this doesn't happen. Recently, I upgraded my development machine to a laptop that runs Windows 2000. When I run the application in the IDE, the project explorer window flickers and it appears to be running through all the forms. Worse than that though, when I exit the application, and click on either of the project explorer scroll bars or the code window scroll bar, I'm thrown out of VB altogether. Sometimes I get an error message:
VB6.exe - application error. "The instruction at ... referenced memory at ... could not be read." Often though, there's no error message. VB just closes.
I would really appreciate it if anyone has any idea what could be causing this and how I can solve it.
 
Have you figured this problem out? My NT 4.0 machine was updated to sp5 and now I'm having the same trouble as you. I get the vb6.exe application error when I exit the IDE.
kb
 
I get something similar (not too helpful, but at least you know you are not alone) on nt4 workstation, sp6a if I recall and vb6 enterprise sp6. VB seems to have taken a stance against being stopped halfway through something. If I stop it on a break point and then click end, there is a good chance it will crash. An extract from Dr Watson:-

Application exception occurred:
App: EXE\VB6.dbg (pid=247)
When: 8/30/2001 @ 14:13:16.202
Exception number: c0000005 (access violation)

Pain in the bum. Peter Meachem
peter@accuflight.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top