Solved

Visual Basic 6 IDE Issue

Posted on 2009-06-29
4
137 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
  • 2
  • 2
4 Comments
 
LVL 142

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 142

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now