Although it doesn't appear so from your post, I assume that you want to do this programmatically or you would probably be posting the question in a Windows help forum. ;-)
Yes, you will need to play with the Registry. Essentially you have to create a new sub key in HKCR for that file extension(or create a key for a new file extension) and indicate the command to be executed. Here's a good article on the subject: http://www.codeproject.com/KB/vb/VBFileAssociation.aspx If you're not too keen on understanding the intricacies of the Registry, you might consider using Mentalis' component for this purpose : http://www.mentalis.org/soft/class.qpx?id=5 On Nov 9, 11:12 am, Tom <[EMAIL PROTECTED]> wrote: > I wrote an application that submits an XML document to a web service. > I want to be able to right click a file with a .xml extension and have > it execute my program. How do I do this? There must be some registry > key I have to set. Thanks for the help.
