❔ execute winform application by using windows service
i have already made winform application and it works properly but i want to make winform program executed by windows service is it possible ? and if it is impossible then please tell me the reason why.
11 Replies
Look up ProcessStartInfo and Process.Start()
i have already tried them but it doesn't work
it executes process but i can't see ui
why are you starting it with a service?
windows services run under their own context, and don't have access to the user's desktop
Does setting ProcessWindowStyle to Normal work ?
no
Windows Services run under a completely different desktop
what are you actually trying to accomplish?
like the end goal
@Maladofeu
Em.. actually i want to execute ui in service like teamviewer..
And thanks for helping me both of you 🙂
@jcotton42 is it possible?
yes, but idk how you'd do it
Can u explain me how to doit?
... I just said I don't know how
like, it's obviously possible since things like TeamViewer exist
but I don't know how
Ah ok 😦
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.