re: Background Color on Win XP - Undocumented Feature!

2002-09-17 Thread miscdas


 On Saturday, September 14, 2002, at 11:23 AM, Ken Ray wrote: 

  But apparently you've hit on an undocumented feature of MC - the
  ability to
  create a comma-delimited item list in a variable without having to
  use an
  ampersand for concatenation. 

 See page 469 of Metacard User's Guide version 2.4 in the section on
 operators. 

 Dar Scott
== 

In MetaCard, just view the Help Stack: 

Help|Index  search for: operators
The Operators card is displayed.
Scroll down to Order 6 (concatenation)
(But why isn't concatenate in the Index?!?) 

I often wonder why users make so little use of the Help files included with 
applications... 

miscdas 
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Confirming a Save command

2002-09-17 Thread Shari

I've tested this procedure out, and have found that on the Macintosh
platform, if the stack being saved is locked, the save command produces a
copy of the stack with the same name and followed by a tilde.  One also
gets a message in the result variable which says Can't open stack file.
If you save a second time, the message in result is Can't open stack
backup file.

If it's the wording that bothers you, you can go into the Metacard 
Menu Bar stacks and change the wording.  I did that with the Save 
dialog stack, to use File instead of Stack.  I have not used it in a 
standalone yet, but it works fine in development mode.

Then just make sure to embed/import that stack into your project.

Also, my current project has a save file.  This file is critical to 
the program.  It reads the file on launch, pulls out a bunch of 
information such as user preferences, high scores, etc. and puts them 
into the program, since a standalone cannot remember.  The program 
saves to this file often, behind the scenes.  If the file gets 
mangled, the program will follow.

So I have a set of data on card 2 of the save stack, a set of 
default information.  When it launches, it checks the status of the 
saved data on card 1.  Making sure numbers are numbers, if there are 
supposed to be 5 items, there are.  If a value is supposed to be A or 
B, it is one of them.  And if this check fails, the stack will pull 
the default data from card 2, which doesn't change, put it into 
card 1, and launch in default mode.  The user will have to reset 
preferences and create new high scores, but at least they won't have 
to reinstall the program, if the data gets mangled.

Shari C
-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



[ANN]: VAPP, V4RB, V4MD, V4WS, VSDK, VCSDK, VXCMD 1.9.6 beta16

2002-09-17 Thread Ruslan Zasukhin

Hi Everybody,

I have made a lots of *Valentina house* clean up work here,
In particular I have convert all product projects to CodeWarrior 8 format,
polish Macho versions of products, ...

Now you can download 1.9.6 b16 for most products.

* FIXED crash of V4RB on Jaguar.

* FIXED LIKE problem with non-English languages on Windows.

* FIXED small problem with encryption and indexes.

* introduced VXCMD macho version for MetaCard and Revolution.

Please test this latest beta.
It must be stable and good even for release.

-- 
Best regards,
Ruslan Zasukhin  [ I feel the need...the need for speed ]
-
e-mail: [EMAIL PROTECTED]
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list
send a letter to [EMAIL PROTECTED]
-

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Looking For Suggestions

2002-09-17 Thread Scott Rossi

I've got a standalone that needs to run on Windows as a single instance (no
multiple instances of the same app).  I'm looking for suggestions on how to
prevent duplicate launches of the same app (the app may also be installed in
more than one location on the same machine).

I'm familiar with the open apps function of the EXT DLL, but I'm trying to
avoid use of this since it makes my apps unstable.  I've also toyed with the
idea of writing an app busy message to the registry or a temp file on the
drive, but I can't figure out how to determine if the app that created the
message is running

As far as I know, MC has no built-in way to get a list of open processes
other than those it has already launched.

Searching the Web, I came across this document -- might there be some way to
use the code here via the shell or shell(start...) function?

http://www.mvps.org/access/api/api0007.htm

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Looking For Suggestions

2002-09-17 Thread Robert Chiasson

- Original Message -
From: Scott Rossi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 8:36 PM
Subject: Looking For Suggestions


 I've got a standalone that needs to run on Windows as a single instance
(no
 multiple instances of the same app).  I'm looking for suggestions on how
to
 prevent duplicate launches of the same app (the app may also be installed
in
 more than one location on the same machine).

 I'm familiar with the open apps function of the EXT DLL, but I'm trying to
 avoid use of this since it makes my apps unstable.  I've also toyed with
the
 idea of writing an app busy message to the registry or a temp file on
the
 drive, but I can't figure out how to determine if the app that created the
 message is running


I'm new to this MetaCard stuff, but it seems to me to be an easy exercise in
logic - if the busy message is there to be read, then another instance of
the program is running, and the running instance will clean up after itself
by removing the message before it exits?

