Needs to disable the cmd pop up when i call vbs through c#
<p>I used the following lines in the vbs script, which called .vbs from the C#.</p>

<pre><code>objShell.Run("net stop msdtc"),1,True
objShell.Run("net start msdtc"),1,True
</code></pre>

<p>In c$, the follwoing code used for calling .vbs with administrative privillage. Even though i set the WindowStyle to hidden the cmd pop up opens at runtime. I dont want to open pop up. please help me</p>

<pre><code>ProcessInfo = new ProcessStartInfo("cmd.exe", "/c " + @"cscript.exe DTCSECURITY.vbs");
ProcessInfo.WindowStyle = ProcessWindowStyle.Hidden;                
ProcessInfo.UserName = @"administrator";
ProcessInfo.Password = StringToSecureString("password12$");
ProcessInfo.WindowStyle = ProcessWindowStyle.Hidden;

process = Process.Start(ProcessInfo);
process.WaitForExit();
</code></pre>
