Code Library A repository of sample code

Enjoy an ad free experience by logging in. Not a member yet? Register.
Go Back  Xtreme .NET Talk > Knowledge Base > Code Library > How to LaunchAdvancedAssociationUI for real!

Thread Tools Display Modes
Old 01-16-2009, 04:17 AM
JumpyNET's Avatar
JumpyNET JumpyNET is offline

Preferred language:
Join Date: Apr 2005
Posts: 195
JumpyNET is on a distinguished road
Thumbs up How to LaunchAdvancedAssociationUI for real!

Windows Vista comes with a new feature called Default Programs (which replaces the Set Program Access and Default and File Types feature from Windows XP). This feature provides a way of changing program defaults, such as file and protocol associations and AutoPlay settings.

To save us most of the trouble, David Kean has gone ahead and written a small wrapper around the IApplicationAssociationRegistrationUI::LaunchAdvancedAssociationUI method, which displays the file association window for a particular application.

The usage of this method is simple:
System.Windows.DefaultApplications.ShowAssociationsWindow("Internet Explorer")
Here is a link for the source code and a pre compiled dll:
Reply With Quote


Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Player woes! hog Graphics and Multimedia 2 09-01-2005 05:34 AM
Help, anybody? I have a real problem here! notlamc ASP.NET 13 05-05-2004 05:43 PM
Real Time C# sanira Random Thoughts 2 12-22-2003 12:21 PM
Real Newbie to DB phreaky Database / XML / Reporting 4 12-13-2002 05:18 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..