Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 14th, 2004, 10:01 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kevinLai
Default A problem about windwos service

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Messagebox Problem in window Service monika.vasvani ASP.NET 1.0 and 1.1 Professional 1 January 3rd, 2009 05:22 PM
Problem while using terminal service saranvanan .NET Framework 1.x 0 June 29th, 2006 12:33 AM
Problem in UnInstalling Windows Service pratik28 General .NET 2 May 25th, 2006 03:15 AM
Problem when downloading web service??? joan .NET Web Services 2 May 16th, 2004 06:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.