Click here to Skip to main content
16,006,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Unicode supporting String functions in VB Pin
sp_ranjan8-Mar-06 17:09
sp_ranjan8-Mar-06 17:09 
AnswerRe: Unicode supporting String functions in VB Pin
Dave Kreskowiak8-Mar-06 4:43
mveDave Kreskowiak8-Mar-06 4:43 
Questionsynclock problem Pin
blucas20057-Mar-06 21:12
blucas20057-Mar-06 21:12 
AnswerRe: synclock problem Pin
Dave Kreskowiak8-Mar-06 4:42
mveDave Kreskowiak8-Mar-06 4:42 
QuestionRemote task manager Pin
x86phre3x7-Mar-06 20:34
x86phre3x7-Mar-06 20:34 
AnswerRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 0:37
mveDave Kreskowiak8-Mar-06 0:37 
GeneralRe: Remote task manager Pin
x86phre3x8-Mar-06 3:50
x86phre3x8-Mar-06 3:50 
GeneralRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 4:31
mveDave Kreskowiak8-Mar-06 4:31 
You would have to write a Windows Service application that opens a port on the remote machine and listens for commands. This service would have to be installed on every machine you needed to work with. You would also have to write a local-side application, or client app, that would find and communicate with the service on each remote machine.

You would use the Process[^] class to enumerate the Processes on the machine. How you send them back to your client app is up to you. You could either do it using text messages or you could pass serialized objects back using an XMLSerializer.

You also have another problem. A Windows Service that interacts with the desktop has to run under that machines Local System account, which gives that service more rights to the machine than God. This is why your idea is still a HUGE security risk. The app that your service launches will have those same rights! NOT A GOOD IDEA!

You could possibly use some of the code in that link you posted, but most of it will probably not help you. Most of the code you'll need will be in managing the client/server communication and command set both sides will use.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionChange VB form Color Pin
V.Sugan7-Mar-06 20:20
V.Sugan7-Mar-06 20:20 
AnswerRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 0:32
mveDave Kreskowiak8-Mar-06 0:32 
GeneralRe: Change VB form Color Pin
Tank528-Mar-06 15:06
Tank528-Mar-06 15:06 
GeneralRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 16:01
mveDave Kreskowiak8-Mar-06 16:01 
QuestionTrue DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 16:35
noshaba mariam7-Mar-06 16:35 
AnswerRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak7-Mar-06 17:24
mveDave Kreskowiak7-Mar-06 17:24 
GeneralRe: True DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 23:05
noshaba mariam7-Mar-06 23:05 
GeneralRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak8-Mar-06 0:23
mveDave Kreskowiak8-Mar-06 0:23 
Questioninserting image in sql server 2000 Pin
uglyeyes7-Mar-06 13:05
uglyeyes7-Mar-06 13:05 
AnswerRe: inserting image in sql server 2000 Pin
Steve Pullan7-Mar-06 13:41
Steve Pullan7-Mar-06 13:41 
GeneralRe: inserting image in sql server 2000 Pin
uglyeyes7-Mar-06 17:30
uglyeyes7-Mar-06 17:30 
Questionmultiple web chart in a data repeater. Pin
uglyeyes7-Mar-06 11:51
uglyeyes7-Mar-06 11:51 
AnswerRe: multiple web chart in a data repeater. Pin
Dave Kreskowiak7-Mar-06 13:53
mveDave Kreskowiak7-Mar-06 13:53 
QuestionDatagrid custom columnstyle problem Pin
David M J7-Mar-06 11:48
David M J7-Mar-06 11:48 
QuestionCustom .NET control and collection persistence Pin
rhorc7-Mar-06 11:40
rhorc7-Mar-06 11:40 
QuestionClosing Main Form Pin
jdjd11187-Mar-06 7:24
jdjd11187-Mar-06 7:24 
AnswerRe: Closing Main Form Pin
Chatura Dilan7-Mar-06 14:19
Chatura Dilan7-Mar-06 14:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.