|
-
Sep 27th, 2004, 03:32 AM
#1
Thread Starter
Hyperactive Member
ActiveX control stops loading on machine sometimes
On some machines, one of my ActiveX controls stops installing. For instance, if I remove the control from a machine, and then go back to the web page with the control, it asks me if I want to install it, but then doesn't install it.
Then if I go back to the page again, and it still asks me if it wants to install, but then again, still doesn't install it.
This is purely random on some machines, but the problem is now this control will no longer work on these machines.
How can I fix this?
-
Sep 29th, 2004, 03:58 PM
#2
Please explain exactly what you mean by this:
I remove the control from a machine,
-
Sep 30th, 2004, 02:58 AM
#3
Thread Starter
Hyperactive Member
It means I remove the installed ActiveX control from the PC.
-
Sep 30th, 2004, 08:18 AM
#4
There is more than 1 way this can be accomplished. You can delete it from disk, or you can unregister it from the registry, or a combination of both.
Let me know.
-
Sep 30th, 2004, 10:16 AM
#5
Thread Starter
Hyperactive Member
Let me rather give an update on this problem.
It seems like since I changed some code in my ActiveX control, the control doesn't load up properly on some PC's.
The control doesn't even install. I.e every time you go back to the page it asks if you want to install it, but it doesn't install. (It doesn't appear in the Windows\Downloaded Program Files folder.
This is only happening on some PC's. Others the control works perfectly. Yet in every sub and function in my control I have handled error's and msgbox'd any errors that popup, but no errors do popup. And the control just shows a blank X.
This control of mine always worked, only lately, after the latest code change, has it started this random behaviour.
But my question, why should this happen on only some machines? And not all? There is obviously not a code problem, otherwise it wouldn't work at all, am I right?
What else could I check?
-
Sep 30th, 2004, 11:35 AM
#6
If you bind a client application (COM consumer) to an activex control, then you cannot change the COM control.
If you do, then you will have to re-register the new control with the OS. Maybe parts of this process have taken place on some machines and not on others.
-
Oct 1st, 2004, 01:10 AM
#7
Thread Starter
Hyperactive Member
No, thats not the problem I'm having. I've added and removed controls using the Downloaded Program Files folder successfully for ages.
It seems now on certain PC's even after creating a control from scratch, that its not loading on certain PC's. This is with a totally new control.
I'm going to install VB6 on another PC and build the control from there, I fear something may be corrupt with my vb6, the package & deployment wizard, or something.
-
Oct 1st, 2004, 06:07 AM
#8
Thread Starter
Hyperactive Member
Well, I installed VB6 on the laptop and compiled the control from there and now everything works as it should.
Guess something did get corrupt in my VB
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
|