troubleshooting Question

Winsock API in VBA

Avatar of ehout
ehout asked on
Programming Languages-OtherVisual Basic Classic
13 Comments1 Solution10851 ViewsLast Modified:

In VBA I need to use the Winsock API to connect to an IP address (IP number is known, so no resolving, just straight connect), send a textstring and receive a textstring (4K) in return. That's it.

I have seen lot's of Api stuff on this site, of which I don't need the most (I think). The server is available within our Intranet, so also no dial-up stuff etc.

Just connect, send and get some data and close connection.

Could someone help me out?

FYI, I do not wish to use the ocx for the ocx needs to be registered on the client machines. The code will be put in a office add-on (template) which resides on the server, so anyone with office 97 can use it.

Kind regards

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros