Hey... I think there was already thread with simillar topic. but there was nothing useful to me... so i decided to create a new topic to take help from you. Well the question is really simple. I have developed a Windows service application and console application. i am looking to launch my console application through windows service. So tell me friends if you are aware of the thing that i have posted above... Many thanks in advance...
ManthanB
0
Light Poster
Recommended Answers
Jump to PostYou can, by creating a process that runs the executable, very straightforwarding. However, you may run into issues because it will not run on the logged in terminal.
Services don't run in any terminal window (your desktop) and so you will never see your app window. There is a way …
Jump to PostSimplest way is
Process.Start("YourAppHere.exe");
It can get more complex if necessary, but I don't think you'd need anything else other than that.
Jump to PostAre you trying to launch it from your service still? I already told you that you won't see it appear.
To actually make it appear, you need to know how to use P/Invoke and have knowledge of the Windows API. The general suggestion is that you don't do it. If …
All 10 Replies
Ketsuekiame
860
Master Poster
Featured Poster
ManthanB
0
Light Poster
Ketsuekiame
860
Master Poster
Featured Poster
ManthanB
0
Light Poster
Ketsuekiame
860
Master Poster
Featured Poster
ManthanB
0
Light Poster
Ketsuekiame
860
Master Poster
Featured Poster
ManthanB
0
Light Poster
Ketsuekiame
860
Master Poster
Featured Poster
ManthanB
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.