473,734 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1865
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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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.mach in AT dot.state.fl.us > wrote
in message news:uF******** ******@TK2MSFTN GP14.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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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****@sympati co.ca> wrote in message
news:%M******** ************@ne ws20.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.mach in AT dot.state.fl.us >
wrote in message news:uF******** ******@TK2MSFTN GP14.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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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.mach in AT dot.state.fl.us > wrote
in message news:O%******** **********@TK2M SFTNGP12.phx.gb l...
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****@sympati co.ca> wrote in message
news:%M******** ************@ne ws20.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.mach in AT dot.state.fl.us >
wrote in message news:uF******** ******@TK2MSFTN GP14.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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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.r illing.net> wrote in message
news:OM******** ******@TK2MSFTN GP14.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****@sympati co.ca> wrote in message
news:xx******** ************@ne ws20.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
4458
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 close the returned files and all is good. (I'm not trying to communicate with the program via popen3 and so had been using os.spawnlp, but that doesn't exist on Windows.)
0
287
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 that when the windows service runs, it actually runs from c:\windows, not from the location of the actual executable. Now, for a regular windows app, I would have a configuration file, that tells the executable additional directories to check when...
2
1881
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 path of the file is truncated down to 8.3 format (with the ~1 at the end). When the Windows control is hosted in a windows form (for testing purposes) the full path is displayed. Is there some setting that will allow the full path to be displayed...
4
2423
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). The problem is that the user who "owns" the service is always the ASPNET account. That's not good since you don't see the actual application (because it's owned by ASPNET). I've tried changed the processmodel section in the machine.config file to...
6
3806
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() ServiceController.WaitForStatus(ServiceControllerStatus.Stopped) ServiceController.start() but doesn´t works. It seems waitforstatus instruction is the last
6
2765
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 complier reduced my errors but I'm still having trouble. I think I have all the correct paths set but I'm not sure. F2PY gets further when I specifically tell it what my compilers are as follows................. C:\Program...
34
3964
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 environment variable. Every time, I've had to go through and add this by hand, to have something resembling a usable Python installation. No such problems on Linux, whether it be Mandrake/Mandriva, Fedora Core, or Kubuntu. So why is the Windows...
0
30238
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 a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
9449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.