Accessing the .Net command prompt
-
Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...
-
Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...
Read on the System.Diagnostics.Process.Start(...) method.
-
Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...
System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "regasm.exe" p.StartInfo.Arguments = "example.dll" p.Start(); Something like that should work, or come close. Custom Software, Custom Solutions. Yye Software. http://www.yyesoftware.com