So if you find the temp variable, shut down.

--
Robert


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Looking For Suggestions

2002-09-17 Thread Scott Rossi

 I've got a standalone that needs to run on Windows as a single 
 instance
 (no
 multiple instances of the same app).  I'm looking for suggestions on 
 how
 to
 prevent duplicate launches of the same app (the app may also be 
 installed
 in
 more than one location on the same machine).

 I'm familiar with the open apps function of the EXT DLL, but I'm 
 trying to
 avoid use of this since it makes my apps unstable.  I've also toyed 
 with
 the
 idea of writing an app busy message to the registry or a temp file 
 on
 the
 drive, but I can't figure out how to determine if the app that 
 created the
 message is running


 I'm new to this MetaCard stuff, but it seems to me to be an easy 
 exercise in
 logic - if the busy message is there to be read, then another instance 
 of
 the program is running, and the running instance will clean up after 
 itself
 by removing the message before it exits?

 So if you find the temp variable, shut down.

Thanks for the suggestion. However, it doesn't take into account a 
situation where the app is unable to clean up after itself, such as 
after a system crash.  Then the system would be stuck with an app 
busy message and be unable to launch the app at all.  If there was a 
way to identify the app busy message with, for example, an addressable 
ID of the running app, your solution could work, but right now I can't 
see how this is possible.

This problem is a little more complicated than it seems. :-)

Regards,

Scott Rossi
Creative Director, Tactile Media

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Looking For Suggestions

2002-09-17 Thread Yennie
There may be something more elegant, but how about a time-stamped file?
Could your app just stamp the current time into the file once per minute?
A second app could then check if the file is "alive" by checking the time contained within.

One other trick that might work: what if the main app opens up a socket or other means of IAC? Then the secondary app could attempt to "ping" it locally.

Brian


Re: Looking For Suggestions

2002-09-17 Thread Robert Chiasson

Works for me.

--
Robert


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 10:50 PM
Subject: Re: Looking For Suggestions


 There may be something more elegant, but how about a time-stamped file?
 Could your app just stamp the current time into the file once per minute?
 A second app could then check if the file is alive by checking the time
 contained within.




___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Looking For Suggestions

2002-09-17 Thread andu



--On Tuesday, September 17, 2002 16:36:09 -0700 Scott Rossi 
[EMAIL PROTECTED] wrote:

 I've got a standalone that needs to run on Windows as a single instance
 (no multiple instances of the same app).  I'm looking for suggestions on
 how to prevent duplicate launches of the same app (the app may also be
 installed in more than one location on the same machine).

 I'm familiar with the open apps function of the EXT DLL, but I'm trying to
 avoid use of this since it makes my apps unstable.  I've also toyed with
 the idea of writing an app busy message to the registry or a temp file
 on the drive, but I can't figure out how to determine if the app that
 created the message is running

I find it hard to believe that windows doesn't keep a list of all running 
processes like NIX does that your app could check before opening.
I did a quick look and found taskmgr.exe, see if you can do something 
with that.


 As far as I know, MC has no built-in way to get a list of open processes
 other than those it has already launched.

 Searching the Web, I came across this document -- might there be some way
 to use the code here via the shell or shell(start...) function?

 http://www.mvps.org/access/api/api0007.htm

 Thanks for any suggestions.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design
 -
 E: [EMAIL PROTECTED]
 W: http://www.tactilemedia.com

 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard




Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: Looking For Suggestions

2002-09-17 Thread Chipp Walters

Scott,

Don't know if this helps but

executing

mem /p

from a dos window will return all running programs.
So, you might be able to run a batch file which prints out the running
programs and check it from there..

-Chipp

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Rossi
 Sent: Tuesday, September 17, 2002 6:36 PM
 To: [EMAIL PROTECTED]
 Subject: Looking For Suggestions


 I've got a standalone that needs to run on Windows as a single
 instance (no
 multiple instances of the same app).  I'm looking for suggestions
 on how to
 prevent duplicate launches of the same app (the app may also be
 installed in
 more than one location on the same machine).

 I'm familiar with the open apps function of the EXT DLL, but I'm trying to
 avoid use of this since it makes my apps unstable.  I've also
 toyed with the
 idea of writing an app busy message to the registry or a temp
 file on the
 drive, but I can't figure out how to determine if the app that created the
 message is running

 As far as I know, MC has no built-in way to get a list of open processes
 other than those it has already launched.

 Searching the Web, I came across this document -- might there be
 some way to
 use the code here via the shell or shell(start...) function?

 http://www.mvps.org/access/api/api0007.htm

 Thanks for any suggestions.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design
 -
 E: [EMAIL PROTECTED]
 W: http://www.tactilemedia.com

 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard