Default file extension icon
Hi All,
I am working on an application called budget planner. In this app, I can save my budget with a file extension .bpl only. Now this ".bpl" extension is provided by our application.
I want default icon attached to this file extension (similar to word document *.doc)
Can I do this in VB.Net and if yes can anyone show me a direction.
Thanks in advance,
Nimesh
Re: Default file extension icon
You create a Setup project to distribute your application and in that project you use the File Types Editor to create the file associations, including the icon to be used for each file type. The appropriate registry entries will then be created when you install your application.
Re: Default file extension icon
Thanks Sir,
I got it. So it means there may be many ways to do so. Have you got any idea how can we do it via code. I guess we need to do some registry coding but i m not sure. Can you guide me with that
Thanks in advance,
Nimesh
Re: Default file extension icon
This one wil be helpful to u.It is in C#. If u want to convert it to VB.net,then use the Code Convertor in my signature :)
Hope this helps
Re: Default file extension icon
Hi,
You gave me the below method for making file extension associations
Re: Default file extension icon
You create a Setup project to distribute your application and in that project you use the File Types Editor to create the file associations, including the icon to be used for each file type. The appropriate registry entries will then be created when you install your application.
BUT this procedure is only applicable if you are using InstallShield but I am using InstallScript...have you got any other idea on how to do this.
Thanks in advance,
Nimesh