|
-
Mar 29th, 2001, 11:21 PM
#1
Thread Starter
New Member
Hi!
This is the first time I create an OCX.
I compiled it with the 'Binary Compatibility' option as I learned on your site.
I used it in a Standard Exe Project and compiled it. Everything works fine.
Now I need to install it on another computer.
When I finally run it, it shows the following error:
"Cannot load component Grille from GrillePerso.ocx. Your version may be outdated. Check if you are using the one that came with the application." (or something like that, cause I user the french version).
I looked in the registry to check if something was different between both computers and everything looks the same (I was looking for a different version or class ID).
I even opened the form files (.frm) in Notepad to be sure that the class id was right and it was.
I have to make it work before saturday morning. I know it's about time I ask for some help... I spent the whole week thinking about it.
Can somebody help me?
Thanks!
-
Mar 30th, 2001, 01:48 PM
#2
Junior Member
salut,
Did you try running:
regsvr32 /u blah.ocx
Then:
regsvr32 blah.ocx
On the target computer? That will uninstall and then install your OCX in case something went wrong in your initial installation of it.
-
Mar 30th, 2001, 02:01 PM
#3
Thread Starter
New Member
Yes I did but it still gives me the same error message.
The weird thing is that my ocx's version is 6.1 and the application that uses it looks for the version 3.0.
Here's how I learned that:
I added a public variable, compiled my ocx, then removed the variable and re-compiled again, so I could see the new version used by my application. It said "... upgrading to version 3.0". But in my ocx project properties it's written version 6.1.
I even looked in the "Depends" Visual-Studio tool, opened my ocx and at the bottom I could see the version of my ocx and it was 6.1.0.4
There must have been a problem with the versions.
I started over a new ocx with the same components, I have no more time to spend on this problem cause I need it to work on tommorow morning, but still, if you think of something let me know. Hope I won't have the same troubles with the new one.
Thanks again
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
|