|
-
Aug 20th, 2005, 11:47 AM
#1
Thread Starter
Member
ActiveX activation
Hello
I'm trying to do some changes to this program and it will not run. I get the message "License info for component not found. You do not have an appropriate license to use this functionality in the design environment. Reinstall ActiveX control."
It has to do with olch2x7.ocx which is the Component1 Chart 7.0 2D Control. I see it in the toolbox at least the map icon and under project -> components. I installed the Component1 software charting package. I heard this is an out of date or unsupported Microsoft program. The Component1 software is an upgrade from the Olectra Chart 6.0. I installed them both. I can click on the olch2x7 ActiveX control but don't know how to register it, activate it or whatever it needs.
I can go to it's properties, digital signatures, view certificate, install certificate, cert import wizard, import successful and still I can't run the program. I get Runtime error 424 Object required.
Code:
Private Sub Form_Resize()
If ScaleWidth < 2000 Then Exit Sub
Label6.Move 72, ScaleHeight - 250
ListView1.Move 120, ScaleHeight - 1870
ListView2.Move 3480, ScaleHeight - 1870
Command3.Move 475, ScaleHeight - 2150
Command2.Move 4584, ScaleHeight - 2150
Command1.Move ScaleWidth - 1300, ScaleHeight * 0.05
Label7.Move 100, ScaleHeight - 550
Image1.Move 700, 252, ScaleWidth - 1420, ScaleHeight - 2400
Map1.Move 120, 252, ScaleWidth - 120, ScaleHeight - 2400 ' error here
Prgbar1.Move 3500, ScaleHeight - 200
End Sub
Any help would be appreciated
thanks - Steve
-
Aug 20th, 2005, 01:39 PM
#2
Re: ActiveX activation
Two things:
Have you checked with the Vendor?
Have you tried manually registering the control using Regsvr32?
-
Aug 20th, 2005, 11:10 PM
#3
Thread Starter
Member
Re: ActiveX activation
Hello Hack
Thanks for the reply. I have REGSVR32.DLL but how do I run it to register the x control? Dbl clicking on it just asks me if I want to open it from a list or a web service.
Have a great weekend!
-
Aug 22nd, 2005, 10:17 AM
#4
Frenzied Member
Re: ActiveX activation
go to the cmd prompt and type "regsvr32 [component file name and path]"
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
-
Aug 22nd, 2005, 08:17 PM
#5
Thread Starter
Member
Re: ActiveX activation
thanks for the reply!
I tried the command line and get an error message "DllRegister in olch2x7.ocx failed. Return code was 0x80004005.
The problem I am running into seems to be that the program I am working on was developed a few years ago and they used a charting software package called Olectra. Then, it was upgraded to Component1 Chart 7.0. I'm wondering if I don't have a license or some permission to use the ActiveX olch2x7 which is for the 2d charting.
I'm at a loss at this point : (
Duane
Last edited by KinkyWiz; Aug 22nd, 2005 at 08:19 PM.
Reason: left out info
-
Aug 23rd, 2005, 03:28 AM
#6
Frenzied Member
Re: ActiveX activation
All ActiveX controls have self registering code built in to them.VB6, for instance, automatically inserts this code when you compile the thing.
In fact ALL ActiveX components (EXE,DLL, or OCX) have this self registering code within them.
When you make a call to RegSvr32 you are essentially executing this code.
The control that you have appears to have either an error in this self registration code, or it isn't an ActiveX control.
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
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
|