Solved

VB6 Crashes while writing EXE

Posted on 2007-11-20
5
2,875 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

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

20 Experts available now in Live!

Get 1:1 Help Now