[RESOLVED] OCX file Error: Class Not Registered
Hi All,
I am using a OCX file in my VB project it was working fine yesterday also, we did't make any changes in any file today it not working, when i drag that ocx file to my form it giving error as "Class Not Registered",. Please let me know y this error is coming and how to slove this.
Thanks in Advance.
Mohan
Re: OCX file Error: Class Not Registered
Re: OCX file Error: Class Not Registered
I tried that also, after that i added that ocx control in my project through component option, it adding in the controlbox but coming in the different image, when i drag that control it's giving Class Not Registered Error.
Re: OCX file Error: Class Not Registered
What is the OCX file and where did you get it?
Re: OCX file Error: Class Not Registered
It's OCX file created by our team, name is Date_Time.ocx
earlier(yeaterday) it was working fine in my system, but now it's giving error. the same ocx i have copied into some other system and registered it's working fine in that system.
Re: OCX file Error: Class Not Registered
Ok, then I think you are approaching the problem from the wrong angle.
If it is a problem with the file, then it would be a problem with the file for everyone, not just you. If it once worked on your PC, and doesn't now, then something happened with your machine between the time it worked and now.
What changes have occured on your machine since the last time it worked?
Re: OCX file Error: Class Not Registered
As of i know i did't do any things like (Install/uninstall),..
Re: OCX file Error: Class Not Registered
Were there any new patches applied, new software installed, memory upgrades, anything at all?
As I said, programs don't work then not work all by themselves and it is working on other machines, so I think the finger has to be pointed at your machine itself.
Do you have a desktop or a laptop?
Re: OCX file Error: Class Not Registered
using desktop only,.. now what i did we have I have installed(Deployed) my application(ex: SchoolManagement) that using the same ocx, after installing that now this OCX file is working,.. but when i uninstalled that software it's not working again giving the same old error.
Re: OCX file Error: Class Not Registered
Ah....I new there was some kind of change.
So, apparently this OCX doesn't like being manually registered, but is fine with being registered via a formal install.
Re: OCX file Error: Class Not Registered
As this was developed in house, have you discussed this issue with the development team?
They might have some insight as to why this problem occurred.
Re: OCX file Error: Class Not Registered
It was developed by in house only but now that team is not working here. not supporting documents also...
Re: OCX file Error: Class Not Registered
Don't tell me, contractors right?
Well, it would seem that as long as you do a formal install, it works so that would appear to be the route you have to take.
Re: OCX file Error: Class Not Registered
hi mohan,
try this option hopefully to solve your problem.
First Unregister your Control :
Start - Program - Microsoft Visual Studio 6.0 - Microsoft Visual Studio - ActiveX Test Container - Short cut
" File - Register Controls " - select the control from the list unregister the control first if it's registered with different path.
If Not present your control , you select file by choosing the "Register" button
Restart your machine...
and then try with your program...
what OS you are currently using?
If server Os version then ensure you have sufficient rights to installed the new control in your machine ?
This problem may occured by same control register with different path..
try this above option, and let me know your thought on this...
Hopefully resolve this issue.. best of luck...
regards,
mahes
Re: OCX file Error: Class Not Registered
Hi Mahes,
I tryed as youn said, but still i am getting the same error as Class Not Registered like that.
Re: OCX file Error: Class Not Registered
What could be the problem with the OCX, If i do formal Install then it's working but if i registered the OCX from Vb Component option it's giving the "Class Not Registered" Error. Please Help What could be the Problem.
Re: OCX file Error: Class Not Registered
Hi All,
I got solution for this problem,.. The problem is in my system MSSTDFMT.dll is not registered, so that it's giving that error when i registered the above said dll then not my ocx is working fine,..
Thanks for all your Support.