Solved

Visual Basic 6 IDE Issue

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 72
Recommendation vb6 to vb.net or others 14 149
VB6 ListBox Question 4 44
backup program with robocopy 6 19
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

810 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