Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can run a application when a file click such as pdf files that run acrobat reader ? Pin
J a a n s17-Sep-07 4:08
professionalJ a a n s17-Sep-07 4:08 
AnswerRe: how can run a application when a file click such as pdf files that run acrobat reader ? Pin
BoneSoft17-Sep-07 4:10
BoneSoft17-Sep-07 4:10 
You'll want to change the Main() method of Program.cs to Main(string[] args), and pass them along to your main Form constructor. And of course your main Form will need another constructor that accepts a string array. In that constructor you can look at the string array for file names, and do with them as you please.

To register the file association, you can do that manually, or if you have an install project you can set up file associations there too.



Try code model generation tools at BoneSoft.com.

QuestionHow to break For Loop.... Pin
KETAN.RK17-Sep-07 3:42
KETAN.RK17-Sep-07 3:42 
AnswerRe: How to break For Loop.... Pin
Giorgi Dalakishvili17-Sep-07 3:45
mentorGiorgi Dalakishvili17-Sep-07 3:45 
AnswerRe: How to break For Loop.... Pin
Pete O'Hanlon17-Sep-07 5:06
mvePete O'Hanlon17-Sep-07 5:06 
QuestionSetting listbox items to the registry Pin
Lucy17-Sep-07 3:32
Lucy17-Sep-07 3:32 
AnswerRe: Setting listbox items to the registry Pin
Giorgi Dalakishvili17-Sep-07 3:43
mentorGiorgi Dalakishvili17-Sep-07 3:43 
GeneralRe: Setting listbox items to the registry Pin
Lucy17-Sep-07 3:51
Lucy17-Sep-07 3:51 
GeneralRe: Setting listbox items to the registry Pin
Giorgi Dalakishvili17-Sep-07 3:58
mentorGiorgi Dalakishvili17-Sep-07 3:58 
GeneralRe: Setting listbox items to the registry Pin
Lucy17-Sep-07 4:04
Lucy17-Sep-07 4:04 
GeneralRe: Setting listbox items to the registry Pin
Giorgi Dalakishvili17-Sep-07 4:11
mentorGiorgi Dalakishvili17-Sep-07 4:11 
GeneralRe: Setting listbox items to the registry Pin
Lucy17-Sep-07 4:21
Lucy17-Sep-07 4:21 
GeneralRe: Setting listbox items to the registry Pin
Giorgi Dalakishvili17-Sep-07 5:12
mentorGiorgi Dalakishvili17-Sep-07 5:12 
QuestionHow can I set Multi Folder Watcher?? Pin
Rakesh B Singh17-Sep-07 3:11
Rakesh B Singh17-Sep-07 3:11 
AnswerRe: How can I set Multi Folder Watcher?? Pin
Giorgi Dalakishvili17-Sep-07 3:23
mentorGiorgi Dalakishvili17-Sep-07 3:23 
QuestionRe: How can I set Multi Folder Watcher?? Pin
Rakesh B Singh17-Sep-07 23:28
Rakesh B Singh17-Sep-07 23:28 
AnswerRe: How can I set Multi Folder Watcher?? Pin
Giorgi Dalakishvili17-Sep-07 23:30
mentorGiorgi Dalakishvili17-Sep-07 23:30 
QuestionRe: How can I set Multi Folder Watcher?? Pin
Rakesh B Singh18-Sep-07 18:33
Rakesh B Singh18-Sep-07 18:33 
QuestionChange the location of the Shared add-in User.Config File Pin
Seenu_prabakar17-Sep-07 3:03
Seenu_prabakar17-Sep-07 3:03 
AnswerRe: Change the location of the Shared add-in User.Config File Pin
originSH17-Sep-07 3:12
originSH17-Sep-07 3:12 
QuestionPersisting collections - Serialization Problem??? Pin
Johnny J.17-Sep-07 3:00
professionalJohnny J.17-Sep-07 3:00 
Questionfile sharing for web applications Pin
gbabu1717-Sep-07 2:24
gbabu1717-Sep-07 2:24 
AnswerRe: file sharing for web applications Pin
Pete O'Hanlon17-Sep-07 2:56
mvePete O'Hanlon17-Sep-07 2:56 
GeneralRe: file sharing for web applications Pin
gbabu1717-Sep-07 3:45
gbabu1717-Sep-07 3:45 
GeneralRe: file sharing for web applications Pin
gbabu1717-Sep-07 3:48
gbabu1717-Sep-07 3:48 

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.