Solved

Visual Basic 6 IDE Issue

Posted on 2009-06-29
4
136 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

706 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

18 Experts available now in Live!

Get 1:1 Help Now