Click here to Skip to main content
15,905,590 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
PIEBALDconsult14-Apr-10 5:08
mvePIEBALDconsult14-Apr-10 5:08 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard14-Apr-10 5:18
blackblizzard14-Apr-10 5:18 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
PIEBALDconsult14-Apr-10 5:29
mvePIEBALDconsult14-Apr-10 5:29 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard14-Apr-10 5:39
blackblizzard14-Apr-10 5:39 
AnswerRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
Daniel Grunwald14-Apr-10 6:03
Daniel Grunwald14-Apr-10 6:03 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? [modified] Pin
blackblizzard14-Apr-10 6:32
blackblizzard14-Apr-10 6:32 
QuestionGet output from console window (which is a different process) Pin
Programm3r13-Apr-10 20:19
Programm3r13-Apr-10 20:19 
AnswerRe: Get output from console window (which is a different process) Pin
Martin Jarvis13-Apr-10 20:44
Martin Jarvis13-Apr-10 20:44 
A quick bit of googling revealed this article: How to redirect Standard Input/Output of an application[^]

It looks like you'll need to amend your code in a similare way to below:
C#
Process start = null;
start = Process.Start(new ProcessStartInfo()
{
    FileName = @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe",
    Arguments = string.Format("-pef connectionStrings {0}", webConfiguraitonFilePath),
    CreateNoWindow = true,
    WindowStyle = ProcessWindowStyle.Hidden,
    RedirectStandardError = true,
    RedirectStandardOutput = true
});
start.Start();
StreamReader outputReader = process.StandardOutput;
StreamReader errorReader = process.StandardError;

GeneralRe: Get output from console window (which is a different process) Pin
Programm3r13-Apr-10 20:56
Programm3r13-Apr-10 20:56 
AnswerRe: Get output from console window (which is a different process) Pin
Programm3r13-Apr-10 21:11
Programm3r13-Apr-10 21:11 
AnswerRe: Get output from console window (which is a different process) Pin
PIEBALDconsult14-Apr-10 3:24
mvePIEBALDconsult14-Apr-10 3:24 
Questiondrawing semi transparent boxes over richtextbox Pin
NarVish13-Apr-10 20:16
NarVish13-Apr-10 20:16 
QuestionWindows Forms Application versus Web Application Pin
polycom12313-Apr-10 19:28
polycom12313-Apr-10 19:28 
AnswerRe: Windows Forms Application versus Web Application Pin
Programm3r13-Apr-10 20:23
Programm3r13-Apr-10 20:23 
GeneralRe: Windows Forms Application versus Web Application Pin
polycom12313-Apr-10 20:49
polycom12313-Apr-10 20:49 
AnswerRe: Windows Forms Application versus Web Application Pin
Dan Mos14-Apr-10 3:50
Dan Mos14-Apr-10 3:50 
GeneralRe: Windows Forms Application versus Web Application Pin
polycom12314-Apr-10 18:19
polycom12314-Apr-10 18:19 
GeneralRe: Windows Forms Application versus Web Application Pin
Michael J. Eber16-Apr-10 21:02
Michael J. Eber16-Apr-10 21:02 
Questionhosting control in datagrid cell Pin
Member 59031013-Apr-10 19:20
Member 59031013-Apr-10 19:20 
AnswerRe: hosting control in datagrid cell Pin
Abhinav S13-Apr-10 19:28
Abhinav S13-Apr-10 19:28 
GeneralRe: hosting control in datagrid cell Pin
Member 59031013-Apr-10 19:58
Member 59031013-Apr-10 19:58 
AnswerRe: hosting control in datagrid cell Pin
nagendrathecoder13-Apr-10 21:23
nagendrathecoder13-Apr-10 21:23 
Questionuse the mobile phone as a webcam via bluetooth Pin
aditya58413-Apr-10 19:07
aditya58413-Apr-10 19:07 
QuestionCopy Data from Server to local machine Pin
kyi kyi13-Apr-10 17:58
kyi kyi13-Apr-10 17:58 
AnswerRe: Copy Data from Server to local machine Pin
Not Active13-Apr-10 18:18
mentorNot Active13-Apr-10 18:18 

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.