Solved

(35 pts) Editing the registry of other computers on a LAN

Posted on 2000-03-21
2
130 Views
Last Modified: 2010-05-02
I have a module that lets me easily access and edit the registry of the computer that the program is running on, but I need to know how I can Read/Write to the registry of other computers on a Local Area Network (LAN) or Wide Area Network (WAN)... assuming you have access to them.

Please provide sample code.

Thanks tons,

HATCHET
0
Comment
Question by:HATCHET
2 Comments
 
LVL 1

Accepted Solution

by:
pclement earned 35 total points
ID: 2641917
I believe you can use the RegConnectRegistry API function call.

See the RegConnectRegistry example at:
 http://www.netfokus.dk/vbadmincode/codevb.html
0
 
LVL 3

Author Comment

by:HATCHET
ID: 2691660
You're right.  You use the RegConnectRegistry Windows API function, but you need to have the remote registry service installed on the machine doing the remote calling.  This is a download from Microsoft for Windows 9x, but comes standard on Windows NT.

Thanks for the help.

HATCHET
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 53
Exit a vb6 apps when a calling it apps closes 15 46
SLMGR Switches Are Not Working On KMS Host 3 90
vbModal 12 51
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question