Open remote machine application
<p>i'm trying to open remote application(notepad) on windows 7 64.
this is what i tried:</p>

<pre><code>object[] theProcessToRun = {"notepad"};
ConnectionOptions theConnection = new ConnectionOptions();
theConnection.Username = "user";
theConnection.Password = "pass";
ManagementScope theScope = new ManagementScope("\\\\" + ip + "\\root\\cimv2",
                                     theConnection);
ManagementClass theClass = new ManagementClass(theScope, 
                 new ManagementPath("Win32_Process"), new ObjectGetOptions());
theClass.InvokeMethod("Create", theProcessToRun);
</code></pre>

<p>This code open the notepad only in the task manager.
how can i make the notepad be visable.</p>

<p>thanks.</p>
