Results 1 to 4 of 4

Thread: A Winsock Problem

  1. #1
    Guest

    Post

    I just need help with a program

    I am trying to write a winsock client and host. But, I think my computer is missing something.

    When I put a Winsock propertie in my program such as wsClient.LocalPort = 12345
    it hightlights LocalPort and says "Method or Data Member Not Found"

    Also an error log says


    Line 17: The property name _ExtentX in wsHost is invalid.
    Line 18: The property name _ExtentY in wsHost is invalid.
    Line 19: The property name _Version in wsHost is invalid.
    Line 20: The property name RemotePort in wsHost is invalid.
    Line 21: The property name LocalPort in wsHost is invalid.

    Do you know what I am missing? and were I could get it?

    Thank You

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173

    Post

    It sounds like you might not have the Winsock control registered. Load VB, Click Project, Components and look for the Microsoft Winsock Control. Then come back and tell me if you see it.

    ------------------
    "To the glory of God!"


  3. #3
    Guest

    Post

    Yeah that worked, but every time a restart visaul basic it is unchecked agian
    Is there a way I can keep it checked?

    Thanks

  4. #4
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173

    Post

    Don't quote me on this but I think that you need to right click on the toolbox and click add tab. Then make sure that the Winsock control is checked.

    ------------------
    "To the glory of God!"


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