Thread: ADSysteminfo
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tim Rush Tim Rush is offline
external usenet poster
 
Posts: 27
Default ADSysteminfo

I'm attempting to read them. Was not aware I could even write them back.
Especially on domain protected systems.
Just need to know which references to use for this library.


"Rick Rothstein (MVP - VB)" wrote:

I'm pretty sure

CN = Environ("computername")

will assign the name of the computer your code is executing on to the CN
variable.

Rick


"Tim Rush" wrote in message
...
I've used this in Excel before, but am not sure what library was necessary
to
make it work. Can anyone clue me in?

Dim objSysInfo As Object
Set objSysInfo = CreateObject("ADSystemInfo")

I'm looking to pull in some system information off the machines running
the
file and logging it. ojbSysInfo.coomputername for example would give me
the full CN=.... response.

Tim