473,387 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to identify and represent new file extension with an icon

I have a program that is writing hexdecimal only in a file( random character). Regardless the content of the file, I named the file with *.sse extension. How can I represent these type of files with new icon, so the icon appears with .sse extension instead the default icon. Using visual studio and the operating system is windows XP.
May 19 '10 #1
4 2366
Studlyami
464 Expert 256MB
Im not sure how to do that programatically, but I'm sure somewhere within the deployment project you can find the option for file association. To do this manually in windows XP open up Explorer. Then goto Tools->Folder Options. Then go to the file types tag and scroll through the list until you see the extension your looking for (or add the new extension to the list if it isn't there). Once you have the file extension you want highlighted click on advance and you will see the options for icon association as well as a few other things.

If you really need this done programatically you may have better bet posting this question under the development forum under the programming language in which the program is written.
May 19 '10 #2
ThatThatGuy
449 Expert 256MB
@Salim Zaabi
Fiddling with the registry ... registers a new file extension... google a bit on these ....
May 20 '10 #3
Hi Sir,
I have looked through the internet to answer my question, but articles I found are ot helping much.
Would anybody help??
Jun 1 '10 #4
Hi Studlyami,

Thanks for your response, but I'm looking for programatic way if any.
Jun 1 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Els | last post by:
If I use <? include "file.html"; ?> in the html of my document, do I _have_ to change the extension of that document to .php, or would it still work and be valid if I let it remain .html? --...
2
by: Ven | last post by:
does anyone know where the docs are (or sample code) to register an extension so that FileExplorer launches your application when the user double clicks your file? i havent seen this in the...
1
by: john | last post by:
I have an exe console app that i wrote, which works on custom data files. I'd like to give these data files a custom extension and somehow register that file extension with my exe, so all i have to...
1
by: moquet.laurence | last post by:
In the registry, File extension's icons are stored like this : filename,resource_number. How can I extract the specific resource number from this file (using .Net framework)?
1
by: Víctor | last post by:
I'm doing a kind of file explorer with some additional funcionalities. The problem is that I'm not able to draw file extension icons in a ListView. I know how obtain icons, but when I try to draw...
1
by: Erik Cruz | last post by:
Hi. My application has a page where users can click on some links to download documents. When testing the page I noticed an strange behaviour. One of the links points to a .pps file. When I...
1
by: Andy G | last post by:
I hate to post just a general error like this but one of my clients that coded this system is getting an error when loading a page. I know that you can't point out the specific problem so forget...
7
by: Shane Story | last post by:
I want to be able to get the icon associated with a certain file extension. I can read the registry hkey_classes to get the ext. then look to the other key for default icon. How can I then...
2
by: Shilpa | last post by:
Hi All, I want to write C# code to identify a file type and open the file in the associated editor. For example, text files should be identified and opened in notepad, html should be opened in...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.