Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do I open a file? Pin
MoustafaS28-Apr-07 12:15
MoustafaS28-Apr-07 12:15 
AnswerRe: How do I open a file? Pin
Dave Kreskowiak28-Apr-07 12:55
mveDave Kreskowiak28-Apr-07 12:55 
GeneralRe: How do I open a file? Pin
c.bartsch28-Apr-07 22:35
c.bartsch28-Apr-07 22:35 
GeneralRe: How do I open a file? Pin
lmoelleb28-Apr-07 22:59
lmoelleb28-Apr-07 22:59 
GeneralRe: How do I open a file? Pin
c.bartsch28-Apr-07 23:47
c.bartsch28-Apr-07 23:47 
GeneralRe: How do I open a file? Pin
Dave Kreskowiak29-Apr-07 2:19
mveDave Kreskowiak29-Apr-07 2:19 
GeneralRe: How do I open a file? Pin
c.bartsch29-Apr-07 8:41
c.bartsch29-Apr-07 8:41 
GeneralRe: How do I open a file? Pin
Dave Kreskowiak30-Apr-07 7:55
mveDave Kreskowiak30-Apr-07 7:55 
c.bartsch wrote:
But what is the difference when UseShellExecute is true?


If you don't turn ShellExecute on you have no choice but to launch an actual executable file, not a document file.


c.bartsch wrote:
And IS there a possibility for me to get a list of each program associated with an extension?


Sure, you have to parse all of the the registry keys under HKEY_CLASSES_ROOT to get the various pieces of information you need. The problem with this is that there isn't one method, or one location under every key that gives you this information. Various things have to be parsed and other values chased down and followed to find all the information. This is NOT a good idea.


Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionHow to improve Windows application performance? Pin
engsrini28-Apr-07 11:14
engsrini28-Apr-07 11:14 
AnswerRe: How to improve Windows application performance? Pin
kubben28-Apr-07 12:57
kubben28-Apr-07 12:57 
Questionnew Double Buffering Pin
HexaDeveloper28-Apr-07 10:58
HexaDeveloper28-Apr-07 10:58 
AnswerRe: new Double Buffering Pin
Christian Graus28-Apr-07 14:19
protectorChristian Graus28-Apr-07 14:19 
GeneralRe: new Double Buffering Pin
HexaDeveloper29-Apr-07 2:37
HexaDeveloper29-Apr-07 2:37 
GeneralRe: new Double Buffering Pin
HexaDeveloper29-Apr-07 5:06
HexaDeveloper29-Apr-07 5:06 
Questionhelp me-sth like a blog and commenting Pin
sanaziuse28-Apr-07 7:39
sanaziuse28-Apr-07 7:39 
AnswerRe: help me-sth like a blog and commenting Pin
Colin Angus Mackay28-Apr-07 8:56
Colin Angus Mackay28-Apr-07 8:56 
GeneralRe: help me-sth like a blog and commenting Pin
sanaziuse28-Apr-07 9:14
sanaziuse28-Apr-07 9:14 
GeneralRe: help me-sth like a blog and commenting Pin
Colin Angus Mackay28-Apr-07 9:39
Colin Angus Mackay28-Apr-07 9:39 
GeneralRe: help me-sth like a blog and commenting Pin
sanaziuse28-Apr-07 10:29
sanaziuse28-Apr-07 10:29 
GeneralRe: help me-sth like a blog and commenting Pin
Colin Angus Mackay28-Apr-07 11:07
Colin Angus Mackay28-Apr-07 11:07 
AnswerRe: help me-sth like a blog and commenting Pin
Christian Graus28-Apr-07 14:21
protectorChristian Graus28-Apr-07 14:21 
QuestionDataGridView Combobox Column Pin
Mohammed Elkholy28-Apr-07 6:53
Mohammed Elkholy28-Apr-07 6:53 
QuestionPrinting Alignment Pin
Richard Blythe28-Apr-07 6:36
Richard Blythe28-Apr-07 6:36 
QuestionC# RichTextBox DragDrop Pin
User 208927228-Apr-07 6:08
User 208927228-Apr-07 6:08 
QuestionTime Pin
Anka_Ame28-Apr-07 4:43
Anka_Ame28-Apr-07 4:43 

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.