![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a very interesting problem Basically i have made a COM Dll in VB.Net (.Net 2.0) so that it can interact with my existing Excel VBA Code. I have used ComSourceInterfaces to basically source a single Event back to my VBA Code. Note that the delegate has 3 parameters in total of which 1 is a Arrray of custom type declared in my DLL and One is a simple String and One is a System.Exception type. The problem is if i declare the class as withevents and then raiseevent it gives an error saying type mismatch.. It does not even raise that event and fails on the line RaiseEvent inside the .Net Dll My Analysis I think the problem is that Excel VBA , when is is sourcing events is not able to "see" the custom parameters.. Any one have a work around for this? Regds Shrey |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |