PDA

Click to See Complete Forum and Search --> : A Winsock Problem


Dec 10th, 1999, 10:08 PM
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

vbsquare
Dec 11th, 1999, 04:15 AM
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!"

Dec 11th, 1999, 08:00 AM
Yeah that worked, but every time a restart visaul basic it is unchecked agian
Is there a way I can keep it checked?

Thanks

vbsquare
Dec 11th, 1999, 06:37 PM
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!"