tcox8 Posted August 15, 2010 Share Posted August 15, 2010 Hello all, I am working on a small project to do a big task. The object is to do the following. There are 5 computers. Each computer will have my program installed on them. The program is a visible queue (kind of like a print job queue in windows). When one of the computers adds an update to the queue I need all of them to update. i.e. (Sticking with the windows print queue example) Computer 1 sends a job to the queue, then the queue is updated across all machines. Can anyone explain to me in simple terms how this is done? I appreciate any help given. Thanks! "There are only 10 types of people in the world: Those who understand binary, and those who don't" Link to comment Share on other sites More sharing options...
Bert Posted August 16, 2010 Share Posted August 16, 2010 First way to do it: You need to have one PC be the server PC and the rest to be a client PCs. What I mean by this is you have a file on one PC that all the PCs read every few moments. Any of the PCs can write to this file. Make it an INI file. When one of the computers changes the file INI entry, the other ones will read the entry and see the change. Look at the picture to see what I have in mind Second way to do it: Have each PC host a file called setting.ini. All other PCs the setting.ini on each PC. If any of the PCs change their ini entry, the other PCs do what you want. Much harder to do. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
tcox8 Posted August 16, 2010 Author Share Posted August 16, 2010 First way to do it: You need to have one PC be the server PC and the rest to be a client PCs. What I mean by this is you have a file on one PC that all the PCs read every few moments. Any of the PCs can write to this file. Make it an INI file. When one of the computers changes the file INI entry, the other ones will read the entry and see the change. Look at the picture to see what I have in mind Second way to do it: Have each PC host a file called setting.ini. All other PCs the setting.ini on each PC. If any of the PCs change their ini entry, the other PCs do what you want. Much harder to do. Thanks for the prompt response! what I was looking at doing was similar. I was thinking of using the excel udf to write to and read from a server file (data will be in an array with columns and rows). However I was wondering if that would kill the processor and/or network having these computers reading/writing to that file all day long. Any ideas? "There are only 10 types of people in the world: Those who understand binary, and those who don't" Link to comment Share on other sites More sharing options...
tcox8 Posted August 17, 2010 Author Share Posted August 17, 2010 bump "There are only 10 types of people in the world: Those who understand binary, and those who don't" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now