473,395 Members | 1,497 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,395 software developers and data experts.

Calling a windows application

Anyone knows how to call a windows application inside ASP.Net code?

Regards,
Nov 19 '05 #1
8 2234
Miguel,

Do you mean on the server or the client machine? If you mean on the client
machine you'd have to have an active x control or it's like installed on the
client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,

Nov 19 '05 #2
Thank you Justin,

I am not sure which is better from server or from client. I tried the shell
command but runs the application in a background mode, I am not able to see
the application, only in the task manager where I need to close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en el
mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the client
machine you'd have to have an active x control or it's like installed on
the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,


Nov 19 '05 #3
If you want to launch a windows application on the server you can use

Diagnostics.Process.Start( . . . . . .

--
Best Regards

The Inimitable Mr Newbie º¿º
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the
shell command but runs the application in a background mode, I am not able
to see the application, only in the task manager where I need to close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en
el mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the
client machine you'd have to have an active x control or it's like
installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,



Nov 19 '05 #4
processes started from asp.net (or any service) will not have access to the
desktop, so they are not able to open a window, thus they are always a
background task.

-- bruce (sqlwork.com)


"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the
shell command but runs the application in a background mode, I am not able
to see the application, only in the task manager where I need to close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en
el mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the
client machine you'd have to have an active x control or it's like
installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,



Nov 19 '05 #5
Thanks Mr. Newbie,

It works but the application is not visible.
How can I make it visible?

Regards,

"Mr Newbie" <he**@now.com> escribió en el mensaje
news:Ol**************@TK2MSFTNGP15.phx.gbl...
If you want to launch a windows application on the server you can use

Diagnostics.Process.Start( . . . . . .

--
Best Regards

The Inimitable Mr Newbie º¿º
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the
shell command but runs the application in a background mode, I am not
able to see the application, only in the task manager where I need to
close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en
el mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the
client machine you'd have to have an active x control or it's like
installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,



Nov 19 '05 #6
Thanks Bruce,

This is not good news,
Anyway I can make it visible?

"Bruce Barker" <br******************@safeco.com> escribió en el mensaje
news:uL**************@TK2MSFTNGP09.phx.gbl...
processes started from asp.net (or any service) will not have access to
the desktop, so they are not able to open a window, thus they are always a
background task.

-- bruce (sqlwork.com)


"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the
shell command but runs the application in a background mode, I am not
able to see the application, only in the task manager where I need to
close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en
el mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the
client machine you'd have to have an active x control or it's like
installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Anyone knows how to call a windows application inside ASP.Net code?

Regards,



Nov 19 '05 #7
You *can* make it visible...but only on the server.

The client will never be able to see it.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks Bruce,

This is not good news,
Anyway I can make it visible?

"Bruce Barker" <br******************@safeco.com> escribió en el mensaje
news:uL**************@TK2MSFTNGP09.phx.gbl...
processes started from asp.net (or any service) will not have access to the desktop, so
they are not able to open a window, thus they are always a background task.

-- bruce (sqlwork.com)


"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the shell command
but runs the application in a background mode, I am not able to see the application,
only in the task manager where I need to close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió en el mensaje
news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the client machine
you'd have to have an active x control or it's like installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
> Anyone knows how to call a windows application inside ASP.Net code?
>
> Regards,
>



Nov 19 '05 #8
yes. write a new windows service that runs as the local system account, and
in the settings for the service, allow interaction with the desktop. have
the service use .net remoting to listen for a start program request. have
your asp page call the service to do the startup.

note: as the webservice and service run even when noone is logged on the
webserver, they can not create a desktop in this case. you must be sure
someone has logged on the webserver for the window to appear.

-- bruce (sqlwork.com)

"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Thanks Bruce,

This is not good news,
Anyway I can make it visible?

"Bruce Barker" <br******************@safeco.com> escribió en el mensaje
news:uL**************@TK2MSFTNGP09.phx.gbl...
processes started from asp.net (or any service) will not have access to
the desktop, so they are not able to open a window, thus they are always
a background task.

-- bruce (sqlwork.com)


"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Thank you Justin,

I am not sure which is better from server or from client. I tried the
shell command but runs the application in a background mode, I am not
able to see the application, only in the task manager where I need to
close it.
"S. Justin Gengo" <justin@[no_spam_please]aboutfortunate.com> escribió
en el mensaje news:eu**************@TK2MSFTNGP12.phx.gbl...
Miguel,

Do you mean on the server or the client machine? If you mean on the
client machine you'd have to have an active x control or it's like
installed on the client.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Miguel Ramirez" <mi************@emersonclimate.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
> Anyone knows how to call a windows application inside ASP.Net code?
>
> Regards,
>



Nov 19 '05 #9

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

Similar topics

3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
2
by: Tony Liu | last post by:
Hi, I want to get the name of the calling function of an executing function, I use the StackTrace class to do this and it seems working. However, does anyone think that there any side effect...
3
by: Martin Knopp | last post by:
Anybody here can shed some light on this issue? Is it at all possible to call out-of-proc COM objects from ASP.NET? If yes, what configuration settings are required? I played around many...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
6
by: Amjad | last post by:
Hi, I want to make a project that calls and executes a function (VB code) made in a seperate file in the Application Folder. I know I can create the function in my project and call it internally,...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
5
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is...
1
by: Arne Adams | last post by:
Hi, I try to use a C# Dialog in a legacy MFC application. The problem seems to boil down to the following: from an unmanaged console application I can call any function of the managed bridge - if...
12
by: tom_kuehnert | last post by:
Hi! I'm trying to execute a program using system(). The program itself is located in some path which might contain whitespaces. Simple solution would be this: system("\"C:\A B\C.exe\""); ...
0
by: pinky22 | last post by:
I am calling SSIS package from a .Net windows UI. Both SSIS & .Net app are created in 2008. The SSIS package is stored in file system. When I ran .Net app I got error- The package failed to...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.