Author: Roy Eassa
Date: 12:53:54 04/07/02
Go up one level in this thread
On April 07, 2002 at 06:53:59, Luca Dormio wrote: >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 Thank you to both of you, however neither of these is the issue at the moment. I think my next step is to abandon VB and try something else (maybe VC++ next?). Ultimately I'd like to use Tcl/Tk so it can be cross-platform, but it would be nice to get SOMETHING to work reliably on Windows first. Income taxes and family issues will probably prevent much further progress until next weekend or later. All 3 versions of the app I created worked partially but each ran into a different roadblock. I wish I had not begun with VB. I don't think it's well-suited to this sort of thing (although it does make it easy to put together a quick GUI).
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.