Wrox Programmer Forums
|
Visual Basic 2008 Professionals For advanced Visual Basic coders working in version 2008. Beginning-level questions will be redirected to other forums,
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2009, 07:04 PM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default Creating File Associations

Hi,
I would like to know, when my application first runs up on someones computer how i can assess what files the user wants to be associated with my application. So when sed user double clicks this associated file my application springs to life and does what i want it to do.

Along with this file association get my specified icon to be associated with it.

Now please don't;
- Tell me to search on google because thats not helpful!
- Tell me its to do with registry and leave it there
- Tell me anything like the above

It is not an easy subject, at the moment i believe its a myth or dark kept trade secret!

Please give me a worked example with plenty of explanations of what and when and where etc.

Thanks in advance
__________________
Apocolypse2005, I'm a programmer - of sorts.
 
Old July 11th, 2009, 08:25 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

Hi,
Well it's not a myth, it's to do with the registry.

I search on google for "Creating File Associations visual basic" and this was the first result, which gives you a worked example as a good starting point:

http://www.codeproject.com/KB/vb/VBFileAssociation.aspx





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a txt file sanderson Visual Basic 2008 Essentials 2 January 8th, 2009 01:24 PM
Creating help file Amitava Deewan Beginning VB 6 0 February 7th, 2006 10:47 AM
Creating CAB file as_prabahar ASP.NET 1.0 and 1.1 Professional 0 December 10th, 2005 02:33 AM
Visual Studio file associations... shenku ASP.NET 1.0 and 1.1 Professional 0 July 13th, 2005 07:54 AM
File Associations and Opening FIles snowy0 VB.NET 2 October 8th, 2004 04:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.