Click here to Skip to main content
15,925,868 members
Home / Discussions / C#
   

C#

 
QuestionRe: how to track the path of applications running in task manager? Pin
gtag27-Aug-09 20:52
gtag27-Aug-09 20:52 
AnswerRe: how to track the path of applications running in task manager? Pin
stancrm27-Aug-09 22:34
stancrm27-Aug-09 22:34 
QuestionRe: how to track the path of applications running in task manager? Pin
gtag27-Aug-09 23:12
gtag27-Aug-09 23:12 
AnswerRe: how to track the path of applications running in task manager? Pin
stancrm27-Aug-09 23:25
stancrm27-Aug-09 23:25 
AnswerRe: how to track the path of applications running in task manager? Pin
Luc Pattyn28-Aug-09 0:51
sitebuilderLuc Pattyn28-Aug-09 0:51 
QuestionC# Application on start up VISTA .. Pin
UBX27-Aug-09 17:37
UBX27-Aug-09 17:37 
AnswerRe: C# Application on start up VISTA .. Pin
Xmen Real 27-Aug-09 17:57
professional Xmen Real 27-Aug-09 17:57 
Questioncant get standardoutput when calling devenv from System.Process Pin
chuckdawit27-Aug-09 14:44
chuckdawit27-Aug-09 14:44 
I have a method that creates a new process and calls the command line. I can get standardoutput into the procResults strings for most of my calls. But for some reason when I use this method to call devenv to build a c# solution I don't get anything in standardoutput. It seems like it finishes the call because all new files are built and I can see the last modified date is the current time, but the procResults string is empty. Here is my call:
'devenv alphacetui.sln /rebuild "debug|x86"'

it seems like it finishes ok because I get a p.Exitcode = 0;
Does anyone have experience calling devenv from system.process or know why I'm not getting output?
when I run devenv alphacetui.sln /rebuild "debug|x86" from the command line it works fine and I can see the output in the command window.

public void method()
{
Process p = new Process();
p.StartInfo.FileName = "devenv";
p.StartInfo.Arguments = "alphacetui.sln /rebuild \"debug|x86\"";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.Start();
string procResults = p.StandardOutput.ReadToEnd();
p.WaitForExit();
}
General.loadXml throwing exception Pin
illuminatisucks27-Aug-09 7:54
illuminatisucks27-Aug-09 7:54 
GeneralRe: .loadXml throwing exception Pin
PIEBALDconsult27-Aug-09 8:01
mvePIEBALDconsult27-Aug-09 8:01 
GeneralRe: .loadXml throwing exception Pin
illuminatisucks27-Aug-09 8:04
illuminatisucks27-Aug-09 8:04 
GeneralRe: .loadXml throwing exception Pin
PIEBALDconsult27-Aug-09 8:08
mvePIEBALDconsult27-Aug-09 8:08 
GeneralRe: .loadXml throwing exception Pin
Ian Shlasko27-Aug-09 8:02
Ian Shlasko27-Aug-09 8:02 
GeneralRe: .loadXml throwing exception Pin
illuminatisucks27-Aug-09 8:11
illuminatisucks27-Aug-09 8:11 
GeneralRe: .loadXml throwing exception Pin
illuminatisucks27-Aug-09 8:38
illuminatisucks27-Aug-09 8:38 
GeneralRe: .loadXml throwing exception Pin
harold aptroot27-Aug-09 8:44
harold aptroot27-Aug-09 8:44 
GeneralRe: .loadXml throwing exception Pin
illuminatisucks27-Aug-09 8:48
illuminatisucks27-Aug-09 8:48 
QuestionPreventing the user from Ejecting the CD during crucial Process. [modified] Pin
tyranin27-Aug-09 6:30
tyranin27-Aug-09 6:30 
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Luc Pattyn27-Aug-09 7:25
sitebuilderLuc Pattyn27-Aug-09 7:25 
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
DaveyM6927-Aug-09 7:51
professionalDaveyM6927-Aug-09 7:51 
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 7:56
mvePIEBALDconsult27-Aug-09 7:56 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Dan Neely27-Aug-09 8:25
Dan Neely27-Aug-09 8:25 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 8:34
mvePIEBALDconsult27-Aug-09 8:34 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Dan Neely27-Aug-09 8:51
Dan Neely27-Aug-09 8:51 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 9:12
mvePIEBALDconsult27-Aug-09 9:12 

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.