Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problems opening Form2 Pin
DaveyM692-Jun-08 11:38
professionalDaveyM692-Jun-08 11:38 
GeneralRe: Problems opening Form2 [modified] Pin
C# Beginner Nick2-Jun-08 11:55
C# Beginner Nick2-Jun-08 11:55 
GeneralRe: Problems opening Form2 Pin
Christian Graus2-Jun-08 17:13
protectorChristian Graus2-Jun-08 17:13 
GeneralRe: Problems opening Form2 Pin
Hum Dum2-Jun-08 21:03
Hum Dum2-Jun-08 21:03 
GeneralRe: Problems opening Form2 Pin
MarkB7772-Jun-08 18:32
MarkB7772-Jun-08 18:32 
GeneralRe: Problems opening Form2 Pin
darkelv2-Jun-08 20:13
darkelv2-Jun-08 20:13 
GeneralRe: Problems opening Form2 Pin
DaveyM693-Jun-08 1:49
professionalDaveyM693-Jun-08 1:49 
QuestionWindows Service and SystemFileWatcher Pin
KaptinKrunch2-Jun-08 9:57
KaptinKrunch2-Jun-08 9:57 
Hi,

Can a windows service run a console application?

Basically my goal is to have a windows service with a FileSystemWatcher monitor a directory. If that directory has any MS Word documents in it, convert them to pdf and then move them to their final resting place.

I've created the windows service, it finds the files and starts a MS Word in the background. But on the line that opens a document, it fails. I presume because its running from a windows service and MS Word is probably trying to display some dialog. So my thinking is that if I move the conversion functionality to a console app and just let the windows service do the monitoring it will work.

Thanks for the feedback!

Just because we can; does not mean we should.

AnswerRe: Windows Service and SystemFileWatcher Pin
DaveyM692-Jun-08 10:20
professionalDaveyM692-Jun-08 10:20 
GeneralRe: Windows Service and SystemFileWatcher Pin
KaptinKrunch2-Jun-08 10:24
KaptinKrunch2-Jun-08 10:24 
QuestionQuerying LDAP and AD Pin
mabby2162-Jun-08 8:34
mabby2162-Jun-08 8:34 
AnswerRe: Querying LDAP and AD Pin
Kythen2-Jun-08 12:56
Kythen2-Jun-08 12:56 
QuestionSNMP Set Command Problem Pin
zoiomon2-Jun-08 8:02
zoiomon2-Jun-08 8:02 
QuestionNeed Immediate Help Pin
Saiyed Alam2-Jun-08 7:56
Saiyed Alam2-Jun-08 7:56 
AnswerRe: Need Immediate Help Pin
Christian Graus2-Jun-08 8:13
protectorChristian Graus2-Jun-08 8:13 
GeneralRe: Need Immediate Help Pin
Saiyed Alam2-Jun-08 8:31
Saiyed Alam2-Jun-08 8:31 
GeneralRe: Need Immediate Help Pin
Christian Graus2-Jun-08 8:42
protectorChristian Graus2-Jun-08 8:42 
GeneralRe: Need Immediate Help Pin
Saiyed Alam2-Jun-08 16:31
Saiyed Alam2-Jun-08 16:31 
AnswerRe: Need Immediate Help Pin
User 66582-Jun-08 8:21
User 66582-Jun-08 8:21 
Questionpliz tell me name of exercise book C#??? Pin
mbaz2-Jun-08 5:46
mbaz2-Jun-08 5:46 
AnswerRe: pliz tell me name of exercise book C#??? Pin
Christian Graus2-Jun-08 5:55
protectorChristian Graus2-Jun-08 5:55 
JokeRe: pliz tell me name of exercise book C#??? Pin
Guffa2-Jun-08 8:26
Guffa2-Jun-08 8:26 
AnswerRe: pliz tell me name of exercise book C#??? Pin
GuyThiebaut2-Jun-08 9:57
professionalGuyThiebaut2-Jun-08 9:57 
QuestionZip and Unzip using Proces.StartInfo Pin
JustRonald2-Jun-08 5:00
JustRonald2-Jun-08 5:00 
AnswerRe: Zip and Unzip using Proces.StartInfo Pin
Giorgi Dalakishvili2-Jun-08 6:37
mentorGiorgi Dalakishvili2-Jun-08 6:37 

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.