469,270 Members | 1,754 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Possible to get a remote computer's system information?

Okay, the basic plan:

1. Call EnumerateServers to return an array of all the computers on
the network.
available at: http://datafast.cjb.net/
2. Resolve the HostNames into IP Addresses.
How to Resolve a Hostname Into an IP Address (from Randy Birch's site:

3. Resolve the IP Addresses from 2 into MAC Addresses. (from Randy
Birch's site: www.mvps.org/vbnet)
This is really confusing... for some reason when I call this, it
doesn't return anything. Which variable holds the return value? The
"dummy" parameter that is passed By Ref? (if you read his
explanation, he says assigning the return value back to the Function
name causes the routine to crash or something... didn't understand
that at all, but them I'm not a VB Jedi...)

4. Can I pass a host name to the OSVersionInfo function and have it
retrieve the info on a remote computer, or is that only possible on a
local machine? Or do I have to use some other function? If I need
another function, anybody have a link handy? (THANKS!!!)

Okay, when I get all this information for each computer on the
network, I can write it all to a database. That part's easy... well,
I'll have to do a little bit of modifying because AcK!cess 2000 won't
do things like support control arrays, but I can use the old name
trick... all controls have explicit names ending with a numeric
suffix, so I can loop that way...

Okay, so what's the problem? MAC address doesn't seem to resolve for
some reason. Any ideas? I thought I had to grab the value of the
variable passed to the GetRemoteMACAddress function... How should I do
that? Put the variable declaration as public or something on the same
form that contains the calling routines, so I can see it there? Or
just declare it global/public and forget about it? Yes, I know that's
not really tight scoping, but I don't see a whole lot of options...

Any pointers? (Yeah, I have one, but he's out hunting with Cletis and
Billy Bob...)

Jul 17 '05 #1
0 7957

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Shankar | last post: by
3 posts views Thread by Lamont | last post: by
4 posts views Thread by Von Thep via DotNetMonster.com | last post: by
1 post views Thread by gabriel.altay | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.