Runtime Error 339

I had designed a programme using visual basic 6.0...

I had run it successfully in my windows 7 computer...

But when I tried to run it using my laptop with windows 10, an error occurs with the error code 339. 

That error says " Component 'COMCTL32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.

Note : My win7 computer had visual basic 6 installed. But my win10 computer had not visual basic 6 installed. I do not want to install visual basic 6 on my windows 10 computer. 

I had checked in system32 folder in windows root folder. There is file called comctl32.ocx in that folder. 

Please give me a reply as soon as you can. The above mentioned self-developed program is a urgent project of mine. So I want to solve the error as soon as possible

Hi Sankha,

Click your Start Button, type cmd, then tight click Command Prompt and choose 'Run as Adminsistrator'

Run this command and hit Enter:

regsvr32 comctl32.ocx

Check to see if your application will run . . .

You may have to install VB6 on your PC as the version of controls you have called on your coding may not be compatible to the Windows 10 version of that OLE Control Extension library
___________________________________________________________________

Power to the Developer!

MSI GV72 - 17.3", i7-8750H (Hex Core), 32GB DDR4, 4GB GeForce GTX 1050 Ti, 256GB NVMe M2, 2TB HDD

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

dear, now i have this thing when doing the cmd process...

Need you help plz...

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated January 15, 2021 Views 1,211 Applies to: