J
jennyq
hi all,
I am just playing with the event sink sample on MSDN, but I found when I
create the instance in VB client, there is an error saying "method
'myButton' of object 'form1'failed, errorcode is 8007002. I don't know how
to fix it so far.
The sample is
http://msdn.microsoft.com/library/d...e/html/cpconraisingeventshandledbycomsink.asp
I use the c# sample
1) I specified a key file for the library
2) I used regasm and gacutil to export/register the typelib and intall it
into GAC
3) My VB code is almost the same as the sample except I added From_Load, in
which class_initialize is called(actually I am not sure whether this is
right way to do it because of my poor VB knowledge).
Any help are appreciated!
Qiu
I am just playing with the event sink sample on MSDN, but I found when I
create the instance in VB client, there is an error saying "method
'myButton' of object 'form1'failed, errorcode is 8007002. I don't know how
to fix it so far.
The sample is
http://msdn.microsoft.com/library/d...e/html/cpconraisingeventshandledbycomsink.asp
I use the c# sample
1) I specified a key file for the library
2) I used regasm and gacutil to export/register the typelib and intall it
into GAC
3) My VB code is almost the same as the sample except I added From_Load, in
which class_initialize is called(actually I am not sure whether this is
right way to do it because of my poor VB knowledge).
Any help are appreciated!
Qiu