Hi All,

I work on an ActiveX Exe component. So I wish it to run in "out-of-space" (in a seperate memory space), but there is a huge problem. Look at this

Private Sub Command1_Click()
Set objSomeThing = New SomeClass
objSomeThing.SomeMethod
Set objSomeThing = Nothing
End Sub

Private Sub objSomeThing_Finished()
MsgBox "Finished"
End Sub

First Problem:
So I expect my program will continue non-stop after the line

'objSomeThing.SomeMethod'

But it waits the component to finish its work. This behaviour is exactly same as ActiveX Dll.

Second Problem:
It is very strange that sometimes my method runs when I just set the object. I mean after the line

'Set objSomeThing = New SomeClass'

It finishes all the stuff that it must do later.


Please help. I am very surprised due to this behaviour.

Thanks