Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

well, this topic maybe an old one but i guess i could ask it once more. my application creates files of a new extension name, i've created an icon for the file (of that extension name), but i don't know how to associate that. plus i also have an icon for the application itself, but i don't know how to associate that as well (like that of what you see on your desktop).

 

thanks.

Posted

For the application.

PROJECT>

> Properties 'down at the bottom

> Common Properties

> Build

 

And in the Build page there is the Application Icon. At that point it is set for Default Icon.

 

For a file. Are you talking like a Excel file or something like that? Usually when you see, say it is an excel file for example. The computer itself recognizes the file as an excel file, and the icon for excel will be placed to that file. Just like if you have a jpg file. What ever program the user uses on their program, the icon for that program is placed.

Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi
  • *Experts*
Posted

In the upper right hand corner of the IDE, in the Solution Explorer, Right click on your project's name and chose Properties. On the left hand side of the Properties screen click on Build. From there you can set your programs Icon.

 

edited: you just beat me to it Techmandb!!

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

  • Leaders
Posted
my application creates files of a new extension name[/Quote]

I think that this is a question pertaining to icons for file associations. If that is the case, I don't know the answer. You might want to check in the registry. I believe that file association information goes under HKEY_CLASSES_ROOT.

[sIGPIC]e[/sIGPIC]
Posted
For the application.

For a file. Are you talking like a Excel file or something like that? Usually when you see, say it is an excel file for example. The computer itself recognizes the file as an excel file, and the icon for excel will be placed to that file. Just like if you have a jpg file. What ever program the user uses on their program, the icon for that program is placed.

 

well, excel files are recognized by the computer because the computer obviously has an excel program installed in it, and the application has a set icon for the files. if the computer doesn't have one, the excel file is supposed to look like one of those files you see with a weird icon.

 

for example, my program creates (saves) files under .jeb extension name. obviously, the computer won't be able to recognize it so it shows an the icon for unkown files. but if i have my icon specifically for my app's files, how can i put the code so that whenever a file under that extension is created, the icon that i used will be shown and not the weird looking icon?

  • *Experts*
Posted
I personally use a third party setup and installation program that registers my program's extensions and icons. But, doesn't the VS MSI deployment program also accomplish this for you.

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...