silvercoin Posted August 26, 2005 Posted August 26, 2005 Does anyone know how to run the command prompt using vb.net. Like say, running the vbc using a code in the program. or do i need to run the command line or can i just run the compiler straight without using the command prompt. whats the process of running and app with vb.net code? thanks Quote
IngisKahn Posted August 26, 2005 Posted August 26, 2005 You can access the compiler directly from within .NET Quote "Who is John Galt?"
techmanbd Posted August 26, 2005 Posted August 26, 2005 Dim strPath As String = AppDomain.CurrentDomain.SetupInformation.ApplicationBase Dim prosTestMode As New Process With prosTestMode .StartInfo.FileName = strPath & "Test.exe" .StartInfo.CreateNoWindow = False .Start() .WaitForExit() End With This is the way I run a program instead of using the shell command. There is more to the Process as well. On Process hit F1 for help and there is more to it like attributes if you need to use them. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.