Subject: A problem about windwos service
Posted By: kevinLai Post Date: 11/14/2004 9:01:22 AM
Hi, I have created a windows service using VB.NET, in the service, I start a new process by executing the following code:

    System.Diagnostics.Process.Start("TWSWTCP.EXE", "F26.DAT 1")

the execution of "TWSWTCP.EXE" will generate some txt files. When I test these code in windows application, it works well and the txt files are generated, but when I test it in this windows service, the txt files are not generated. How does this problem happen? Is there any way to solve it?
  
    ps: I've set the account of the service to be "Local Service" in the ServiceProcessInstaller, which is said to be able to access almost all the resources of the computer

Thanks


Go to topic 21687

Return to index page 717
Return to index page 716
Return to index page 715
Return to index page 714
Return to index page 713
Return to index page 712
Return to index page 711
Return to index page 710
Return to index page 709
Return to index page 708