Click here to Skip to main content
15,923,376 members
Home / Discussions / C#
   

C#

 
GeneralRe: URL's C# Pin
jas0n2326-Nov-08 18:47
jas0n2326-Nov-08 18:47 
AnswerRe: URL's C# Pin
dan!sh 26-Nov-08 18:37
professional dan!sh 26-Nov-08 18:37 
AnswerRe: URL's C# Pin
Thomas Weller26-Nov-08 19:51
Thomas Weller26-Nov-08 19:51 
QuestionHow to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
tonyjsebastian126-Nov-08 17:35
tonyjsebastian126-Nov-08 17:35 
AnswerRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Christian Graus26-Nov-08 17:53
protectorChristian Graus26-Nov-08 17:53 
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
tonyjsebastian126-Nov-08 18:01
tonyjsebastian126-Nov-08 18:01 
AnswerRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Luc Pattyn26-Nov-08 18:00
sitebuilderLuc Pattyn26-Nov-08 18:00 
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
tonyjsebastian126-Nov-08 18:18
tonyjsebastian126-Nov-08 18:18 
hello, Luc Pattyn

thanks for u r reply to my question

the problem what i faced is in my c# application is i want to make a file to be get executed by calling the cse.exe.
for this what i did is in the code below

System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.UseShellExecute = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\csc.exe";

the pproblem is i shfted the application to a new system and the code does not worked thr.

i came to know that the cse.exe was not in that systems C drive...

so want to find how to get the path for the csc.exe fie ...

i think u understood what i exactly mean???


Mikro1980 helped me now with a code

string csc = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()+"csc.exe".ToString();

i think this would help in my case... i am trying on that

any way
Thanks & Regards
Tony
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Luc Pattyn26-Nov-08 19:11
sitebuilderLuc Pattyn26-Nov-08 19:11 
Questionfetching the byte[] value from hashtable and display as image Pin
renuga529826-Nov-08 17:30
renuga529826-Nov-08 17:30 
AnswerRe: fetching the byte[] value from hashtable and display as image Pin
Christian Graus26-Nov-08 17:54
protectorChristian Graus26-Nov-08 17:54 
GeneralRe: fetching the byte[] value from hashtable and display as image Pin
renuga529826-Nov-08 18:48
renuga529826-Nov-08 18:48 
AnswerRe: fetching the byte[] value from hashtable and display as image Pin
Guffa26-Nov-08 20:17
Guffa26-Nov-08 20:17 
QuestionclsADONET? Pin
dec8226-Nov-08 15:27
dec8226-Nov-08 15:27 
QuestionEngineering Design Pin
viciouskinid26-Nov-08 13:05
viciouskinid26-Nov-08 13:05 
AnswerRe: Engineering Design Pin
Christian Graus26-Nov-08 13:11
protectorChristian Graus26-Nov-08 13:11 
GeneralRe: Engineering Design Pin
PIEBALDconsult26-Nov-08 13:35
mvePIEBALDconsult26-Nov-08 13:35 
GeneralRe: Engineering Design Pin
Christian Graus26-Nov-08 13:35
protectorChristian Graus26-Nov-08 13:35 
GeneralRe: Engineering Design Pin
Mycroft Holmes26-Nov-08 16:11
professionalMycroft Holmes26-Nov-08 16:11 
GeneralRe: Engineering Design Pin
Luc Pattyn26-Nov-08 16:56
sitebuilderLuc Pattyn26-Nov-08 16:56 
GeneralRe: Engineering Design Pin
Mycroft Holmes26-Nov-08 17:10
professionalMycroft Holmes26-Nov-08 17:10 
GeneralRe: Engineering Design Pin
Luc Pattyn26-Nov-08 17:26
sitebuilderLuc Pattyn26-Nov-08 17:26 
GeneralRe: Engineering Design Pin
viciouskinid26-Nov-08 18:08
viciouskinid26-Nov-08 18:08 
QuestionSave and Save As for this xml/c# code Pin
Chris Kentlea26-Nov-08 8:59
Chris Kentlea26-Nov-08 8:59 
AnswerRe: Save and Save As for this xml/c# code [modified] Pin
Pedram Behroozi26-Nov-08 9:19
Pedram Behroozi26-Nov-08 9: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.