Link to home
Start Free TrialLog in
Avatar of gyukattila
gyukattila

asked on

URGENT!!! errorwhile creating a program exe in vb 6.0

Dear Everybody,

while trying to create a program exe in vb 6.0 I always get the message "comct232.ocx error" and the application closes. Why is that?
Avatar of softplus
softplus

I assume this is when you try to run the program on a different computer? In this case you are probably using a component from the file comct232.ocx (Windows Common Controls for Visual Basic, 2). You'll need to copy the file to the system32-path and register it.
Copying: just copy the existing file on your computer (where you made the program) into the c:\windows\system32 path on the other computer (or c:\winnt\system32 in windows 2000)
Registering: Click Start / Execute and enter "regsvr32 c:\windows\system32\comct232.ocx" (without the quotes, match the path to the path you copied the file to).
John
Avatar of gyukattila

ASKER

Actually, the problem occurs on my computer as well -while I am trying to create the exe file for the installation wizard. The objects of the vb project have been translated but when it comes to writing exe, this error occurs. I tried the things You mentioned but they did not work out. Any idea why?
Can you post the exact error message? Thanks!
John
Application failure vb 6.exe 6.0.97.82. in comct232.ocx 6.0.80.22 at offset 0x00003cda- this is what I receive every time.
Thanks,
A.
Install Visual Studio SP5  (I think you just have SP4 at the moment, don't know the version numbers) :)
The problem was the following:
-the controls belonging to comct232.ocx had to be replaced on the forms.
After that the problem did not occur.
 Thank you for trying to help me.
ASKER CERTIFIED SOLUTION
Avatar of PAQ_Man
PAQ_Man
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial