Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chest GUI in VB under XP: inconsistent behavior

Author: Luca Dormio

Date: 03:53:59 04/07/02

Go up one level in this thread


On April 06, 2002 at 16:37:39, Christophe Theron wrote:

[SNIP]
>>When I run a DOS shell and type the following command manually, it works 100%
>>correctly.  When instead this EXACT SAME command is sent to the OS by my app
>>(using VB's "Shell" statement), it only works once in awhile:
[SNIP]
>I see one difference between starting it from a command line and starting it
>from the desktop: the environment variables might be different. You know, the
>ones you set with the "SET" DOS command.

Also, the "once in a while" seems to suggests problems with working directory...
give this a try (in VB):

ChDir <chest dir> 'forces the current directory
Shell <command>

Regards
Luca



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.