R
Rethish R
Hi,
I have defined few Events in VB.Net, Register the DLL using "Register
Interop for COM" Option. Now I have referred the class in VB 6.0. That
is add the referrence for the DLL. But I am not able to declare the
Events and invoke the events in VB 6.0
Please have a look at the VB code
Private WithEvents eHandle as <NameSpace>.<ClassName>
I get an error while using the above statement declaration.
Can you please tell me where I am wrong?.
Is there any other method available to raise the events in VB 6.0
where the events are defined in VB.Net?
Any Help or Suggestion
Thanks,
Rethish
I have defined few Events in VB.Net, Register the DLL using "Register
Interop for COM" Option. Now I have referred the class in VB 6.0. That
is add the referrence for the DLL. But I am not able to declare the
Events and invoke the events in VB 6.0
Please have a look at the VB code
Private WithEvents eHandle as <NameSpace>.<ClassName>
I get an error while using the above statement declaration.
Can you please tell me where I am wrong?.
Is there any other method available to raise the events in VB 6.0
where the events are defined in VB.Net?
Any Help or Suggestion
Thanks,
Rethish