Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JustinFarms

    VFP COM servers and Winsock

    Olaf, I worked around the VFPwinsock and used the "gethostbyname IN ws2_32" and "gethostname IN ws2_32" to populate the LocalHostName and LocalIP. Hence it is working for me. By the way, I got the last version of the VFPwinsock from the official site and has since edited the custom control...
  2. JustinFarms

    VFP COM servers and Winsock

    Olaf, I am leaning towards the use of the following VFP socket that you referred to. I have on a custom object of the following codes. I was hoping that after it is initialized that I could READ the current PC IP address, HostName and Port. I am only able to READ the Port. When my clients...
  3. JustinFarms

    VFP COM servers and Winsock

    Gentlepeople One more thing. I tried Olaf's idea of using the VFPsock. I created a custom class and created methods (for procedures) and properties according to the code the page that was referenced. The Com Server load well with no errors. However, when I tried to read the Ipaddres and...
  4. JustinFarms

    VFP COM servers and Winsock

    Hey Olaf, The Ole Error is coming from Winsock you say. Hmmm. What is the timeout? I see no such property anywhere on the control. Thanks for your efforts.
  5. JustinFarms

    VFP COM servers and Winsock

    Olaf, I tried your suggestion of using a 'Form' container instead and got "OLE error code 0x80004005: Unspecified error." Using a different Winsock control now is a bit tasking as I have codes in the Winsock.ocx already working fine. Thanks, I will keep trying.
  6. JustinFarms

    VFP COM servers and Winsock

    Dan,Olaf Thanks for your quick response. The error is "Object class is invalid for this container." That is strange though since it works well when I run the Application's EXE. I will put it on a Form Class and will post the results later today. Thanks very much.
  7. JustinFarms

    VFP COM servers and Winsock

    Gentle people, it is my first post here. It is also my first time trying to build a VFP COM server. Everything seem to be going on fine until it came across an instruction to instantiate a 'winsock' object. I use the winsock object to get info on IP Address and to do some Remote Control of...

Part and Inventory Search

Back
Top