Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to find number of bands of an image.. Pin
suthakarkrishnan24-Mar-09 20:01
suthakarkrishnan24-Mar-09 20:01 
AnswerRe: How to find number of bands of an image.. Pin
Eddy Vluggen24-Mar-09 20:54
professionalEddy Vluggen24-Mar-09 20:54 
GeneralRe: How to find number of bands of an image.. Pin
suthakarkrishnan24-Mar-09 4:36
suthakarkrishnan24-Mar-09 4:36 
QuestionDraw rectangle and Ellipes Pin
yesu prakash24-Mar-09 3:58
yesu prakash24-Mar-09 3:58 
AnswerRe: Draw rectangle and Ellipes Pin
Xmen Real 24-Mar-09 4:04
professional Xmen Real 24-Mar-09 4:04 
AnswerRe: Draw rectangle and Ellipes Pin
dan!sh 24-Mar-09 4:23
professional dan!sh 24-Mar-09 4:23 
QuestionEquation from Excel Pin
Mkyassuo24-Mar-09 3:46
Mkyassuo24-Mar-09 3:46 
QuestionProcess().start does not respect the environment Pin
bbranded24-Mar-09 3:10
bbranded24-Mar-09 3:10 
Hello,

I'm not talking about Kyoto Protocol compliance... it appears that process().start does not respect the PATH environmental variable.

This may be the way that the function works, however; I'm storing the exe that will be started in a path that is in the PATH and attempting to start() it withotu specifying a path.

Is it possible to get start() to search the paths in the PATH variable and have no console window pop up? Apparently, the UseShellExecute property of startupinfo causes a console window to popup even if createnowindow is set to true.


string ApplicationPath = ("desktopiconcmd.exe");<br />
string ApplicationArguments = "save /y";<br />
<br />
Process ProcessObj = new Process();<br />
ProcessObj.StartInfo.FileName = ApplicationPath;<br />
ProcessObj.StartInfo.Arguments = ApplicationArguments;<br />
ProcessObj.StartInfo.UseShellExecute = true;<br />
ProcessObj.StartInfo.CreateNoWindow = true;<br />
ProcessObj.Start();<br />
ProcessObj.WaitForExit();



Thanks,

Matt
AnswerRe: Process().start does not respect the environment PinPopular
bbranded24-Mar-09 3:26
bbranded24-Mar-09 3:26 
QuestionTransparency Pin
furgo_unltd24-Mar-09 2:45
furgo_unltd24-Mar-09 2:45 
AnswerRe: Transparency Pin
King Julien24-Mar-09 3:42
King Julien24-Mar-09 3:42 
GeneralRe: Transparency Pin
furgo_unltd24-Mar-09 3:55
furgo_unltd24-Mar-09 3:55 
AnswerRe: Transparency Pin
Xmen Real 24-Mar-09 4:15
professional Xmen Real 24-Mar-09 4:15 
QuestionFading Form Pin
cdpace24-Mar-09 2:26
cdpace24-Mar-09 2:26 
AnswerRe: Fading Form Pin
Vimalsoft(Pty) Ltd24-Mar-09 2:35
professionalVimalsoft(Pty) Ltd24-Mar-09 2:35 
GeneralRe: Fading Form Pin
cdpace24-Mar-09 3:14
cdpace24-Mar-09 3:14 
AnswerRe: Fading Form Pin
musefan24-Mar-09 3:29
musefan24-Mar-09 3:29 
GeneralRe: Fading Form Pin
Xmen Real 24-Mar-09 4:07
professional Xmen Real 24-Mar-09 4:07 
GeneralRe: Fading Form Pin
musefan24-Mar-09 4:10
musefan24-Mar-09 4:10 
Questionget solution Pin
Rahad Rahman24-Mar-09 2:01
professionalRahad Rahman24-Mar-09 2:01 
AnswerRe: get solution Pin
harold aptroot24-Mar-09 2:04
harold aptroot24-Mar-09 2:04 
AnswerRe: get solution Pin
Megidolaon24-Mar-09 2:14
Megidolaon24-Mar-09 2:14 
Answerset solution Pin
musefan24-Mar-09 2:32
musefan24-Mar-09 2:32 
AnswerRe: get solution Pin
Michael Schubert24-Mar-09 2:41
Michael Schubert24-Mar-09 2:41 
GeneralRe: get solution Pin
Nagy Vilmos24-Mar-09 3:51
professionalNagy Vilmos24-Mar-09 3:51 

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.