Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 November 17th, 2003, 07:27 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get NIC number when not in network

How to get NIC number of a machine when its not connected in Network? I am getting the NIC number as 00 00 00 00 00 00.
 
Old November 17th, 2003, 07:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you mean by the NIC number?
Do you mean Mac address?
What code are you using to get the NIC number?

Regards
Owain Williams
 
Old November 27th, 2003, 07:03 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes i mean MAC address, i am using NetBIOS function to retrive MAC Address.

 
Old November 27th, 2003, 08:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Take a look at Determining a Local MAC Address via NetBIOS on the VBnet Visual Basic Developers Resource Centre. The code listing worked both when I was connected to the network and when I wasn't.

Regards
Owain Williams





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation For Phone Number and Mobile Number dhruthi.ram99 Javascript How-To 12 October 30th, 2011 07:24 AM
Network Rob2001 BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 1 July 22nd, 2007 06:53 PM
Dell/Intel based NIC Teaming intermittent issue sugar Windows Server 0 November 24th, 2006 06:21 PM
need help with network identity Janziz Need help with your homework? 0 June 11th, 2006 05:47 PM





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