Click here to Skip to main content
15,923,197 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionnet3.5 documentation Pin
Member 387988122-May-09 19:32
Member 387988122-May-09 19:32 
AnswerRe: net3.5 documentation Pin
Ramesh Swaminathan22-May-09 19:50
Ramesh Swaminathan22-May-09 19:50 
AnswerRe: net3.5 documentation Pin
Manas Bhardwaj22-May-09 22:52
professionalManas Bhardwaj22-May-09 22:52 
QuestionError when trying to login once moved to IIS Server Pin
milkyline22-May-09 18:05
milkyline22-May-09 18:05 
AnswerRe: Error when trying to login once moved to IIS Server Pin
Ramesh Swaminathan22-May-09 18:27
Ramesh Swaminathan22-May-09 18:27 
GeneralRe: Error when trying to login once moved to IIS Server Pin
milkyline23-May-09 8:57
milkyline23-May-09 8:57 
GeneralRe: Error when trying to login once moved to IIS Server Pin
adatapost29-May-09 4:25
adatapost29-May-09 4:25 
QuestionRemote WMI Connection issue Pin
ssircar197122-May-09 8:56
ssircar197122-May-09 8:56 
AnswerRe: Remote WMI Connection issue Pin
Herman<T>.Instance25-May-09 3:18
Herman<T>.Instance25-May-09 3:18 
Questionthis.Profile is not latest after Profile.Save() Pin
NetQuestions22-May-09 7:24
NetQuestions22-May-09 7:24 
AnswerRe: this.Profile is not latest after Profile.Save() Pin
adatapost23-May-09 21:51
adatapost23-May-09 21:51 
GeneralRe: this.Profile is not latest after Profile.Save() Pin
NetQuestions25-May-09 5:56
NetQuestions25-May-09 5:56 
GeneralRe: this.Profile is not latest after Profile.Save() Pin
adatapost25-May-09 15:31
adatapost25-May-09 15:31 
GeneralRe: this.Profile is not latest after Profile.Save() Pin
NetQuestions29-May-09 3:52
NetQuestions29-May-09 3:52 
QuestionInternet Explorer Progress Bar May Show Incorrect Status? Pin
Unknown_DeathDealer22-May-09 6:16
Unknown_DeathDealer22-May-09 6:16 
QuestionHow to call windows exe with parameter from asp.net. Pin
hemrk22-May-09 6:00
hemrk22-May-09 6:00 
I have a problem in asp.net
i wanted to call my windows app exe from web app with paramters.
its working with process.start(). but i can t see UI of windows app on clients machine.
so i wrote javascripr function and its working fine , i can use windows UI on clients side. but now i dont know how to send arguments with that and how to fetch arguments in windows app.
Please let me know asap.

here is code.

<
SCRIPT Language="JScript">
function
runcmd() {
File="C:\\TestParamFromAsp.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
//document.getElementById('<%=btnSendMail.ClientID%>').click();
//sInfo=new System.Diagnostics.ProcessStartInfo("C:\\TestParamFromAsp.exe");
//p=new System.Diagnostics.Process;
//sInfo.Arguments="12345";
//p.StartInfo=sInfo;
//p.Start();
}
</
SCRIPT>


Codebehind is working independently.
Protected
Sub btnSendMail_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSendMail.Click
'Dim sInfo As New Diagnostics.ProcessStartInfo("C:\\CGS_NEWDESIGN_UPDATED\\ContractAutomation\\bin\\ContractAutomation.exe") '("C:\\TestParamFromAsp.exe")
Dim sInfo As New Diagnostics.ProcessStartInfo("C:\\Documents and Settings\\hkacholi\\My Documents\\Visual Studio 2005\\Projects\\TestParamFromAsp\\TestParamFromAsp\\bin\\Debug\\TestParamFromAsp.exe")
'Dim sInfo As New Diagnostics.ProcessStartInfo("//vsapps/cgs/ContractAutomation.exe") 'C:\\Documents and Settings\\hkacholi\\My Documents\\Visual Studio 2005\\Projects\\TestParamFromAsp\\TestParamFromAsp\\bin\\Debug\\TestParamFromAsp.exe")
'Dim sInfo As New Diagnostics.ProcessStartInfo("C:\\TestParamFromAsp.exe")
' startInfo.WindowStyle = Diagnostics.ProcessWindowStyle.Maximized
Dim p As New Diagnostics.Process
'Diagnostics.Process.Start(sInfo)
sInfo.Arguments =
"12345"
'Diagnostics.Process.Start(sInfo)
sInfo.RedirectStandardOutput =
True
sInfo.RedirectStandardInput =
True
sInfo.RedirectStandardError =
True
sInfo.CreateNoWindow =
True
sInfo.UseShellExecute =
False
p.StartInfo = sInfo
p.Start()
End Sub

hemaxi
AnswerRe: How to call windows exe with parameter from asp.net. Pin
Abhishek Sur22-May-09 6:07
professionalAbhishek Sur22-May-09 6:07 
GeneralRe: How to call windows exe with parameter from asp.net. Pin
hemrk22-May-09 6:59
hemrk22-May-09 6:59 
GeneralRe: How to call windows exe with parameter from asp.net. Pin
Abhishek Sur24-May-09 22:19
professionalAbhishek Sur24-May-09 22:19 
QuestionSelecting a validator based on other form controls Pin
dwolver22-May-09 5:25
dwolver22-May-09 5:25 
AnswerRe: Selecting a validator based on other form controls Pin
Manas Bhardwaj22-May-09 5:44
professionalManas Bhardwaj22-May-09 5:44 
GeneralRe: Selecting a validator based on other form controls Pin
dwolver22-May-09 5:53
dwolver22-May-09 5:53 
QuestionStrange AutoCompleteExtender Behavior Pin
Herman<T>.Instance22-May-09 4:49
Herman<T>.Instance22-May-09 4:49 
QuestionRetrive file path back in to fileupload control...... Pin
pranavcool22-May-09 4:31
pranavcool22-May-09 4:31 
AnswerRe: Retrive file path back in to fileupload control...... Pin
Abhishek Sur22-May-09 6:04
professionalAbhishek Sur22-May-09 6:04 

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.