How can I run Client Side Winform Application by using ASP.Net
-
I have client side application, trusted assembly through share drive, Can anyone suggest me any code example or suggestion to run that exe by using ASP.Net.
-
I have client side application, trusted assembly through share drive, Can anyone suggest me any code example or suggestion to run that exe by using ASP.Net.
ASP.NET generates HTML, that is all. Apparently you can load the shell object and call it in jscript, but your ability to run it on the client machine will be no better than if you were running any other exe on the machine, and of course, you'd need to know the exact path. Christian Graus - Microsoft MVP - C++
-
ASP.NET generates HTML, that is all. Apparently you can load the shell object and call it in jscript, but your ability to run it on the client machine will be no better than if you were running any other exe on the machine, and of course, you'd need to know the exact path. Christian Graus - Microsoft MVP - C++
Thanks! Can you send me any usefull link to go through Shell object on JScript? Thanks again
-
ASP.NET generates HTML, that is all. Apparently you can load the shell object and call it in jscript, but your ability to run it on the client machine will be no better than if you were running any other exe on the machine, and of course, you'd need to know the exact path. Christian Graus - Microsoft MVP - C++
hello christian i am facing same kind of problem. i need to call a VB exe file located on my server from my asp.net page. This exe will run on server. i have tried shell("path") and system.diagnosis.process.start("path"), but iam out of luck when i see task manager, exe is appearing under process tab but its not appearing in application tab. any help in this regard is highly appreciated. thanx in advance saud
-
I have client side application, trusted assembly through share drive, Can anyone suggest me any code example or suggestion to run that exe by using ASP.Net.
Well if it is a form application u just have to link to it from your page it will run in SandBox mode it will have no abbility to access the clients system unless u have access to the client security settings further more the .Net runtime have to be installed on the client but if its uses ex Webservices as feeder only or like eg a calulator type of application no problem so normally you will only use this kind of applications in Intranet environment but just do like this create a button type and in eventhandler write ex Response.Redirect("WindowsApplication2.exe"); with the path to the exefile Wyx
-
Well if it is a form application u just have to link to it from your page it will run in SandBox mode it will have no abbility to access the clients system unless u have access to the client security settings further more the .Net runtime have to be installed on the client but if its uses ex Webservices as feeder only or like eg a calulator type of application no problem so normally you will only use this kind of applications in Intranet environment but just do like this create a button type and in eventhandler write ex Response.Redirect("WindowsApplication2.exe"); with the path to the exefile Wyx
-
Well if it is a form application u just have to link to it from your page it will run in SandBox mode it will have no abbility to access the clients system unless u have access to the client security settings further more the .Net runtime have to be installed on the client but if its uses ex Webservices as feeder only or like eg a calulator type of application no problem so normally you will only use this kind of applications in Intranet environment but just do like this create a button type and in eventhandler write ex Response.Redirect("WindowsApplication2.exe"); with the path to the exefile Wyx
Good lord - this surely never works ? Christian Graus - Microsoft MVP - C++
-
Thanks! Can you send me any usefull link to go through Shell object on JScript? Thanks again
No, I saw it on one of these forums and noted that it was an ugly hack that I would never use. It's just a design fault that you expect to run an app on the client side. I have no idea how it's done beyond seeing the post here on CP. Christian Graus - Microsoft MVP - C++
-
hello christian i am facing same kind of problem. i need to call a VB exe file located on my server from my asp.net page. This exe will run on server. i have tried shell("path") and system.diagnosis.process.start("path"), but iam out of luck when i see task manager, exe is appearing under process tab but its not appearing in application tab. any help in this regard is highly appreciated. thanx in advance saud
ssaud wrote: i am facing same kind of problem. i need to call a VB exe file located on my server from my asp.net page. This exe will run on server. i have tried shell("path") and system.diagnosis.process.start("path"), but iam out of luck If you want to run an exe on the server, then Process.Start should be what you need, or pinvoke shellexecute. How does Process.Start not do what you want ? Perhaps the problem is that it's being started as the asp_net user, and it does not have the permissions needed ? Is the exe inside your applications web path ? If not, I doubt you'd be allowed to run it due to file permissions. Christian Graus - Microsoft MVP - C++
-
Good lord - this surely never works ? Christian Graus - Microsoft MVP - C++
Well i dont know what you guys are doing ? are we talking about the same thing ? running an .NET application at the client through the web. or have I misinterpret the question ? If it's the first. I have been doing this many times ! If it's the latter im sorry But a simple example is place your application.exe in a folder or root of your web application make a button in the eventhandler write the response redirect with path to your exe Or simply create a link to your exe HyperLink and the application will start and run in SandBox Mode As i wrote its heavily secured and not able to access the clients system unless you change the securety zone for the specific hosting server read this to learn how to change securety zone http://west-wind.com/weblog/posts/275.aspx[^] a site that do deploy a small game it this way http://www.sellsbrothers.com/wahoo/[^]