Results 1 to 4 of 4

Thread: Error 126 in Winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Angry

    Hi!
    I'm getting nervous. I've got a programm in VB which uses MS Winsock component. And in some situations i get an error 126 from this ActiveX, but i don't know why this happens. I even didn't find the description of this error. Neihter in microsoft.com nor in other websites. And i've tried a lot of sites.
    Thanks, Kirill.

  2. #2

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Angry Help!!!!!!!!!!!!

    It's something stupid - very ordinary control, but no descriptions of its errorcodes (((((((((
    ;o(

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    At an error handler to your crashing sub. Then you can get the description.
    Code:
    Sub DoSomething
        On Error Goto ErrorHandler
    
        'your code here
    
        Exit Sub
    ErrorHandler:
        Msgbox Err.Description
    End Sub
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    It doesn't help much :(

    The description for this error is an empty string - I think sometimes MS makes very stupid things. But anyway thanks for your help.
    Kirill.

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