Wrox Programmer Forums
|
VB How-To Ask 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
 
Old September 12th, 2003, 02:45 AM
Registered User
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set IP

Hi every body
I have some problem. You know I want to set IP address using visual basic. Please tell me how to do this ? thanks

StevenThu
 
Old September 12th, 2003, 07:11 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Yehuda
 
Old September 12th, 2003, 07:20 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
XPath: set operation with a disjoint node set rich_unger XSLT 7 May 6th, 2008 09:24 AM
Help me i must Get IP Address pla_2 C# 2005 2 October 12th, 2006 07:51 AM
how i set charcter set to a connection yoord BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 23rd, 2005 07:47 AM
IP mani_he Beginning PHP 4 November 8th, 2004 09:53 PM
How to set DOM character set sonicDace XML 0 May 27th, 2004 08:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.