|
-
Sep 23rd, 2007, 09:22 PM
#1
Thread Starter
New Member
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
-
Sep 23rd, 2007, 10:06 PM
#2
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.
-
Sep 23rd, 2007, 10:17 PM
#3
Thread Starter
New Member
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
-
Sep 23rd, 2007, 10:50 PM
#4
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
Please mark you thread resolved using the Thread Tools as shown
-
Oct 1st, 2007, 01:56 AM
#5
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|