473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to run windows executable file in the webForm


Would you please tell me that some C# WebForm application (VS.NET 2002) can
run/call windows executable file such as notepad.exe (use Process.Start)? if
so how to do it.

Jiang
Nov 16 '05 #1
6 1850
Run notepad on the client or the server?

You cannot on the client , but if you wanted to on the server, what would be
the benefit since there is no person to interact with the application?

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002) can run/call windows executable file such as notepad.exe (use Process.Start)? if so how to do it.

Jiang

Nov 16 '05 #2
Hi,

You should give more details about what you want to do.

you can use Process.Start to run applications on the server ( given the
correct permissions ) it's just that nobody can interact with them

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002)
can run/call windows executable file such as notepad.exe (use
Process.Start)? if so how to do it.

Jiang

Nov 16 '05 #3
Hi,

Thanks for your help.

I want to do clicking some button to start application on client
WebForm(such as notepad or some DLL program). Is it possable? If so, How to
do it?

Best Regards,

Jiang Zhao

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:uF**************@TK2MSFTNGP14.phx.gbl...
Hi,

You should give more details about what you want to do.

you can use Process.Start to run applications on the server ( given the
correct permissions ) it's just that nobody can interact with them

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002)
can run/call windows executable file such as notepad.exe (use
Process.Start)? if so how to do it.

Jiang


Nov 16 '05 #4
Hi,

No, it's not possible

the only possible solution I see here is that you use an ActiveX that in
turn load the application you want. You will have to code the activeX in
unmanaged code IIRC , there is no way of doing it using c# ( maybe I'm wrong
so take a look around )

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:%M********************@news20.bellglobal.com. ..
Hi,

Thanks for your help.

I want to do clicking some button to start application on client
WebForm(such as notepad or some DLL program). Is it possable? If so, How
to do it?

Best Regards,

Jiang Zhao

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uF**************@TK2MSFTNGP14.phx.gbl...
Hi,

You should give more details about what you want to do.

you can use Process.Start to run applications on the server ( given the
correct permissions ) it's just that nobody can interact with them

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002)
can run/call windows executable file such as notepad.exe (use
Process.Start)? if so how to do it.

Jiang



Nov 16 '05 #5
Thanks Ignacio,

I will try this way (ActiveX).

Cheers,

Jiang.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:O%******************@TK2MSFTNGP12.phx.gbl...
Hi,

No, it's not possible

the only possible solution I see here is that you use an ActiveX that in
turn load the application you want. You will have to code the activeX in
unmanaged code IIRC , there is no way of doing it using c# ( maybe I'm
wrong so take a look around )

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:%M********************@news20.bellglobal.com. ..
Hi,

Thanks for your help.

I want to do clicking some button to start application on client
WebForm(such as notepad or some DLL program). Is it possable? If so, How
to do it?

Best Regards,

Jiang Zhao

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uF**************@TK2MSFTNGP14.phx.gbl...
Hi,

You should give more details about what you want to do.

you can use Process.Start to run applications on the server ( given the
correct permissions ) it's just that nobody can interact with them

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002)
can run/call windows executable file such as notepad.exe (use
Process.Start)? if so how to do it.

Jiang



Nov 16 '05 #6
Hi,

Thanks for your help.

I want to do clicking some button to start application on client
WebForm(such as notepad or some DLL program). Is it possible? If so, How to
do it?

Best Regards,

Jiang Zhao

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OM**************@TK2MSFTNGP14.phx.gbl...
Run notepad on the client or the server?

You cannot on the client , but if you wanted to on the server, what would
be
the benefit since there is no person to interact with the application?

"Jiang Zhao" <ji****@sympatico.ca> wrote in message
news:xx********************@news20.bellglobal.com. ..

Would you please tell me that some C# WebForm application (VS.NET 2002)

can
run/call windows executable file such as notepad.exe (use Process.Start)?

if
so how to do it.

Jiang


Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Russell E. Owen | last post by:
I'm trying to launch an application from Python 2.3 on Windows. The application is "ds9" (an image viewer), and is installed in C:\Program Files\ds9\ds9 On unix I just do: os.popen3("ds9") and...
0
by: Marina | last post by:
Hi, I need to have a windows service that can access various DLL's dynamically. These dll's are stored in a particular directory, but of course this can vary by application. The problem is...
2
by: Matt Theule | last post by:
I need to be able to allow users to drag files to a list box on a web page. To this end, I created a Windows Control and hosted it in a WebForm. When the file is dropped onto the listbox, the...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
6
by: Leonardo Curros | last post by:
Hello, I would like to know what's the best way to restart one service. I would like to do it from the service itself. Is this possible? I try it with ServiceController.stop()...
6
by: Sile | last post by:
Hello, I'm trying to get f2py working from the command line on windows XP. I have mingw32 as my C complier (after some advice on a previous thread) and Compaq Visual Fortran 6.5. Changing my C...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.