ผมสร้าง
windowsService
ขึ้นมาหนึ่งตัว โดยตรง onStart ของ windowsService
ตัวนั้น ผมใส่ code ให้เรียก ใช้ class
ที่ทำหน้าที่รัน .exe
ที่เป็น Windows Form ขึ้นมาทำงาน ซึ่งพอนำ
windowsService ตัวนี้ไป Install ลงเครื่องแล้ว สั่งให้มัน
Start ปรากฏว่า มันรัน Process ของโปรแกรมที่ผมเรียก แต่ไม่ปรากฏ
windowForm ขึ้นมา
เป็นเพราะสาเหตุอะไรครับ และมีวิธีแก้ปัญหาอย่างไร
Supa Sethasiripong [MSFT]
MSDN Community Support |
Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.