473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Jan 20 '07 #1
7 4668


<do********@hot mail.comwrote in message
news:11******** **************@ s34g2000cwa.goo glegroups.com.. .
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

Jan 20 '07 #2
I believe ClickOnce is for application installation/deployment.

I'm not looking for an application "installati on" 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
Jan 20 '07 #3
| I'm not looking for an application "installati on" 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.
Jan 20 '07 #4
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 "installati on" 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.
Jan 20 '07 #5
Ok, so ClickOnce gives you the "publish.ht m" 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 "installati on" 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.
Jan 21 '07 #6
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

<do********@hot mail.comwrote in message
news:11******** *************@3 8g2000cwa.googl egroups.com...
Ok, so ClickOnce gives you the "publish.ht m" 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 "installati on" 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.
Jan 21 '07 #7
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

<do********@hot mail.comwrote in message
news:11******** *************@3 8g2000cwa.googl egroups.com...
Ok, so ClickOnce gives you the "publish.ht m" 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 "installati on" 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.
Jan 22 '07 #8

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

Similar topics

17
6297
by: Mike | last post by:
I am trying to write a web page where a person can click on a word document and MS Word is launched instead of the document being displayed in the IE browser. I have been able to launch MS Word but only when I create a shortcut for the document. However a pop-up comes up with save and/or open instructions. I do not want the pop-up to come up. Mike
4
5204
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by the exe. The exe then generates a graph based upon the input parameters. I am reading about the Process class and wondering if that is the best approach to this. Can you recommend a KB article?
1
5913
by: Michael Howes | last post by:
I have a c# windows form that talks to a web service on a server that then can talk to multiple "agents" on different machines using web service calls. I want to be able to launch an application of the users choice on the remove, "agent" machine. I've discovered that Process.Start() won't work because it runs under asp.net and it will launch any "process" but if the application has a windows UI it will not show.
5
32749
by: GrantS | last post by:
Hi I am trying to use ShellExecute to launch an application to display a certain file. The variation on the theme is that I need to be able to specify the application to launch and not simply pass the file name (which will then result in the application associated with the file extension to launch). I want to prevent the application registered in the system as being associated with the file extension from opeing the file.
3
1796
by: VB Programmer | last post by:
How can I launch a local winform application from a web page? (FYI: My goal is to have this winform be a "no touch deployment" application.) Thanks.
1
2198
by: Jacob | last post by:
I have several web apps that I want to redirect to a new page, but have that page open in a new browser window. The basic scenario is that I have a CrystalReport object that gets created and displayed on-screen as a .PDF stream. I need to have this page launch in it's own window leaving the first browser alone Here's the code I'm using to launch the report Private Sub btnPrintList_Click(ByVal sender As System.Object, ByVal e As...
4
1824
by: Eric | last post by:
Hello, I need to allow a web page to launch an interactive program on the web server. For this example, I'd like to have the ASP.NET open notepad on the asp server, so the current logged-in user can see it. Here's the code I have implemented. Notepad starts, but is not visible on the server desktop. ****************************
4
20906
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this anywhere? Thanks, Joe
2
1461
by: cj | last post by:
Say I could say for a fact the program would work only with Outlook. Does outlook make any methods or properties available that would allow me to launch it and populate subject and body? How does one find what methods and properties are available in software packages? Is there a way to tell what email program is a users default?
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10221
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...
1
10169
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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
9050
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...
0
5440
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...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
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
3
2924
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.