VB How-ToAsk your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
What do you mean set an IP address? As in set up the computer and set the Computer's IP address? Set an IP address in a device? I assume you are using VB 6.0. What Operating System? My guess is you will need to use Win32 APIs.
Oops forgot to include the link. This is to the MSDN articles on IP address APIs: http://msdn.microsoft.com/library/de...tocol.asp.
Unfortunately, it is really for C++ (which is I think the better language for working this deep in windows), but if you know a little C++ it is easy enough to figure out. The Declare statements can be gotten from the API viewer included with VB.