Click here to Skip to main content
15,906,558 members
Home / Discussions / C#
   

C#

 
AnswerRe: the ~ operator preceding constructor Pin
Scott Dorman6-Sep-06 21:15
professionalScott Dorman6-Sep-06 21:15 
Questionassigning stretchable background image at run time Pin
Ravikumar Patra5-Sep-06 21:38
professionalRavikumar Patra5-Sep-06 21:38 
AnswerRe: assigning stretchable background image at run time Pin
ejuanpp5-Sep-06 22:25
ejuanpp5-Sep-06 22:25 
QuestionCellphone Dilemma [modified] Pin
L Viljoen5-Sep-06 21:38
professionalL Viljoen5-Sep-06 21:38 
AnswerRe: Cellphone Dilemma Pin
Ashley van Gerven5-Sep-06 22:06
Ashley van Gerven5-Sep-06 22:06 
AnswerRe: Cellphone Dilemma Pin
Steve S6-Sep-06 0:18
Steve S6-Sep-06 0:18 
AnswerRe: Cellphone Dilemma Pin
Xiangyang Liu 刘向阳6-Sep-06 1:28
Xiangyang Liu 刘向阳6-Sep-06 1:28 
AnswerRe: Cellphone Dilemma Pin
Tushar Kothari6-Sep-06 1:39
Tushar Kothari6-Sep-06 1:39 
QuestionGMap Control (Google Map) Pin
Cl.Kurtz5-Sep-06 20:56
Cl.Kurtz5-Sep-06 20:56 
AnswerRe: GMap Control (Google Map) Pin
MIHAI_MTZ5-Sep-06 23:27
MIHAI_MTZ5-Sep-06 23:27 
GeneralRe: GMap Control (Google Map) Pin
Cl.Kurtz6-Sep-06 2:51
Cl.Kurtz6-Sep-06 2:51 
GeneralRe: GMap Control (Google Map) Pin
MIHAI_MTZ6-Sep-06 20:52
MIHAI_MTZ6-Sep-06 20:52 
GeneralRe: GMap Control (Google Map) Pin
Cl.Kurtz7-Sep-06 3:10
Cl.Kurtz7-Sep-06 3:10 
Questionhow to add ocx file Pin
sanah s5-Sep-06 20:54
sanah s5-Sep-06 20:54 
AnswerRe: how to add ocx file Pin
ejuanpp5-Sep-06 22:50
ejuanpp5-Sep-06 22:50 
QuestionUsing ADOX in C#... code samples? Pin
myNameIsRon5-Sep-06 20:30
myNameIsRon5-Sep-06 20:30 
AnswerRe: Using ADOX in C#... code samples? Pin
Ravi Bhavnani6-Sep-06 1:17
professionalRavi Bhavnani6-Sep-06 1:17 
GeneralRe: Using ADOX in C#... code samples? Pin
myNameIsRon6-Sep-06 15:11
myNameIsRon6-Sep-06 15:11 
QuestionWeb browser problem Pin
Lord Jónsson5-Sep-06 20:16
Lord Jónsson5-Sep-06 20:16 
QuestionAssociating Files to a particular exe.. Pin
Rohit Dev5-Sep-06 19:59
Rohit Dev5-Sep-06 19:59 
AnswerRe: Associating Files to a particular exe.. Pin
Andrei Ungureanu5-Sep-06 20:22
Andrei Ungureanu5-Sep-06 20:22 
AnswerRe: Associating Files to a particular exe.. Pin
Nader Elshehabi6-Sep-06 0:01
Nader Elshehabi6-Sep-06 0:01 
Hello

This depends on wither the Application is yours or not. If it is your application do this:


1- In your setup:
a- Right Click on your setup project's name => View => File Types
b- Right Click on "File Types on Target Machine" => Add File Type

2- If you want to associate the filetype with another application that's not yours ignore this step. In your application, use Enironment.GetCommandLineArgs() to get the filename

If you want to make an application like a "Filetype associations editor". Edit the registry with it. In the registry, any file extension has a key to associate it with different applications that appear in the Open with... list if there are more than one application associated, and make one of them as default. For example, search your registry using RegEdit for "jpg". It will return all keys including associations with jpg files. Understand the structure and make your application editing all keys with the changes of the extension name. Shouldn't be too hard.

RegardsRose | [Rose]

AnswerRe: Associating Files to a particular exe.. Pin
Ravi Bhavnani6-Sep-06 1:22
professionalRavi Bhavnani6-Sep-06 1:22 
Questionproblem on capturing the browser close event Pin
gtechrohit5-Sep-06 19:51
gtechrohit5-Sep-06 19:51 
QuestionImage position in PictureBox? Pin
kbalias5-Sep-06 18:50
kbalias5-Sep-06 18:50 

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.