PC Review


Reply
Thread Tools Rate Thread

how do I launch my c# application from a web page?

 
 
dongarbage@hotmail.com
Guest
Posts: n/a
 
      20th Jan 2007
Hi there,

I'm very new to activex controls and c# programming.


I'm writing a c# application and I want it to be invoked when my users
click a button on a web page. Its an application with a GUI so the app
would come up and be running independent of the web browser (i.e. not
embeded in it). Also note, that this application is one that is already
installed
on my users' machines. How do I do this? Is there a reference on the
web with some good examples of this? I've looked through the msdn docs
and got a bit lost.


Thanks so much for the help,
Don

 
Reply With Quote
 
 
 
 
David Browne
Guest
Posts: n/a
 
      20th Jan 2007


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi there,
>
> I'm very new to activex controls and c# programming.
>
>
> I'm writing a c# application and I want it to be invoked when my users
> click a button on a web page. Its an application with a GUI so the app
> would come up and be running independent of the web browser (i.e. not
> embeded in it). Also note, that this application is one that is already
> installed
> on my users' machines. How do I do this? Is there a reference on the
> web with some good examples of this? I've looked through the msdn docs
> and got a bit lost.
>
>


Easy. Just publish it as a ClickOnce app to your web server.


ClickOnce
http://msdn2.microsoft.com/en-us/net.../aa497348.aspx

David

 
Reply With Quote
 
dongarbage@hotmail.com
Guest
Posts: n/a
 
      20th Jan 2007
I believe ClickOnce is for application installation/deployment.

I'm not looking for an application "installation" solution, rather, I'm
looking for an application "invocation" solution.

I want users to be able to run the application, which is already
installed on their machine, from a web page. For example, when a button
on a web page is clicked, the application is invoked, running outside
of a browser window.

Don

David Browne wrote:
>
> Easy. Just publish it as a ClickOnce app to your web server.
>
>
> ClickOnce
> http://msdn2.microsoft.com/en-us/net.../aa497348.aspx
>
> David


 
Reply With Quote
 
William Stacey [C# MVP]
Guest
Posts: n/a
 
      20th Jan 2007
| I'm not looking for an application "installation" solution, rather, I'm
| looking for an application "invocation" solution.

first time yes. After that, it will just start local. You also get the
benefit of seemless deploy of new versions.


 
Reply With Quote
 
dongarbage@hotmail.com
Guest
Posts: n/a
 
      20th Jan 2007
William,

Hey, cool, I think ClickOnce IS what I need. I'll report back with my
progress.

Thanks,
Don

William Stacey [C# MVP] wrote:
> | I'm not looking for an application "installation" solution, rather, I'm
> | looking for an application "invocation" solution.
>
> first time yes. After that, it will just start local. You also get the
> benefit of seemless deploy of new versions.


 
Reply With Quote
 
dongarbage@hotmail.com
Guest
Posts: n/a
 
      21st Jan 2007
Ok, so ClickOnce gives you the "publish.htm" file that users access to
install your application. But, how do you launch the application after
it has already been installed and the user re-visits the site?

Thanks,
Don


William Stacey [C# MVP] wrote:
> | I'm not looking for an application "installation" solution, rather, I'm
> | looking for an application "invocation" solution.
>
> first time yes. After that, it will just start local. You also get the
> benefit of seemless deploy of new versions.


 
Reply With Quote
 
David Browne
Guest
Posts: n/a
 
      21st Jan 2007
You launch it with a hyperlink to the .application url.

Something like

http://servername/WindowsApp1.application

Look in the publish.htm, and you should see such a link.

David

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ok, so ClickOnce gives you the "publish.htm" file that users access to
> install your application. But, how do you launch the application after
> it has already been installed and the user re-visits the site?
>
> Thanks,
> Don
>
>
> William Stacey [C# MVP] wrote:
>> | I'm not looking for an application "installation" solution, rather, I'm
>> | looking for an application "invocation" solution.
>>
>> first time yes. After that, it will just start local. You also get the
>> benefit of seemless deploy of new versions.

>

 
Reply With Quote
 
dongarbage@hotmail.com
Guest
Posts: n/a
 
      22nd Jan 2007
ClickOnce almost does what I want. However, there are a couple of
additional things I want to do with my application which I believe are
a challenge with a ClickOnce application.

1. The application is one which is to be purchased by my website's
users. So, before the application is installed, the user must purchase
the application.

2. The user must accept a user license before installing the
application.

3. The "lauch" button which would be located on the web page should
either launch the application for a valid licensed user, or, direct the
user to the software purchase page.

Thanks,
Don

David Browne wrote:
> You launch it with a hyperlink to the .application url.
>
> Something like
>
> http://servername/WindowsApp1.application
>
> Look in the publish.htm, and you should see such a link.
>
> David
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Ok, so ClickOnce gives you the "publish.htm" file that users access to
> > install your application. But, how do you launch the application after
> > it has already been installed and the user re-visits the site?
> >
> > Thanks,
> > Don
> >
> >
> > William Stacey [C# MVP] wrote:
> >> | I'm not looking for an application "installation" solution, rather, I'm
> >> | looking for an application "invocation" solution.
> >>
> >> first time yes. After that, it will just start local. You also get the
> >> benefit of seemless deploy of new versions.

> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to launch a Windows application from a ASP.Net web application JB Microsoft ASP .NET 6 6th Oct 2010 02:33 PM
Launch External Application and Close main UI Application - VS 200 Ryan Microsoft VB .NET 2 11th Feb 2010 09:34 PM
How to launch a ClickOnce application from a web page anonieko@hotmail.com Microsoft Dot NET Framework Forms 0 4th Aug 2006 07:26 AM
Launch an imaging application within Windows forms application =?Utf-8?B?VkIgVXNlcg==?= Microsoft VB .NET 4 23rd Nov 2004 04:47 PM
Application Launch from Web Page in Internet Explorer? SortaNorth Windows XP Internet Explorer 2 30th Oct 2003 06:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:27 AM.