ClickOnce and Setup & Deployment Projects - Windows Forms
Recent update: 2008-3-21

What do I need to do to deploy controls that target Windows XP Themes?

327 byte By codefund.com at 2008-3-7
I have 3 projects 1- A User control that has a button on it - FlatStyle is set to System.2- I embed this control in a Windows Form Project and run it - The look is XP - good.3- I embed the same control in an html page, I can see the button. The look is NOT XP - ?What am I missing ...

Embedding a word Window in VB.NET word app

271 byte By codefund.com at 2008-3-6
Hello All, Is it possible to embed a word (window) inside a rich client. I'm currently working on a rich client and would like to open a downloaded document within the windows form itself. Any ideas or suggestions would greatly appreciated. thanks, chris

http compression when download assemblies from IIS

142 byte By codefund.com at 2008-3-5
Is there any way to use http 1.1 compresion for the exe and dll asemblies hosted on IIS? I hope this will increase first download performance.

Accessing Cookies From Windows Forms

267 byte By codefund.com at 2008-3-3
Hi, I'm embedding a windows form within a web page. Is there anyway of being able to acess the cookies in the web page from the windows forms? I can pass them in as parameters but I was wondering whether I could access them directly from the form. Thanks Phil.

Smart Client Error

354 byte By codefund.com at 2008-3-1
I'm trying to host my application in IIS.When I attempt to access my application (ie: http://www.mysite.com/myapp.exe) it downloads all the assemblies correctly but when it tries to run it throws a "System.TypeIntialization" exception... this seems to be thrown by System.Drawing.I ...

IE Hosted Control loading Assembly/Module built with C++

698 byte By codefund.com at 2008-2-28
I have a UserControl which should use constants from a C++ header file which I've modified to generate managed types (called cppLib).My control is hosted in IE. I haven't been able to build my control such that: 1. The cppLib is included in my control's assembly DLLor 2. cppLib is loaded ...

Smart Client Deployment

632 byte By codefund.com at 2008-2-27
Greetings.I've created a little application that fires from a web link and does some functions. I cannot get the application to fire consistently on all machines in my office. I followed all the instructions for setting security and such on the machines, and I still cannot get the app to fire ...

why so slow when database controls were involved?

458 byte By codefund.com at 2008-2-26
i wrote an application, which was meant to be deployed via web server using smart client technology.however, i found that it is very SLOW for client pc to start the application. it could take one minute to start an 8kb application. i checked and checked, then i realized it was my datagrid which ...

Q305624 hosting controls from the filesystem

2154 byte By codefund.com at 2008-2-25
I'm attempting to host a windows forms control derived from the localfilesystem in an html page within IE 6 according to the procedures layed outin http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305624to test this I've been using the SimpleHost example from the SDK's quickstart ...

Web Deploying - Using Config Files?

426 byte By codefund.com at 2008-2-24
Hi All,I am creating a win app that is deployed via Web/No Touch/Internet/Zero Deployment (pick a name, any name :) and am running into problems with the config file. My app uses a config file for settings etc that I don't want compiled, but when I run the program it doesn't appear to ...

.EXE.CONFIG for an IIS deployed EXE

901 byte By codefund.com at 2008-2-23
I'm trying to get an application to run from the address bar. The application is running fine, it's just failing when it attempts to read the .exe.config file which contains some vital settings for the app.The exception I'm getting is a WebException with the error "The remote server ...

Office Document Editing using Rich Client

