Click here to Skip to main content
16,004,901 members
Home / Discussions / C#
   

C#

 
AnswerRe: Best Practices? Pin
jlach0113-Feb-05 5:05
jlach0113-Feb-05 5:05 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 7:00
protectorHeath Stewart13-Feb-05 7:00 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:07
jlach0113-Feb-05 7:07 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 7:12
protectorHeath Stewart13-Feb-05 7:12 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:22
jlach0113-Feb-05 7:22 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 21:37
protectorHeath Stewart13-Feb-05 21:37 
QuestionHow to assign an icon to a file format Pin
oohungoo12-Feb-05 16:49
oohungoo12-Feb-05 16:49 
AnswerRe: How to assign an icon to a file format Pin
Heath Stewart13-Feb-05 7:05
protectorHeath Stewart13-Feb-05 7:05 
Read Creating a File Association[^] in the MSDN Library. This is typically the job of an installer, and if you use the Windows Installer project in Visual Studio you can do this easily by following the instructions in File Types Management in Deployment[^].

Some applications will conditionally or unconditionally associate file types when the application starts or options are changed. Media players are a good example of conditionally associate file types with an icon (and, more importantly, their application) because common file types (.mp3, .wav, etc.) can be played by multiple players. The more friendly players allow you to select which extensions are handled and whether or not to enforce those while the application is running. It really depends on whether or not you expect other editors to be able to handle your file type.

To do that, you need to follow the instructions in the first link using the Microsoft.Win32.Registry and Microosft.Win32.RegistryKey classes.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
Generalcan't figure what's wrong with this code Pin
Pyro Joe12-Feb-05 14:07
Pyro Joe12-Feb-05 14:07 
GeneralRe: can't figure what's wrong with this code Pin
Colin Angus Mackay12-Feb-05 15:51
Colin Angus Mackay12-Feb-05 15:51 
GeneralRe: can't figure what's wrong with this code Pin
leppie12-Feb-05 22:24
leppie12-Feb-05 22:24 
GeneralRe: can't figure what's wrong with this code Pin
Colin Angus Mackay13-Feb-05 5:24
Colin Angus Mackay13-Feb-05 5:24 
Generalhowto create one packages that contains all the dll's Pin
Gedrain12-Feb-05 13:24
Gedrain12-Feb-05 13:24 
GeneralRe: howto create one packages that contains all the dll's Pin
Colin Angus Mackay12-Feb-05 15:56
Colin Angus Mackay12-Feb-05 15:56 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain13-Feb-05 8:55
Gedrain13-Feb-05 8:55 
GeneralRe: howto create one packages that contains all the dll's Pin
Colin Angus Mackay13-Feb-05 10:23
Colin Angus Mackay13-Feb-05 10:23 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain13-Feb-05 10:25
Gedrain13-Feb-05 10:25 
GeneralRe: howto create one packages that contains all the dll's Pin
Sebastian Schneider14-Feb-05 2:45
Sebastian Schneider14-Feb-05 2:45 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain14-Feb-05 3:13
Gedrain14-Feb-05 3:13 
GeneralDetect when application has been idle Pin
Luis Alonso Ramos12-Feb-05 12:51
Luis Alonso Ramos12-Feb-05 12:51 
GeneralRe: Detect when application has been idle Pin
Colin Angus Mackay12-Feb-05 16:00
Colin Angus Mackay12-Feb-05 16:00 
GeneralRe: Detect when application has been idle Pin
Member 9612-Feb-05 16:49
Member 9612-Feb-05 16:49 
GeneralRe: Detect when application has been idle Pin
Colin Angus Mackay13-Feb-05 5:06
Colin Angus Mackay13-Feb-05 5:06 
GeneralRe: Detect when application has been idle Pin
Member 9613-Feb-05 9:55
Member 9613-Feb-05 9:55 
GeneralRe: Detect when application has been idle Pin
Luis Alonso Ramos13-Feb-05 7:22
Luis Alonso Ramos13-Feb-05 7:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.