❔ 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
Fred
Fred2y ago
Look up ProcessStartInfo and Process.Start()
어부지망생
어부지망생OP2y ago
i have already tried them but it doesn't work it executes process but i can't see ui
jcotton42
jcotton422y ago
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
Fred
Fred2y ago
Does setting ProcessWindowStyle to Normal work ?
jcotton42
jcotton422y ago
no Windows Services run under a completely different desktop what are you actually trying to accomplish? like the end goal @Maladofeu
어부지망생
어부지망생OP2y ago
Em.. actually i want to execute ui in service like teamviewer.. And thanks for helping me both of you 🙂 @jcotton42 is it possible?
jcotton42
jcotton422y ago
yes, but idk how you'd do it
어부지망생
어부지망생OP2y ago
Can u explain me how to doit?
jcotton42
jcotton422y ago
... I just said I don't know how like, it's obviously possible since things like TeamViewer exist but I don't know how
어부지망생
어부지망생OP2y ago
Ah ok 😦
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server