>I am using a visual class with an imbedded third party OCX control. When I recompile the class, shouldn't the imbedded OCX also recompile?
Nope. That's pretty much what you have to do. An easier way it to not actually drop the activeX, but drop a container which does an .ADDOBJECT([activex]). Keep as many methods and properties in the container as possible. That will make it easier to upgrade to new versions.
>
>The only way that I have been able to update the control in the class is to...
>
>1) Register the new OCX
>2) Open the VCX as a table
>3) Locate the OCX control's record
>4) Copy out my custom methods for the object to a temp file
>5) Delete the record and pack the VCX
>6) Open the class
>7) Re-add the control and rename it to what it was before
>8) Close and open it again as a table
>9) Locate the new OCX record and paste in my saved methods.
>
>Too much work!
>
>Thanks.