473,387 Members | 3,787 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.

Launching application from asp.net web application

MS
Hi,

I have an Gui Application written in C#.net. Is it possible to launch my
application from a web application. I also need to pass a parameter to this
application so that appropriate data is loaded based on user Id.

Is it possible to do this? If so, Can anyone please suggest how to
accomplish this.

Thanks in advance
Jan 17 '06 #1
6 1168
Where do you want it to run? On the client machine or on the server?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
Hi,

I have an Gui Application written in C#.net. Is it possible to launch my
application from a web application. I also need to pass a parameter to
this
application so that appropriate data is loaded based on user Id.

Is it possible to do this? If so, Can anyone please suggest how to
accomplish this.

Thanks in advance

Jan 18 '06 #2
MS
Hi Eliyahu,
I want user's from differnt part of the world to visit our site using web
browser. On the site there is a button. On clicking button it will start the
Application passing the user id to the application.

I was thinking of running on a Server as the company does not want to
distribute it's properitery application and also Application accesses
database located at company site.

What would you suggest running on Server or Client?

Thanks

"Eliyahu Goldin" wrote:
Where do you want it to run? On the client machine or on the server?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
Hi,

I have an Gui Application written in C#.net. Is it possible to launch my
application from a web application. I also need to pass a parameter to
this
application so that appropriate data is loaded based on user Id.

Is it possible to do this? If so, Can anyone please suggest how to
accomplish this.

Thanks in advance


Jan 18 '06 #3
You cannot have a desktop Windows application running on the web server and
displaying the rich interface on the user’s browser.

If you want the GUI interface of the Windows application to display to the
user then it can only be done for users that can trust the executable file to
run on their own desktop.

This means that such solution is only suitable for intranet users (internal
employees within the organization). Then you can pass parameters through the
URL the executes the program, e.g.
http://ntranet.mycompany.ca/myapplic...t&param2=test2

The Windows application can use the Environment.CommandLine to pick up the
entire URL and parse it to get any parameters that you passed through to it.
The Environment.GetCommandLineArgs returns a collection where the first
element is the path on the server for the IEExec.exe file and the second
argument is the URL line (including your passed parameters) plus a GUID.

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"MS" wrote:
Hi,

I have an Gui Application written in C#.net. Is it possible to launch my
application from a web application. I also need to pass a parameter to this
application so that appropriate data is loaded based on user Id.

Is it possible to do this? If so, Can anyone please suggest how to
accomplish this.

Thanks in advance

Jan 19 '06 #4
Do you want the user to use the application GUI or the database access
features only?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
Hi Eliyahu,
I want user's from differnt part of the world to visit our site using web
browser. On the site there is a button. On clicking button it will start
the
Application passing the user id to the application.

I was thinking of running on a Server as the company does not want to
distribute it's properitery application and also Application accesses
database located at company site.

What would you suggest running on Server or Client?

Thanks

"Eliyahu Goldin" wrote:
Where do you want it to run? On the client machine or on the server?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
> Hi,
>
> I have an Gui Application written in C#.net. Is it possible to launch
> my
> application from a web application. I also need to pass a parameter to
> this
> application so that appropriate data is loaded based on user Id.
>
> Is it possible to do this? If so, Can anyone please suggest how to
> accomplish this.
>
> Thanks in advance


Jan 19 '06 #5
MS
hi Eliyahu,

I need to use both GUI and database access.

Thanks

"Eliyahu Goldin" wrote:
Do you want the user to use the application GUI or the database access
features only?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
Hi Eliyahu,
I want user's from differnt part of the world to visit our site using web
browser. On the site there is a button. On clicking button it will start
the
Application passing the user id to the application.

I was thinking of running on a Server as the company does not want to
distribute it's properitery application and also Application accesses
database located at company site.

What would you suggest running on Server or Client?

Thanks

"Eliyahu Goldin" wrote:
Where do you want it to run? On the client machine or on the server?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
> Hi,
>
> I have an Gui Application written in C#.net. Is it possible to launch
> my
> application from a web application. I also need to pass a parameter to
> this
> application so that appropriate data is loaded based on user Id.
>
> Is it possible to do this? If so, Can anyone please suggest how to
> accomplish this.
>
> Thanks in advance


Jan 19 '06 #6
As Phillip explained, I can't make any use of the GUI running on server
side. If it is a .net application, it should be possible to organize the
data access functionality into a separate code library and access it from a
regular asp.net application that you will need to build to replace your
windows GUI.

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:E8**********************************@microsof t.com...
hi Eliyahu,

I need to use both GUI and database access.

Thanks

"Eliyahu Goldin" wrote:
Do you want the user to use the application GUI or the database access
features only?

Eliyahu

"MS" <MS@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
> Hi Eliyahu,
>
>
> I want user's from differnt part of the world to visit our site using
> web
> browser. On the site there is a button. On clicking button it will
> start
> the
> Application passing the user id to the application.
>
> I was thinking of running on a Server as the company does not want to
> distribute it's properitery application and also Application accesses
> database located at company site.
>
> What would you suggest running on Server or Client?
>
> Thanks
>
> "Eliyahu Goldin" wrote:
>
>> Where do you want it to run? On the client machine or on the server?
>>
>> Eliyahu
>>
>> "MS" <MS@discussions.microsoft.com> wrote in message
>> news:9E**********************************@microsof t.com...
>> > Hi,
>> >
>> > I have an Gui Application written in C#.net. Is it possible to
>> > launch
>> > my
>> > application from a web application. I also need to pass a parameter
>> > to
>> > this
>> > application so that appropriate data is loaded based on user Id.
>> >
>> > Is it possible to do this? If so, Can anyone please suggest how to
>> > accomplish this.
>> >
>> > Thanks in advance
>>
>>
>>


Jan 22 '06 #7

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

Similar topics

2
by: Terry | last post by:
When launching our application with Internet Explorer already opened, but not pointing to our web server, the session variables disappear. If you open I.E. after launching our app, it works fine....
1
by: Drew Lettington | last post by:
I want to launch an installation (setup.exe) from a Web Server using via a URL. I currently accomplish this by passing the URL to IE: System.Diagnostics.Process ieProcess = new...
4
by: m11533 | last post by:
I am writing a fairly complex application in c# and Visual Studio .Net 2003. Right now I am working on a simple console application (to be launched in the future from a service) that receives...
6
by: sebastien | last post by:
Hi I have an asp.net application that use Session variables. What I want to do is to launch an second instance of this application by a link inside the first application. The problem is: when I...
0
by: Ashish | last post by:
I have a component, that is used by a web application, it is invoked by the application through reflection. I have a static class in this componenet, from which iam launching a thread that...
1
by: John A. Bailo | last post by:
Excuse the novice aspects of this question, but: What techniques are available to me for launching one c# application ( console .exe) from another? For example, I know there is the Process and...
1
by: Water Cooler v2 | last post by:
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few...
0
by: microb0x | last post by:
Is there any difference in the way an Access .mdb file is launched from directly double-clicking the file through windows explorer versus using code within another Access file to launch the...
0
by: vol30w60 | last post by:
Hi folks, I am having a problem using PHP to launch an application on the server. All the basics work, but I cannot launch more than 4 instances of the application. This application functions as...
0
by: SteelNetNob | last post by:
I am having a problem where I have a COM application that can be run stand-alone and programatically via COM interop. If an instance of the COM application is being run when my .NET application that...
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
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.