Unload an ActiveX EXE
Posted on 1999-01-28
Solved one problem, created another ;-)
Anyone know how to kill an ActiveX EXE control?
' This is how I load it
'It's ActiveX EXE so you can't unload it like
'I tried putting this in Class module
Public Sub DoEndIt()
'And then this in the ActiveX TestForm
Public Sub Form_Terminate()
TestForm.Timer1.Enabled = False
' And this in the Class Module.
' If you make it Public and call it, nothing happens
Private Sub Class_Terminate()
On Local Error Resume Next
Set TestForm = Nothing
But none of that works. I've read till I'm blue
in the face. The VB5 Online books arn't very clear,
and offer little help. How hard could it be?
(I guess I shouldn't ask!). Any Ideas?