Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Pfotenhauer21-May-11 1:20
Pfotenhauer21-May-11 1:20 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Luc Pattyn21-May-11 2:19
sitebuilderLuc Pattyn21-May-11 2:19 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Pfotenhauer21-May-11 5:26
Pfotenhauer21-May-11 5:26 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Luc Pattyn21-May-11 5:39
sitebuilderLuc Pattyn21-May-11 5:39 
QuestionProblem with Process.Start("WINWORD.EXE", selectedFile); [modified] Pin
_Q12_20-May-11 6:51
_Q12_20-May-11 6:51 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak20-May-11 7:02
mveDave Kreskowiak20-May-11 7:02 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 7:25
_Q12_20-May-11 7:25 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Luc Pattyn20-May-11 7:37
sitebuilderLuc Pattyn20-May-11 7:37 
Assuming Word is installed and is the default app to process .doc files, there is a much simpler alternative:
Process.Start(myDocFilePath);


This is equivalent to double-clicking "myDocFilePath" inside Windows Explorer, it doesn't care about spaces, and it doesn't need to know where your Word app is and what it is actually called.

Smile | :)

BTW: what you wrote earlier, then removed, wasn't correct; a partial success is not a proof of correctness!
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 7:45
_Q12_20-May-11 7:45 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak20-May-11 7:50
mveDave Kreskowiak20-May-11 7:50 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 7:57
_Q12_20-May-11 7:57 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak20-May-11 11:06
mveDave Kreskowiak20-May-11 11:06 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
AspDotNetDev20-May-11 13:29
protectorAspDotNetDev20-May-11 13:29 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak21-May-11 3:12
mveDave Kreskowiak21-May-11 3:12 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Luc Pattyn20-May-11 8:18
sitebuilderLuc Pattyn20-May-11 8:18 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak20-May-11 7:41
mveDave Kreskowiak20-May-11 7:41 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 7:49
_Q12_20-May-11 7:49 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Alan N20-May-11 7:45
Alan N20-May-11 7:45 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 8:06
_Q12_20-May-11 8:06 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Ghydo20-May-11 8:44
Ghydo20-May-11 8:44 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 8:50
_Q12_20-May-11 8:50 
QuestionRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Luc Pattyn20-May-11 9:11
sitebuilderLuc Pattyn20-May-11 9:11 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 9:20
_Q12_20-May-11 9:20 
QuestionWindows Service host for WCF service will not stay running ("starts | Says there is nothing to do | Stops") [modified] Pin
Alaric_20-May-11 5:26
professionalAlaric_20-May-11 5:26 
AnswerRe: Windows Service host for WCF service will not stay running ("starts | Says there is nothing to do | Stops") Pin
Alaric_20-May-11 6:27
professionalAlaric_20-May-11 6:27 

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.