681 byte By codefund.com at 2008-2-22
Hello all,I'm currently working on a prototype for creating a rich client using which users can download documents downloaded from the server (check out), edit them and then send it back to the server (check in). For this purpose I'm working on a user control that has is signed (using SN ...

How do I deploy a .Net app on a PC without the framework installed?

696 byte By codefund.com at 2008-2-22
Hi,Sorry, I know this is probably very simple but I am fighting a deadline and need a quick answer (please!).I have a standalone VB.Net app which compiles and runs perfectly on any machine with the framework installed... but when I shift it to a machine that doesn't the app doesn't work. ...

Deploying a Win Form via Web Server

902 byte By codefund.com at 2008-2-21
I'm trying to setup a web server on my intranet to deploy windows forms applications. I've written a VERY simply app, the classic "Hello World" and have successfully tested launching the app from my local machine (ex. http://localhost/helloworld/helloworld.exe)When I move the app to ...

Adding events through a DispInterface has created a problem

1190 byte By codefund.com at 2008-2-20
I want to expose events from my IE hosted control to JScript.I added a DispInterface to my control to accomplish this, thusly:[Guid("1F98211C-7A71-4588-8D4A-AD85CA80BAE7")][InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]public interface IWvfCtrlCOMEvents{[DispId(0x60020000)]void ...

Exposing User Control Properties and Methods to IE

893 byte By codefund.com at 2008-2-20
I have created a WinForms UserControl and it loads and displays in IE fine. I'm adding an external interface so that it can be 'driven' by JScript in IE. <OBJECT id="wvf" height="500" width="800" ...

IE Controls

301 byte By codefund.com at 2008-2-20
For more help on IE Controls (in case you are having difficulty over here), you can visit the ASP.Net Forums at <a href=" http://www.asp.net/forums"> http://www.asp.net/forums</a>.I have posted an announcement over there trying to get the Windows guru's to come on over! :) ...

multiple part question about the appupdater component.

1336 byte By codefund.com at 2008-2-19
I downloaded the component and got the sample to work fine. Excellent component!!! I do have a few questions, though... 1) Suppose I'm using an N-tiered solution and update some of the DLL's in my middle tier. When I recompile my executable on the top tier, will the component copy over all ...

RemotingConfiguration.Configure does not Work with Web Deployd Applications

596 byte By codefund.com at 2008-2-18
HelloI am developing an application to be deployed over web, nothing except Framework must be installed on the PC.Everything was working properly until the day i had the idea to use remoting, and tu use .exe.config file....HUGE disappointement when i saw that the command ...

Permissions required for a DataSet inside a Control

253 byte By codefund.com at 2008-2-17
Hi, which Permissions do I need when a Control uses internally a typed DataSet? In general I've no problems with User Controls in IE, but I've one that contains a DataSet object and that doesn't get loaded due to a security exception. Jürgen

Repost: Security exceptions calling a web service

8164 byte By codefund.com at 2008-2-16
Hi, I actually posted this in the security forum without much response, I thought perhaps this forum might generate a little more help.We're getting a Reflection security exception trying to consume a web service. We're running our application from the intranet zone which is suppose to grant ...

Debugging Security exceptions

1747 byte By codefund.com at 2008-2-15
I'm looking for more tools to debug winforms apps deployed to IE.I have a winforms control embedded in an html page with an object tag. It often fails to load for no apparent reason. My solution consists of two dll's (SimpleControl and otherlib). Otherlib is statically linked to ...

Async calls to webservice

2911 byte By codefund.com at 2008-2-15
Hi,I'm working on a intranet solution.I'm trying to call asynchronously a web service on the same server and virtual directory of the aspx page (the one that generates the html with the <object ...> tag).The smart client actually gets a dataset from the webservice and displays it on a ...

Debugging Windows forms applications hosted in IE

1910 byte By codefund.com at 2008-2-15
I'm very confused about how to debug Windows Forms applications hosted in IE.I've adapted the Microsoft Sample SimpleControl as a test bed. I'm trying to understand how to debug and avoid security exceptions. I launch my application from IE using the link<A ...

Passing arguments to DOTNET's href'ed Executables

273 byte By codefund.com at 2008-2-15
I had developed a tool which exposes the executable to the web which works wonderfully fine. Now the problem is in the session Integration. I will have to use a way to pass a value(like sessionId or UserId) to the executable. How do i do this? It's very urgent...

Deploying web forms

119 byte By codefund.com at 2008-2-15
Someone had suggested the idea of deploying web form apps via a web page. Has anyone seen any information on this idea?

Security Pane

529 byte By KunalYadav at 2008-2-14
Hi,Whenever I click on the Security Pane in the Project Designer, I get the following error. I am using Whidbey Betat 2 on Win XP SP2 machine. Is this a beta bug? I know i can configure it using Mage, but just wanted to see the Security Pane.DataGridView Default Error DialogThe following ...

Online Application Problem

3834 byte By KunalYadav at 2008-2-14
Hi,I have a win form application which deploys a COM DLL on the client machine, registers it and calls a function from it. The COM DLL was in my bin folder of the application and i had added a reference to it to generate the interop dll. Then i had copied the COM DLL to the corresponding ...

3rd party software as prerequisite, NGen, publish.htm secure ...

844 byte By StevenGuo at 2008-2-13
1. I have an application need 3rd party software installed as prerequisite. I could install one 3rd party software (exe-based) via ClickOnce following Jacob's webcast and his suggestion on his weblog. But doesn't work for a MSI based software. Everytime it failed and told me:return code: 1603 ...

Test Certificate Signing problem

650 byte By KunalYadav at 2008-2-13
Hi,I have created a test certificate using VS 2005 and installed it in the Trusted Root Certification Authorities and Trusted Publishers. I have set my manifests to be signed by this certificate. Then I am publishing it into an intranet zone ie http://<machinename>/<appname>When i ...

Launching application after install

415 byte By DanMoreira at 2008-2-12
I'm would like to know how can i launching the application that i'm installing ...I would like that just after the user exits the setup program, both windows services and they manager application (they are both part of the setup program) starts automatically !!Do i have to do a custom action ...

Struggling to integrate publish into our existing deployment mode

13950 byte By MarkLevison at 2008-2-11
I’m trying to figure how to do our deployments. We already have a 1.1 No Touch Deployment (NTD) application and are converting to ClickOnce. Our exsiting application uses NTD for both a client embedded in the browser and launching an application. The launched applications have been turned into ...

ClickOnce Signing Problem

947 byte By jeffroberts at 2008-2-10
I have a problem deploying my ClickOnce application. I have built my Clickonce application with visual studio 2005 Beta 2 and signed the Manifests with a Verisign Code signing certificate. I publish it to my IIS server and then run it from my development pc and it installs and runs ok. I then ...

deployment provider problem

944 byte By jeffroberts at 2008-2-10
I have a problem deploying my ClickOnce application. I have built my Clickonce application with visual studio 2005 Beta 2 and signed the Manifests with a Verisign Code signing certificate. I publish it to my IIS server and then run it from my development pc and it installs and runs ok. I then ...

Exception when rising event to javascript from the UserControl's worker thread.

657 byte By PanitW. at 2008-2-8
I have a UserControl hosted in Internet Explorer. I create a worker thread to do some task and want to fire an event when the worker thread finish working.The event works fine, javascript can caugth it, when it fired from the main thread or from the code in external event handler such as Button ...

Command line arguments passed through URL?

100 byte By jooolaaab at 2008-2-8
Is it possible to access/pass command line arguments for a Windows Forms exe launched from browser?

How do I NOT include the .NET Framework in my Setup & Deployment package?

299 byte By skbergam at 2008-2-7
I decided I needed to have my setup project include the .NET Framework so I installed the "Microsoft Visual Studio .NET 2003 Bootstrapper Plug-in". So it works great and all but now I don't know how to have my Setup project NOT include the .NET Framework. How do I turn it off? Thanks in advance!!!

Publish to Remote Website using ClickOnce

1045 byte By lkinney at 2008-2-7
I am trying to publish a windows forms solution to a remote website. I use ftp://ftp.mydomain.com/projectname/ as the publishing location. I use http://www.mydomain.com/projectname/ as the installation url. The update location is the same as publishing location. The files all get to the right ...

Internet zone

736 byte By viliescu at 2008-2-7
Hi, I have problems with applications deployed using ClickOnce from the Internet zone. I have created a sample application (just a form with a button that makes an illegal operation in this zone - looks if a file exists). http://www.valil.com/TestExpress/TestExpress.zip I have set the zone to ...

Custom/Typical Deployment Dialog

528 byte By Rick_in_Alpharetta at 2008-2-7
I have created a dialog using the radio button dialog to get from the user custom or typical deployment option. And because I have a limited number of custom options I can use the checkbox dialog for those. But how do I get the flow to determine whether or not to display the custom dialog based ...

Windows Form w/Internet Explorer

783 byte By ErikRead at 2008-2-6
Has something changed between .Net Framework 1.1 and 2.0 concerning the ability to use Windows forms in IE.In 1.1 I wrote a class library and then used it via the <OBJECT> tag in IE. I could access the public methods and properties of the DLL via javascript as well as using the ...

How do I start Windows service from VS2005 Setup/Install project

720 byte By EsrarChowdhury at 2008-2-6
Hi! I would like to know how to start a Windows service from the Visual Studio 2005 Beta Setup/Install project. So far, I have been able to successfully generate the .msi and setup.exe files. My software installs properly on the target machine ... all the files are installed where they need to ...

Problems with MIME settings at the hosting provider

1001 byte By viliescu at 2008-2-5
Hi, My web hosting company is www.brinkster.com and I have asked them to enable MIME type for ".application". After a short period of time, the extension was not recognized anymore (404 Page not found) so I have asked them to reenable the settings. This is what I have received from their ...

VS.Net 2005 Beta 2 - Installer Project - How do we enable quiet install on setup.exe

837 byte By Rodboy at 2008-2-5
Product: Visual Studio .Net 2005 Beta 2RequirementBuild an Installer Project with the ability to accept a quiet argument.If the quiet argument is specified the installer should go a head and install any pre-requisites rather than prompting...This is for the setup.exe and not the ...msi file ...

Keeping settings between Clickonce updates

331 byte By simmy at 2008-2-4
HiI am using ClickOnce deployment and application settings.I am developing a small pice of software for my friends and using click once to update it, but after every upddate the app loses its user settings (my.settings)How can I persist them through updates?im sure im missing somthing ...

.spc .pvk - now what?

303 byte By JuanRoman at 2008-2-4
Hello, I need to sign my application. And I've already have a .pvk and a .spc. I've already managed to sign my assembly using signtool.exe but I want to configure automatic signing using Visual Studio. What do I need to do with those files I have in order to set the Strong Name and ...

ClickOnce - Internet zone

693 byte By viliescu at 2008-2-4
I have developed an application which requires full trust but I am also interested to make a stripped-down version of it which will run in Internet zone (without elevating the permissions or adding the site to Trusted sites).From what I have read, the UIPermission for this zone is ...

ClickOnce Feature / Bug Fix Requests

2215 byte By JBrown9264 at 2008-2-4
As many of the regulars on this forum know I have been toying around with the ClickOnce deployment feature in Whidbey Beta 2 for a few days now. And while there are alot of things I really like about the feature it still leaves a little bit to be desired. Below is a list of features / bug fixes ...

Error When Adding a Native DLL

484 byte By JBrown9264 at 2008-2-3
I am trying to add a dll to my solution so that it will install with ClickOnce installations. I have tried the steps outlined in other threads on this forum to no avail.I have prepared a web site with screenshots showing how am I trying to accomplish this. Please take a ...

Application Failed - Invalid Manifest

5392 byte By danielgary at 2008-2-3
This is the first time I have actually used the Publish... function in VS .NET 2005 Beta 2, so maybe I am missing something obvious...I do the publish, and everything comes out fine, except for two warnings: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets : warning : ...