Solved

Visual Basic 6 IDE Issue

Posted on 2009-06-29
4
141 Views
Last Modified: 2012-05-07
Experts,

My Visual Basic 6 IDE keeps shutting down when I hit "stop" during design-time.  It didn't used to do this, but something has changed in the environment.  I have to keep re-opening the app after attempting to trace, etc.
0
Comment
Question by:NigelRocks
[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
  • 2
  • 2
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 24735620
you are either using threading in your code, or use a third-party ocx/component that does, and which is not thread-safe.
0
 
LVL 1

Author Comment

by:NigelRocks
ID: 24735712
I'm not using it in my code, at least not deliberately.  How can I tell if it's an .ocx component and which one?
 
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 500 total points
ID: 24735745
does it happen on a new empty project?
yes => reinstall vs + service pack
no => add 1 component after the other from your project, and repeat the test.
0
 
LVL 1

Author Comment

by:NigelRocks
ID: 24735898
It doesn't happen on a new project, but what's interesting is that it doesn't happen every time either.  Sometimes I can hit "stop" and the IDE stays open.  
0

Featured Post

Industry Leaders: 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

751 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