Windows Forms Documentation Updates

We're the Windows Forms User Education team at Microsoft. We use this space to update folks on developments with Windows Forms docs, publishing doc updates before they're published. Feel free to ask us questions about WinForms, and we'll do our best to an

Browse by Tags

Tagged Content List
  • Blog Post: InPlaceHostingManager: Why Does AssertApplicationRequirements() Throw a TrustNotGrantedException?

    As you may remember , InPlaceHostingManager is a part of the ClickOnce API that enables a .NET application to download and install other ClickOnce applications. It's pretty straightforward to use - but there may be one area that trips you up. I was chatting in email with an MVP about why his InPlaceHostingManager...
  • Blog Post: SQL Server Express, Windows Forms, and ClickOnce

    I'm working on a project that will be included in a white paper, and needed to use SQL Server Express 2005 as a database engine. Being the "ClickOnce guy" on the Windows Forms doc team, I immediately wondered: How will I deploy this once it's ready? Fortunately, Robert Walters already answered that question...
  • Blog Post: Conflict Between ClickOnce and Kensington Mouseworks Causes ClickOnce Applications to Crash

    The ClickOnce development team has just alerted us that the current versions of Kensington Mouseworks software have a bad problem in one of their driver DLLs that crashes all ClickOnce applications. The bug occurs in a DLL that is loaded with every Windows process,and crashes that process if the executable...
  • Blog Post: ClickOnce: How to Dynamically Detect Data Directory Between Debug, Release, and Publish

    Dynamically Detecting the Data Directory My Slideshow control ( which I discussed in a previous post ) looks in a data directory called images for the images it wishes to display. This adds a curious twist to application development and deployment. When I deploy an application using ClickOnce, I will...
  • Blog Post: ClickOnce: Installing FrontPage Server Extensions 2002 on IIS 6.0 for Publishing

    In order to test some ClickOnce deployments today, I had to configure a new Web server to allow ClickOnce publishing through Visual Studio. ClickOnce deployments can be x-copied to a Web server, so not having that auto-publish capability is not the end of the world. However, after testing one of my ClickOnce...
  • Blog Post: ClickOnce Identities: What They Are, Why You Should Care

    I haven't written much in the ClickOnce docs about the concept of a ClickOnce identity. Recent support inquiries have shown me that an understanding of this concept can help solve some very confusing problems. What is a ClickOnce Identity ? The identity of a ClickOnce application is expressed...
  • Blog Post: Debugging Partially Trusted ClickOnce Apps

    Shawn over at the .NET Security Blog has a great tip about using gflags to debug a ClickOnce app that fails to execute correctly in partial trust. Check it!
  • Blog Post: ClickOnce: Using On Demand Assembly Download in Partial Trust

    A while back, I posted some information on how to get on demand assembly download to work for ClickOnce applications . As MVP Corrado Cavalli noted to me privately, however, this technique will not work in partial trust - and yet, the download APIs themselves are designed to work in partial trust! ...
  • Blog Post: Deploying Satellite Assemblies On Demand in a ClickOnce Application

    Need to deploy satellite assemblies for your ClickOnce app? One way to do it would be to generate a new deployment for each localized version of your app, and include only the satellite assembly required for each localized version. Needless to say, if you localize to a number of cultures, this will result...
  • Blog Post: Boneheaded .NET Error of the Day

    [Can I say "boneheaded" on MSDN? If this post disappears in an hour, you'll know I've received an email from HR...] As a Programmer/Writer for Windows Forms, I develop code examples in both C# and Visual Basic.NET. Today, I was finishing up a code example for a new SDK topic on ClickOnce and localization...
  • Blog Post: ClickOnce and Firefox

    Saurabh Pant is posting tons of great information about ClickOnce these days. Today, he has a great article explaining why ClickOnce apps can't be launched from Firefox - and what the ClickOnce team plans to do about it.
  • Blog Post: Specifying Individual Support URLs for ClickOnce Prerequisites

    I just finished a bunch of work on the ClickOnce documents regarding Platform Detection, which ClickOnce uses to check that the operating system and installed CLR are of the appropriate version, and also that any controls required to be installed in the GAC are installed. If ClickOnce detects that one...
  • Blog Post: ClickOnce File Patching

    Saurabh Pant, a PM on the Windows Forms team (and former ClickOnce tester) has some great info up on how ClickOnce uses file patching to streamline application update downloads . We'll be adding this to the official docs this week.
  • Blog Post: InPlaceHostingManager: Install ClickOnce Applications Programmatically

    System.Deployment.Application.InPlaceHostingManager lets you download ClickOnce applications using a programmatic API, making it perfect for managed SMS installs, or for creating a custom Windows Forms "dashboard" application that lets your customers install all available ClickOnce apps from a menu....
  • Blog Post: Setting ClickOnce Content Types under IIS

    We had some information in our original ClickOnce Troubleshooting doc about how to set content (MIME) types up in Internet Information Server if you didn't have .NET Framework installed. In a nutshell, when you fetch the .application file for a ClickOnce deployment, the server must return a Content-Type...
  • Blog Post: New Doc Updates - ClickOnce: How to Download Assemblies on Demand

    I've just wrapped up a set of changes to the docs for ClickOnce and Application Settings that should be coming out within the next several months. A big change was revising the docs for doing on demand downloads with ClickOnce. The doc set that shipped with RTM was broken in several respects. It's all...
Page 1 of 1 (16 items)