Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Image position in PictureBox? Pin
Andrei Ungureanu5-Sep-06 20:25
Andrei Ungureanu5-Sep-06 20:25 
QuestionCreating .exe file Pin
Max Gamer5-Sep-06 18:04
Max Gamer5-Sep-06 18:04 
AnswerRe: Creating .exe file Pin
Niiiissssshhhhhuuuuu5-Sep-06 19:38
Niiiissssshhhhhuuuuu5-Sep-06 19:38 
AnswerRe: Creating .exe file Pin
Corinna John5-Sep-06 20:12
Corinna John5-Sep-06 20:12 
AnswerRe: Creating .exe file Pin
Lord Jónsson5-Sep-06 20:18
Lord Jónsson5-Sep-06 20:18 
GeneralRe: Creating .exe file Pin
Max Gamer6-Sep-06 3:45
Max Gamer6-Sep-06 3:45 
Question.mp3 in to Byte Stream [modified] Pin
Niiiissssshhhhhuuuuu5-Sep-06 17:56
Niiiissssshhhhhuuuuu5-Sep-06 17:56 
AnswerRe: .mp3 in to Byte Stream Pin
Andrei Ungureanu5-Sep-06 20:31
Andrei Ungureanu5-Sep-06 20:31 
GeneralRe: .mp3 in to Byte Stream Pin
Niiiissssshhhhhuuuuu6-Sep-06 17:37
Niiiissssshhhhhuuuuu6-Sep-06 17:37 
GeneralRe: .mp3 in to Byte Stream Pin
Andrei Ungureanu6-Sep-06 19:50
Andrei Ungureanu6-Sep-06 19:50 
QuestionAdding a search to a toolstrip Pin
monrobot135-Sep-06 17:46
monrobot135-Sep-06 17:46 
Questionforms skins Pin
Mohammed Elkholy5-Sep-06 12:18
Mohammed Elkholy5-Sep-06 12:18 
AnswerRe: forms skins Pin
Nader Elshehabi5-Sep-06 12:28
Nader Elshehabi5-Sep-06 12:28 
QuestionAdvanced file properties Pin
HahnTech5-Sep-06 12:11
HahnTech5-Sep-06 12:11 

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.