Solved

VB6 Crashes while writing EXE

Posted on 2007-11-20
5
2,932 Views
Last Modified: 2013-12-26
when trying to make a new EXE vb6 compiles and half way through writing the EXE either closes or crashes with unhandled error.

The same project can be made on a spacific machine but all the other machines fail with same error, all machines are running vb6 SP6 with XP Pro SP2 and IE6

any help on this would be great
0
Comment
Question by:YellowbusTeam
5 Comments
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 20319482
There should be something in your event log that describes what the problem is.
0
 

Author Comment

by:YellowbusTeam
ID: 20319654
Event logh has the following 2 errors although they dont mean much to me

Hanging application VB6.EXE, version 6.0.97.82, hang module hungapp, version 0.0.0.0, hang address 0x00000000.

and

Faulting application vb6.exe, version 6.0.97.82, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00010f29.
0
 
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20320009
Ensure that there are no problems with the third party controls that you are using with your vb program. This should be caused even due to mishandling of your computers memory.
0
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 500 total points
ID: 20320255
Unfortunately ntdll is so critical to everything that windows is doing that the problem could be cause by a wide variety of things.  It could be some software package you have installed, it could be CPU incompatibilities (I saw some people complaining that some AMD CPU's crash in ntdll).  Check if everything has the latest updates.

The first step to diagnose, since you have a working machine, is to identify anything different on the working machine, CPU, installed software, versions, etc.

You might also try rebuilding a machine from scratch and a clean install of XP with bare minimum components and see if you can build, and then slowly add your standard stuff until you identify what software (if any) is causing the problem.

0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 20320306
Make sure you disable all add-in and try again
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Adding to a VBA? 6 78
How to set the sa password in a vb6 code for sql connection 9 60
How do ASP.NET and MVC work together? 4 63
Send outlook email from VBS Script 2 42
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

837 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