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

C#

 
AnswerRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
EliottA18-Dec-09 5:29
EliottA18-Dec-09 5:29 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 5:44
Tomb42118-Dec-09 5:44 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Luc Pattyn18-Dec-09 5:50
sitebuilderLuc Pattyn18-Dec-09 5:50 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Dave Kreskowiak18-Dec-09 6:59
mveDave Kreskowiak18-Dec-09 6:59 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 8:14
Tomb42118-Dec-09 8:14 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Dave Kreskowiak18-Dec-09 9:30
mveDave Kreskowiak18-Dec-09 9:30 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 11:27
Tomb42118-Dec-09 11:27 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Ravi Bhavnani18-Dec-09 16:13
professionalRavi Bhavnani18-Dec-09 16:13 
Tomb421 wrote:
if I ever isolate why the same code works in the Windows Form but not in the Windows Service.

As Luc pointed out, the code works in your WinForms app because the mapping only exists in the process running the WinForms app.  The mapping hasn't been defined in the process in which the service runs.

/ravi

My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42121-Dec-09 1:56
Tomb42121-Dec-09 1:56 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Ravi Bhavnani21-Dec-09 6:02
professionalRavi Bhavnani21-Dec-09 6:02 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42124-Dec-09 1:49
Tomb42124-Dec-09 1:49 
Questionc# form on focus Pin
benjamin yap18-Dec-09 5:08
benjamin yap18-Dec-09 5:08 
AnswerRe: c# form on focus Pin
EliottA18-Dec-09 5:28
EliottA18-Dec-09 5:28 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 5:33
benjamin yap18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 5:33
EliottA18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
jashimu18-Dec-09 5:54
jashimu18-Dec-09 5:54 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 5:55
sitebuilderLuc Pattyn18-Dec-09 5:55 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 6:13
benjamin yap18-Dec-09 6:13 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 6:27
sitebuilderLuc Pattyn18-Dec-09 6:27 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 6:46
EliottA18-Dec-09 6:46 
QuestionSAPI Training From Wav File Pin
mudrugger18-Dec-09 4:24
mudrugger18-Dec-09 4:24 
AnswerRe: SAPI Training From Wav File Pin
Migounette18-Dec-09 13:42
Migounette18-Dec-09 13:42 
GeneralRe: SAPI Training From Wav File Pin
mudrugger18-Dec-09 14:17
mudrugger18-Dec-09 14:17 
GeneralRe: SAPI Training From Wav File Pin
Migounette19-Dec-09 7:01
Migounette19-Dec-09 7:01 
GeneralRe: SAPI Training From Wav File Pin
mudrugger21-Dec-09 2:17
mudrugger21-Dec-09 2:17 

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.