How to fix Run-time error ‘339’: MSCOMCT2.OCX is missing. A file is missing or invalid.' The module 'mscomct2.ocx' failed to load. May 31, 2011 Run time error`339`: Component `mscomct2.ocx` or one of its dependenceies not correctly registered: a file is missing or invalid I.
I am using following three ocx's in my application a. Comdlg32.ocx( Microsoft Common Dialog Control 6.0(SP3)) b. Mscomctl.ocx (Microsoft Windows Commom Controls 6.0(SP4)) c. Mscomct2.ocx(Microsoft Windows Common Controls-2 6.0) I am facing no problem in running this application in my pc(it has windows 2000) as i have compiled this on my pc and i have vb installed in my system. Film Fitna En Francais. Problem is when i try to run this on another pc which does not have visual basic installed i got following error message- 'error '339', component 'MSCOMCT2.OCX' or one of its dependencies not correctly registered.
A file is missing or invalid' My query is - Is it necessary to always register these standard ocx on pc's where visual basic is not installed?What should i do if i want to give my application to someone? Should i make a list of these ocx and send these with application and ask to copy these and register these?Does these standard ocx's get registered when os is installed or visual basic is installed?Why am i getting this error message?What could be the possible reasons?
Is it necessary to always register these standard ocx on pc's where visual basic is not installed? Download Eat To Win Robert Haas Pdf. If the application uses a certain ocx file, it has to be registered on the machine using the program. What should i do if i want to give my application to someone? Make an instalation package (Use add in menu in VB, add in manager, double click package and deployment wizard, and then from add in menu run the deployment wizard), or manually register the missing ocx (regsvr32 command) Should i make a list of these ocx and send these with application and ask to copy these and register these? It is one of the possibilty, along with providing an instalation package Does these standard ocx's get registered when os is installed or visual basic is installed? It depends on which version and SP is installed (I think. But am not so sure) Why am i getting this error message?
Because the ocx is not registered What could be the possible reasons? The reason is the ocx is not registered.
You are saying 'If the application uses a certain ocx file, it has to be registered on the machine using the program'. It is still not clear when standard ocx(comdlg32.ocx, mscomctl.ocx,mscomct2.ocx) has to be registered. 1 Is it when visual basic is not installed on my pc or irrespective of the fact whether vb is installed or not i have to register these ocx's? 2 When does these ocx's get registered on a pc? Do they come with windows or they get registered when visual basic is installed?
If a program requires those ocx, they will be, upon installation: copied on the machine registered (to tell windows where the ocx actually is on the machine) So if you have to PC where VB is installed, the ocx will be present and registered (Because vb uses them) to resume: If no other program requires those ocx, they will not be present, you will therefore have to copy them and register them. Either manually or with an installation package. Miami Vice Font there. Then to the question which version of windows and vb include the common files, honestly I don't know and am sorry not to be able to help. Nrav, you should never guess if the OCX's and DLL's your application uses are present on the target machine.