Click here to Skip to main content
15,886,806 members
Home / Discussions / C#
   

C#

 
AnswerRe: CMD.exe help Pin
saurabh sahay11-Jun-09 5:01
saurabh sahay11-Jun-09 5:01 
GeneralRe: CMD.exe help Pin
soloforce11-Jun-09 5:51
soloforce11-Jun-09 5:51 
GeneralRe: CMD.exe help Pin
saurabh sahay11-Jun-09 5:58
saurabh sahay11-Jun-09 5:58 
GeneralRe: CMD.exe help Pin
saurabh sahay11-Jun-09 5:59
saurabh sahay11-Jun-09 5:59 
GeneralRe: CMD.exe help Pin
soloforce11-Jun-09 6:55
soloforce11-Jun-09 6:55 
GeneralRe: CMD.exe help Pin
EliottA11-Jun-09 7:51
EliottA11-Jun-09 7:51 
AnswerRe: CMD.exe help Pin
saurabh sahay11-Jun-09 8:11
saurabh sahay11-Jun-09 8:11 
GeneralRe: CMD.exe help Pin
soloforce11-Jun-09 9:58
soloforce11-Jun-09 9:58 
Ok I broke the code down and put it into a click event as follows

ProcessStartInfo ps = new ProcessStartInfo();
ps.CreateNoWindow = true;
ps.UseShellExecute = false;
ps.RedirectStandardError = true;
ps.FileName = "/C" + "\"\"C:\\Program Files\\RBS ThinTV\\PLINK.EXE\"";
ps.Arguments = (@"appliance@%ThinConnectedFrom%" + " " + "-pw appliance" + " " + "\"killall -q vlc; export DISPLAY=Blush | :O .0; vlc --video-on-top --key-vol-up 100 rtsp://stfamtv0002/streama\"\"");
System.Diagnostics.Process proc = Process.Start(ps);

Not sure but now its getting a Win32Excepetion was unhanded error.... on this line System.Diagnostics.Process proc = Process.Start(ps);

The command string is perfect.... its really weird.
GeneralRe: CMD.exe help Pin
saurabh sahay11-Jun-09 10:09
saurabh sahay11-Jun-09 10:09 
GeneralRe: CMD.exe help Pin
Skymir11-Jun-09 10:16
Skymir11-Jun-09 10:16 
GeneralRe: CMD.exe help Pin
saurabh sahay11-Jun-09 10:18
saurabh sahay11-Jun-09 10:18 
GeneralRe: CMD.exe help Pin
soloforce12-Jun-09 1:48
soloforce12-Jun-09 1:48 
GeneralRe: CMD.exe help Pin
saurabh sahay12-Jun-09 1:57
saurabh sahay12-Jun-09 1:57 
GeneralRe: CMD.exe help Pin
soloforce12-Jun-09 2:07
soloforce12-Jun-09 2:07 
GeneralRe: CMD.exe help Pin
saurabh sahay12-Jun-09 2:11
saurabh sahay12-Jun-09 2:11 
GeneralRe: CMD.exe help Pin
soloforce12-Jun-09 2:41
soloforce12-Jun-09 2:41 
AnswerRe: CMD.exe help Pin
saurabh sahay11-Jun-09 10:15
saurabh sahay11-Jun-09 10:15 
QuestionReading tab delimited xls file into a dataset Pin
gsdeepak11-Jun-09 4:29
gsdeepak11-Jun-09 4:29 
AnswerRe: Reading tab delimited xls file into a dataset Pin
Dave Kreskowiak11-Jun-09 5:22
mveDave Kreskowiak11-Jun-09 5:22 
AnswerRe: Reading tab delimited xls file into a dataset Pin
moon_stick11-Jun-09 23:55
moon_stick11-Jun-09 23:55 
GeneralCommon encryption method in PHP and C# Pin
SimpleData11-Jun-09 4:10
SimpleData11-Jun-09 4:10 
GeneralRe: Common encryption method in PHP and C# Pin
Ennis Ray Lynch, Jr.11-Jun-09 4:16
Ennis Ray Lynch, Jr.11-Jun-09 4:16 
GeneralRe: Common encryption method in PHP and C# Pin
SimpleData11-Jun-09 4:37
SimpleData11-Jun-09 4:37 
GeneralRe: Common encryption method in PHP and C# Pin
Vasudevan Deepak Kumar11-Jun-09 4:41
Vasudevan Deepak Kumar11-Jun-09 4:41 
GeneralTo be honest Pin
Ennis Ray Lynch, Jr.11-Jun-09 4:43
Ennis Ray Lynch, Jr.11-Jun-09 4:43 

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.