I am trying to execute a command line EXE (busobj.exe) with required parameters through VB.Net. Because of unknown reason the report is not being generated. Here's the commandline:
The same command is working perfectly at command prompt. Dont know why its not working through VB.Net. I tried using Process.Start instead of Shell. But no positive outcome.Code:Shell(txtBOExecutable.Text & _ " -user " & txtUserName.Text & _ " -pass " & txtPassword.Text & _ " -system " & txtDomain.Text & _ " -auth " & txtAuthentication.Text & _ " -document " & txtReportSource.Text & "\" & strReportFile & _ " -vars " & Application.StartupPath & "\Var.TXT" & _ " -blind", AppWinStyle.Hide, True)
Pls guide




Reply With Quote