on 09.13.01 6:16 PM, jbv wrote:

> When I run the app as an MC stack (from the MC application),
> it works (I mean : if I open FR.MC in MC and run the script
> open process "F:/UK.EXE"
> it works OK.
> 
> But as soon as FR.MC is converted into a standalone (FR.EXE),
> it doesn't work : "open process..." doesn't work, but "close this stack"
> 
> works OK.
> All .MC and .EXE are in the same directory, so I don't think it's a
> directory problem...
> 
> I'm sure I missed something, but what ?????

I think the fundamental error here is converting the two stacks to
standalones - you only need one. Make your launcher stack (the one with the
two buttons) a standalone; put your 2 principal stacks in a subdirectory.
When the user clicks on one of the two buttons, just "go" to the correct
stack and, if needed, hide the launcher. (Set the stackfiles of the launcher
stack on startup, using the path to the launcher as your base.) If the user
can switch between the two, be sure to close one before opening the other.

The launcher can be a mainstack for common data used by both stacks - like
images for icons, scripts for the back or front, and special substacks (like
ask/answer or whatever. You don't close it until you quit.

I use this strategy extensively and it always works.

tereza

+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ <www.attainmentcompany.com>
+ 800.327.4269


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to