Click here to Skip to main content
15,888,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.Net Menu Control - How to make entire menu item clickable? Pin
Uwe Keim16-May-07 8:31
sitebuilderUwe Keim16-May-07 8:31 
AnswerRe: ASP.Net Menu Control - How to make entire menu item clickable? Pin
martin_hughes16-May-07 9:26
martin_hughes16-May-07 9:26 
QuestionRunAs Question Pin
amgray78916-May-07 7:21
amgray78916-May-07 7:21 
AnswerRe: RunAs Question Pin
Not Active16-May-07 8:02
mentorNot Active16-May-07 8:02 
AnswerRe: RunAs Question Pin
kubben16-May-07 8:03
kubben16-May-07 8:03 
GeneralRe: RunAs Question Pin
amgray78916-May-07 8:15
amgray78916-May-07 8:15 
GeneralRe: RunAs Question Pin
kubben16-May-07 9:06
kubben16-May-07 9:06 
AnswerRe: RunAs Question Pin
SABhatti16-May-07 8:10
SABhatti16-May-07 8:10 
What is DOSApp.exe? If it runs on command prompt then you may try to run the cmd.exe and then set its working directory to C: and set arguments to DOSApp.exe

or something like the following

Dim psi As ProcessStartInfo = New ProcessStartInfo("cmd.exe")
psi.UseShellExecute = False
psi.RedirectStandardOutput = True
psi.RedirectStandardInput = True
psi.RedirectStandardError = True
psi.WindowStyle = ProcessWindowStyle.Minimized
psi.WorkingDirectory = "C:/"

Dim proc As Process = Process.Start(psi)
Dim sIn As System.IO.StreamWriter = proc.StandardInput

sIn.WriteLine(String.Format("DOSApp.exe")

after this you can issue threading.sleep if you want to wait.. or you can

sIn.WriteLine("EXIT")
proc.Close()
sIn.Close()

I am using this code in windows application running on the intranet.. not web


-----

GeneralRe: RunAs Question Pin
amgray78916-May-07 8:50
amgray78916-May-07 8:50 
AnswerRe: RunAs Question Pin
Uwe Keim16-May-07 8:35
sitebuilderUwe Keim16-May-07 8:35 
GeneralRe: RunAs Question Pin
huangmingchao22-Oct-12 20:48
huangmingchao22-Oct-12 20:48 
QuestionDynamic UserControls on Button click event. Pin
pothineni16-May-07 7:09
pothineni16-May-07 7:09 
AnswerRe: Dynamic UserControls on Button click event. Pin
Not Active16-May-07 7:56
mentorNot Active16-May-07 7:56 
QuestionProblem in ASP.net Pin
mahammadhusen16-May-07 6:50
mahammadhusen16-May-07 6:50 
AnswerRe: Problem in ASP.net Pin
Not Active16-May-07 7:51
mentorNot Active16-May-07 7:51 
Question.net certfication Pin
suhasinivuppala16-May-07 5:21
suhasinivuppala16-May-07 5:21 
AnswerRe: .net certfication Pin
Tarakeshwar Reddy16-May-07 5:30
professionalTarakeshwar Reddy16-May-07 5:30 
AnswerRe: .net certfication Pin
Sathesh Sakthivel16-May-07 5:30
Sathesh Sakthivel16-May-07 5:30 
GeneralRe: .net certfication Pin
Blumen17-May-07 3:07
Blumen17-May-07 3:07 
QuestionLimelight Server Pin
Rahul Babu16-May-07 4:33
Rahul Babu16-May-07 4:33 
AnswerRe: Limelight Server Pin
Sathesh Sakthivel16-May-07 4:55
Sathesh Sakthivel16-May-07 4:55 
Questionmultiple files uploader using ftp Pin
ravi kanthi16-May-07 3:57
ravi kanthi16-May-07 3:57 
JokeRe: multiple files uploader using ftp Pin
steffw16-May-07 4:27
steffw16-May-07 4:27 
AnswerRe: multiple files uploader using ftp Pin
Sathesh Sakthivel16-May-07 4:31
Sathesh Sakthivel16-May-07 4:31 
Questionfolder browser in tree view Pin
ravi kanthi16-May-07 3:46
ravi kanthi16-May-07 3:46 

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.