Results 1 to 6 of 6

Thread: I got a little problem here?!?

  1. #1

    Thread Starter
    Addicted Member Buy2easy.com's Avatar
    Join Date
    Jul 2002
    Posts
    200

    Angry 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

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    There is a problem with the .NET wrapper that is created for msn messenger control I dont remember the details, but goto the .NET section of http://www.planet-source-code.com and search for it because someone posted the information on how to fix that.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Addicted Member Buy2easy.com's Avatar
    Join Date
    Jul 2002
    Posts
    200

    Could not find it!?!

    Hey cander i was not able to find were someone had posted how to fix it all i could find was some code.....Could you give me the link to the exact page....if it is not to much trouble.

    Or if anyone else knows how i can fix the problem let me know thanks!!

  4. #4

    Thread Starter
    Addicted Member Buy2easy.com's Avatar
    Join Date
    Jul 2002
    Posts
    200
    bump

  5. #5

    Thread Starter
    Addicted Member Buy2easy.com's Avatar
    Join Date
    Jul 2002
    Posts
    200
    bump

  6. #6

    Thread Starter
    Addicted Member Buy2easy.com's Avatar
    Join Date
    Jul 2002
    Posts
    200
    bump agian...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width