Solved

Visual Basic 6 IDE Issue

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

820 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