Synchronizing two screens

  • Thread starter Thread starter Pallavi
  • Start date Start date
P

Pallavi

Hi..

I posted this earlier to one of the threads but recieved no reply. If
anybody has any idea about this, please do let me know. i have to
achieve this within next 2-3 days.


I am building a project as vb.net windows application. I want to open
any file through the form( using system.diagnostics.process)...and
synchronize that file with everybody else who accesses it at that
time. Right now, I just have to make it locally. (For eg. I open a
text file through the vb form and open the same file by going in
explorer and double clicking it) Now whatever happens in one window
should happen with the other simulataneously (it would be wonderful if
i could also have a master/slave relationship)..

I would be thankful for any ideas or pointers from anybody about how
to achieve this.

Regards
Pallavi
 
Pallavi said:
(For eg. I open a
text file through the vb form and open the same file by going in
explorer and double clicking it) Now whatever happens in one window
should happen with the other simulataneously (it would be wonderful if
i could also have a master/slave relationship)..

I really doubt that this would be possible. Once you've open, let's say a
text file, with Process.Start(), your file is opened in Notepad and you have
no more control over it. And how could you check that somebody else is
opening the same file with Windows Explorer afterwards??? Even if you could
do it, how would you be able to monitor where the user is placing the mouse
pointer in the file, which key he is pressing.... in order to replicate that
in the first window that you have opened with Process.Start().

Maybe with automation? But not all applications support automation and i
don't even know if this would be possible. What are you trying to do
exactly?
 
Have you looked at the FileSystemWatcher?

Elp said:
I really doubt that this would be possible. Once you've open, let's say a
text file, with Process.Start(), your file is opened in Notepad and you have
no more control over it. And how could you check that somebody else is
opening the same file with Windows Explorer afterwards??? Even if you could
do it, how would you be able to monitor where the user is placing the mouse
pointer in the file, which key he is pressing.... in order to replicate that
in the first window that you have opened with Process.Start().

Maybe with automation? But not all applications support automation and i
don't even know if this would be possible. What are you trying to do
exactly?
 
Back
Top