• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

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?
0
gyukattila
Asked:
gyukattila
  • 3
  • 3
1 Solution
 
softplusCommented:
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
0
 
gyukattilaAuthor Commented:
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?
0
 
softplusCommented:
Can you post the exact error message? Thanks!
John
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
gyukattilaAuthor Commented:
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.
0
 
softplusCommented:
Install Visual Studio SP5  (I think you just have SP4 at the moment, don't know the version numbers) :)
0
 
gyukattilaAuthor Commented:
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.
0
 
PAQ_ManCommented:
PAQed with points refunded (250)

PAQ_Man
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now