Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry of other Workstations

Status
Not open for further replies.

steve0001

IS-IT--Management
Jun 14, 2005
3
0
0
AU
Hi !

Is it possible to access the Registry of antother Ws in a Win2000 pro Network by Using API (e.g. RegSetValueEx) ?

My vba application uses some registry settings, and has to be installed on several workstations.

thx

Steve.
 
Steve:
Are you using a Windows Installer? With Wise for Windows Installer, you can have the installation check various registry keys. If price is a concern, you can download Orca and the current Windows Installer and make the changes yourself. Orca doesn't have much of a front end, but once you learn where Wise and Installshield write there items that their front ends control, it isn't too bad!

Mike
 
Hi Mike,

no, I'm not using a Installer, wanted to write it myself.
I found an API called "RegConnectRegistryA", I'll try this onw, perhaps ist works,

but thanks a lot,

Steve

(Sorry for the bad english...)
 
Hi Steve,

You need to use RegConnectRegistry
(LPTSTR lpMachineName, HKEY hKey, PHKEY phkResult)

to access a Remote Machines Registry.

HTH


William
Software Engineer
ICQ No. 56047340
 

Hi William,

it works with RegConnectRegistry !

RegConnectRegistryA was the name of the
function in vba, using RegConnectRegistry.

Thanks a lot,

Steve.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top