Is there any way to embed a ClickOnce Application into the browser? I
love the way ClickOnce works, but the problem is I would like it to
display the windows form in the browser.
I could use a simple embedded dll, but then i lose the trust prompt
that ClickOnce offers.
Any ideas?
Mark 4 3178
Mark,
Using ClickOnce in a browser is a bit self-defeating. The whole point
is to allow rich-client experience distributed over the web.
If you really want this, you are better off creating an MSI that when
installed, will install your control and set the security permissions on it
to grant the security permissions you need.
What are you gaining by placing the window in the browser?
If anything, why not embed a web browser control in your app (if you
really need dynamic content served up).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
<ma*******@hotm ail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com... Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser.
I could use a simple embedded dll, but then i lose the trust prompt that ClickOnce offers.
Any ideas?
Mark
Well the ClickOnce application isn't really being used as a User
Interface. In my case its simply a process that does some simple packet
forwarding. I would like the user interface to remain the brower and my
webpage.
I understand what you are saying though. The purpose of ClickOnce is to
provide a rich interface. But never the less, is there anyway I could
get the browser (webpage, browser or javascript) communicate with my
ClickOnce application? This wouldn't seem to be too far fetched since
the ClickOnce application is indeed started by the browser. I know I
can pass startup parameters through the query string, but i need to
communicate with the ClickOnce application throughout the duration of
its life time.
Thanks
Mark
Mark,
I can't see how ClickOnce would be of any use to you except for setup
only. Basically, you would use click once to set the permissions for the
controls you are going to embed in the browser, and from that point on, you
would just go to the pages with the controls embedded in it. There is no
reason for click once after that.
Click once is a distribution/setup technology. The only use it can be
to you here is to change the permission sets when need be. Your ClickOnce
app would then open the browser and go to your site. The browser will be
responsible at that point for pulling the control down (which you have set
the permissions for already).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
<ma*******@hotm ail.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com... Well the ClickOnce application isn't really being used as a User Interface. In my case its simply a process that does some simple packet forwarding. I would like the user interface to remain the brower and my webpage.
I understand what you are saying though. The purpose of ClickOnce is to provide a rich interface. But never the less, is there anyway I could get the browser (webpage, browser or javascript) communicate with my ClickOnce application? This wouldn't seem to be too far fetched since the ClickOnce application is indeed started by the browser. I know I can pass startup parameters through the query string, but i need to communicate with the ClickOnce application throughout the duration of its life time.
Thanks
Mark
To run a windows Forms app inside the browser, it would need to be a
userControl, and you would need to use the <OBJECT...
tag arrangement in a web page, that points to the url of the control dll.
Whether this can actually be configured with ClickOnce, don't know.
Peter
<ma*******@hotm ail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com... Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser.
I could use a simple embedded dll, but then i lose the trust prompt that ClickOnce offers.
Any ideas?
Mark This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Danny Tuppeny |
last post by:
I've been playing around with ClickOnce today, and it's all good stuff.
Except, that if I change my application to NOT be full trust (which seems to
make very little difference to the user prompt, which scares me!) but to be
installed on the start menu, it seems I don't have permission to call
CheckForUpdate()!
I understand that if I'm not a full trust app, I can't read the filesystem
etc., but not being able to update myself seems a bit...
|
by: Asaf |
last post by:
Hi,
After publishing my test application using ClickOnce with VS.NET 2005 I am
getting these warnings:
Warning: Could not download 'ClickOnce.application' from…
Warning: Could not download 'ClickOnce_1_0_0_3.application' from…
Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.config.deploy'
from…
Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.deploy' from…
|
by: moondaddy |
last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where
users can access it from. I created an application folder in IIS where I'm
trying to deployee to.
1) When the application folder was set to 'Allow scripts only', I get an
error:
Failed to connect to 'http://192.168.0.5/TransAct/'
with the following error:
|
by: Andrew86 |
last post by:
I have an application which requires a number of DLLs (unmanaged ansi C dlls)
to reside in the same directory as the application. I currently have these
dlls included in the project folder and marked as "content".
When I publish the application with ClickOnce and update my application -
these dlls (along with a .chm help file that doesnt change) keep being
redownloaded. From what I've read in all of the ClickOnce marketing hype, it...
|
by: M O J O |
last post by:
Hi,
I've have searched google, but can't find a solution to my problem.
Om my develloper machine, I use one app.config, but when I deploy, I need to
deploy another app.config.
The reason is, that on my develloper machine, my app.config sqlconnection is
pointing to my (local) database and I have several settings like
"Debug=True", but when I deploy (using ClickOnce), I need to use an
| |
by: Alex Bögli |
last post by:
Hi
I have a rather advanced deployment scenario and wanted to know, if anyone
has an idea how to accomplish that with ClickOnce:
We are deploying a 3-tier application with a client connecting to web
services, which then connect to a database. The tiers are all on different
nodes and we have around 1000 client users. We currently deploy the web
services with Wise and adjust the database (cluster) manually. The clients
should be...
|
by: =?Utf-8?B?R29yZG9uUw==?= |
last post by:
I have a windows form application being deployed using ClickOnce on Terminal
Services.
I am experiencing a problem where by the first user to run up the
application is successful and the app downloads and launches successfuly,
however if a second user logs on to terminal services and attempts to launch
the app then the "Verifying applications. This may take a few moments"
message does appear briefly and then disappears but no...
|
by: Jack |
last post by:
Hi there,
Apologies if this NG is off-topic but I can't find anything more appropriate
(feel free to let me know). I'm looking at ClickOnce as a possible
alternative to MSI and have poured through much of the docs trying to figure
out how to customize my app's install if possible. In my deployment scenario
users will be downloading the app from my web site in WYSIWYG fashion but
I'm stuck on the following issues:
1) I need to prompt...
|
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= |
last post by:
Hello,
I would like to know the best way to install an clickonce in .net 3.5 (we
use LINQ 8-D) published application on terminal server 2003
Do I have to install it on EVERY user that will use it ?
If so, all the files will be duplicated for every user ? in wich folder ?
If not, where will reside the application on the server ? how to make a
shortcut for the main "executable" for all the users pointing to that ?
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
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,...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |