Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default ADSysteminfo

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ADSysteminfo

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"