Computer Chess Club Archives


Search

Terms

Messages

Subject: Chest GUI in VB under XP: inconsistent behavior

Author: Roy Eassa

Date: 11:59:55 04/06/02



I have gone through several iterations in my attempt to create a simple GUI to
facilitate giving the contents of the clipboard to Chest under Windows.  In each
case I ran into problems that I believe are specific to either Microsoft Windows
in general, to just Windows XP, to Visual Basic 6, or the interaction between
them WinXP & VB.

The most recent symptom is as follows:

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:

chest -b -Z 15 Chester!.tmp

where the contents of Chester!.tmp are (in either case):

8/8/8/p7/8/8/R6p/2K2Rbk w - - ce 1;

Most of the time, Chest either does not run at all or perhaps runs and quits
so quickly as to be nearly undetectable.


Any ideas / help appreciated!



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.