|
-
Nov 21st, 2007, 10:44 AM
#1
Thread Starter
Member
[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
-
Nov 21st, 2007, 11:11 AM
#2
PowerPoster
Re: OCX file Error: Class Not Registered
===================================================
If your question has been answered, mark the thread as [RESOLVED]
-
Nov 21st, 2007, 11:16 AM
#3
Thread Starter
Member
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.
-
Nov 21st, 2007, 12:27 PM
#4
Re: OCX file Error: Class Not Registered
What is the OCX file and where did you get it?
-
Nov 21st, 2007, 01:48 PM
#5
Thread Starter
Member
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.
-
Nov 21st, 2007, 01:54 PM
#6
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?
Last edited by Hack; Nov 21st, 2007 at 02:26 PM.
-
Nov 21st, 2007, 02:20 PM
#7
Thread Starter
Member
Re: OCX file Error: Class Not Registered
As of i know i did't do any things like (Install/uninstall),..
-
Nov 21st, 2007, 02:27 PM
#8
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?
-
Nov 21st, 2007, 02:33 PM
#9
Thread Starter
Member
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.
-
Nov 21st, 2007, 02:38 PM
#10
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.
-
Nov 21st, 2007, 02:39 PM
#11
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.
-
Nov 21st, 2007, 02:45 PM
#12
Thread Starter
Member
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...
-
Nov 22nd, 2007, 04:54 AM
#13
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.
-
Nov 22nd, 2007, 05:42 AM
#14
Member
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
-
Nov 23rd, 2007, 09:32 AM
#15
Thread Starter
Member
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.
-
Nov 23rd, 2007, 10:59 AM
#16
Thread Starter
Member
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.
-
Nov 23rd, 2007, 11:40 AM
#17
Thread Starter
Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|