Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > File I/O and Registry > Registry different PC


Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2005, 01:32 PM
NekoManu's Avatar
NekoManu NekoManu is offline
Regular
 
Join Date: Jun 2004
Location: Belgium
Posts: 79
Default Registry different PC


I have a small program that can be installed on different PC(s). On each PC the program is installed I want a registry key with the name and the refresh rate.

Form the main program I want to "send" the name and refresh rate to that PC.

So basically I want to write a value in the registry of another PC.

Is that possible or am I dreaming?
Reply With Quote
  #2  
Old 10-06-2005, 06:31 PM
couch612's Avatar
couch612 couch612 is offline
Senior Contributor
 
Join Date: Sep 2002
Location: Brisbane, Australia
Posts: 1,209
Default

I'm not sure what you are asking.

Do you want the program to write a value to the registry of the machine it is running on, or do you want it to write to the registry on a remote machine?
__________________
Cheers,
Peter W.
Reply With Quote
  #3  
Old 10-06-2005, 07:07 PM
webbone's Avatar
webbone webbone is offline
Hydrogen Powered

Administrator
* Expert *
 
Join Date: Jul 2003
Location: Sacramento, CA
Posts: 6,090
Default

Assuming you have the permissions, you could establish some sort of inter-process link (over network, etc.) between your "main" program and the "slave" programs on the remote PCs. This link could then deliver commands to the slave programs which would direct them to do the appropriate writing to the registry.

You would, of course, have to have written such functionality into the slave programs, but it sounds like this is a situation where you can do that.

For some more information on inter-process communications check out our Tutor's Corner - there are several examples based on different technologies.
__________________
"With the appearance of the AddressOf operator, an entire industry has developed among authors illustrating how to do previously impossible tasks using Visual Basic. Another industry is rapidly developing among consultants helping users who have gotten into trouble attempting these tasks." -Dan Appleman
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->