Question

Locked

OCX Updating. Why need to remove, save, then re-add to make work each time

By Slayer_ ·
So I am making some OCX's. Primarily to wrap the date picker, progress bar and listview. 3 controls Microsoft keeps wrecking on us in our VBA environment. I have compiled them into a VB6 generated OCX.

However, each time the OCX is recompiled (feature creep). The properties of the control just disappear. You need to go into the VBA project, delete and re-add the custom controls for them to work again. Is there a reason this is so, can I fix it? Maybe something I need to set in the VB6 compiler to make them properly update older versions?

This conversation is currently closed to new comments.

26 total posts (Page 1 of 3)   01 | 02 | 03   Next
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Never done this but my guess would be

by Tony Hopkinson In reply to OCX Updating. Why need t ...

It's decided the reference is out of date or broken.
Build number, or guid probably

or that you need to unregister and register the ocs around each build.

Collapse -

I am trying to keep as much as possible the same per build

by Slayer_ In reply to Never done this but my gu ...

Same version number etc. Tried un-registering and then re register, tried just re-registering.

Collapse -

Bump

by Slayer_ In reply to OCX Updating. Why need t ...
Collapse -

bump

by Slayer_ In reply to Bump
Collapse -

bump

by Slayer_ In reply to bump
Collapse -

bumpity bumpity

by seanferd In reply to bump

bip bop boom

Collapse -

bump bump bump

by Slayer_ In reply to bumpity bumpity
Collapse -

bump a lump bump

by Slayer_ In reply to bump bump bump
Collapse -

Project Properties ... Requires

by oldbaritone In reply to OCX Updating. Why need t ...

It's been a long time, but I vaguely remember something you can set in project properties, and when you use "old version" calls, it needs to be explicitly added into the project.

Last time I did something like that was way back in the 98/98se days - SE was when the NTVDM was brought into the 9x model, and old DOS PEEK/POKE and INP/OUT calls didn't work any more, unless you jumped through some major hoops.

It's been a long time. My age is showing....

Pass the Geritol

:-)

Collapse -

Properties in VBA or in the VB6 OCX?

by Slayer_ In reply to Project Properties ... Re ...
Back to Microsoft Forum
26 total posts (Page 1 of 3)   01 | 02 | 03   Next

Related Discussions

Related Forums