ActiveX Control

Right now, I'm using Visual Studio 6.0 MFC....

I find it very troublesome to close the application & delete the *.ocx.... And re-start the application just to re-link the ocx.... Any better way of doing it???
Who is Participating?
psdavisConnect With a Mentor Commented:
Actually, we never have to here.  If you are finding that you have to, you might have the resource file open in edit mode or an application currently is running that is using the ocx.  It's our bread and butter here and whenever it doesn't link, it's one of the two.

I am not sure I understand your Q

but I have a similar sounding problem.

I am writing OCX in VC, and testing in VB App.  Can't recompile OCX when VB Test App is open.

Therefore I have VB running too, and a dummy project in VB.  Before compiling OCX in VC, I flip to VB, press Alt-F-2 to load a dummy project, Flip to VC, compile OCX, then flip to VB and press Alt-F-2 to reload the VB test app.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.