I got a little problem here?!?
ok i am writing a program and want to be able to recieve msn messages in it but i get an error and it points to this line of code
Friend WithEvents objMessenger as new messenger.msgrobject()
now suppose i spelled everything right why would that statement throw an error
it also does it if the code is like this
friend with events objMessenger as messenger.msgerobject
me.objMessenger=new messenger.msgerobject()
if you know why it throws an error and how i can fix it let me know thanks
this is what the error says:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in interop.messenger.dll
Additional information: Exception from HRESULT: 0x80040202.
thanks for any help you can give