-
Hi!
I've written (assembled) a control (OCX) and need a way to unload it from within itself.
When the control completes it's task I need to go away and release the memory it allocated.
I've tried "Unload.Me" but that doesn't work. :-(
Any Ideas?
Thanks,
Ken
-
The only real way to do it is probably to run a shell and run regsvr32.exe /u <filename>
the program is located inside windows system i believe.
but you can search for it to make sure.
-
Sorry, after reading your post again, I think I misunderstood your problem. I don't believe there's a way to "unload" an OCX at run time. That's like getting rid of your commondialog box from your form halfway through your program?