Re: Database access through PHP?

2000-06-29 Thread Roger D. Ray

Geoff,

We use MetaCard as a custom application browser to talk to a set of FMPro
databases through Lasso.  It works fine once you figure out all the http
call formats for Lasso/FMP.

Roger

--
Dr. Roger D. Ray
Department of Psychology
Rollins College
Winter Park, FL 32789

adaptive instruction at www.psych-ai.com

cyberrat at www.psych-ai.com/cyberrat

--
From: Geoff Canyon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Database access through PHP?
Date: Wed, Jun 28, 2000, 6:39 PM


 I'm just curious if anyone has experimented with using web-database
 access tools, such as PHP, Lasso, ColdFusion, ASP, etc., in order to set
 up database access for a MetaCard client? It seems like it would be a
 pretty painless way to get at corporate data with MetaCard.

 Thanks,

 Geoff

 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
 

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Cutting and Pasting from One Field to Another

2000-06-29 Thread LORI FRAIND

Thank you for this suggestion, but no, I did not make either of these
modifications. The problem persists across several fields in a group. I am
also unable to copy to or from Word.

Lori

 -Original Message-
 From: Dave Cragg [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 28, 2000 6:46 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Cutting and Pasting from One Field to Another
 
 At 12:58 PM -0400 6/28/00, LORI FRAIND wrote:
 The cut and paste functions between fields do not seem to be working,
 even
 though they were working earlier today. Is there a way of (inadvertently)
 setting fields to not allow cut and paste? The cut function does not even
 seem to be working if I switch over to Word and try to paste the text
 there.
 
 Thanks.
 Hi
 
 Have you introduced any handlers that might trap the cut or paste 
 actions? rawKeyDown or commandKeyDown are the ones I can think of 
 that would do this.
 
 Cheers
 Dave Cragg
 _
 The LACS Centre (Business English Training Resources)
 mailto:[EMAIL PROTECTED]
 http://www.lacscentre.co.uk
 _
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Import paint file

2000-06-29 Thread Mark Lacy

I am trying to dynamically in script import a paint file into a card in a 
substack of my mainstack. However the image only comes into my 
mainstack. Any suggestions on how to point the import to the substack card 
and accomplish my goal?

TIA,

Mark Lacy
LetterPress Software, Inc.

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Building apps for other platforms

2000-06-29 Thread Jacqueline Landman Gay

If I use my Mac to build a Linux app or a Windows app, do I need to set
the stack's "look and feel" to the target platform before I do the
build, or will the engine do that automatically for me?

-- 
Jacqueline Landman Gay| [EMAIL PROTECTED]
HyperActive Software  |   [EMAIL PROTECTED]
Custom hypermedia solutions   | http://www.hyperactivesw.com
612.724.1596  |   612.724.1562 - fax


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Database access through PHP?

2000-06-29 Thread Pierre Sahores

Geoff Canyon wrote:
 
 I'm just curious if anyone has experimented with using web-database
 access tools, such as PHP, Lasso, ColdFusion, ASP, etc., in order to set
 up database access for a MetaCard client? It seems like it would be a
 pretty painless way to get at corporate data with MetaCard.
 
 Thanks,
 
 Geoff
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.

Not at this time but i have planed to work on this in september and it's
sure that PHP will be the simplest tool, if you need to use an MC
applications server to parse MySQL, PostGreSQL or Oracle databases to
the web.

For yet, i use only PHP3 as an MC TCP/IP sockets listener. Ask for the
PHP script privatly if interested ;-)

Best Regards, Pierre Sahores

CRDP de l'academie de Creteil
WEB, DB, ASP, VPN, B2B design

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Import paint file

2000-06-29 Thread Kevin Miller

On 29/6/00 5:41 pm, Mark Lacy [EMAIL PROTECTED] wrote:

 I am trying to dynamically in script import a paint file into a card in a
 substack of my mainstack. However the image only comes into my
 mainstack. Any suggestions on how to point the import to the substack card
 and accomplish my goal?

set the defaultStack to "mySubStackName"

Regards,

Kevin

 TIA,
 
 Mark Lacy
 LetterPress Software, Inc.

Kevin Miller [EMAIL PROTECTED] http://www.xworlds.com/
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Compress and decompress

2000-06-29 Thread Kevin Miller

On 29/6/00 8:23 am, Sjoerd Op 't Land [EMAIL PROTECTED] wrote:

 Hello all,
 
 When I was making a stack working with compressed files, but I had trouble,
 so I made a 'expiriment' stack with 3 fields:
 field "u" -- plain text
 field "c" -- contains compress(field "u")
 field "n" -- contains the charToNums of all chars in field "u"
 
 Example:
 I put "fghjdfhgjghjd" in field "u", press a button, and get 18 char string
 in field "c". But MetaCard says that is just contains 3 chars: charToNum
 31,139 and 8. OK, now I try to copy the compressed string to this e-mail:
 ã Weird, isn't it?
 
 Why does this happen? Is one of these chars delete or something?

Compressed data is binary - so you can't display it in a field.  That
explains the strange behaviour you have been seeing.  You need to convert it
to text if you want to copy, display or save it as text.  To do that, use
the base64encode function (then use base64decode and decompress to access
the data again).  If you're using the Starter Kit, you can also shorten this
to just one line for compress/encode and one for decompress/decode like
this:

put base64Encode(compress(the text of fld "whatever")) into tCompressedData
put decompress(base64decode(tCompressedData))

Regards,

Kevin

 Thanks for any suggestions in advance,
 Sjoerd

Kevin Miller [EMAIL PROTECTED] http://www.xworlds.com/
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




RE: Cutting and Pasting from One Field to Another

2000-06-29 Thread Raymond E. Griffith

I have to say that I have also had this problem. I would copy from a word
processor doc, and try to paste it into MC, but without success.

I discovered that part of the problem one time was that I had installed the
menu bar (which traps copy and paste commands without allowing them to
pass). When I edited the menu so that cut and paste had the appropriate
commands assigned in the menuButton, things got better.

But there was one time I had not installed the menubar, and I still had
trouble. I never found out what caused that one.

Raymond

 on 6/29/2000 4:15 PM, LORI FRAIND [EMAIL PROTECTED] wrote:
 
 Thank you for this suggestion, but no, I did not make either of these
 modifications. The problem persists across several fields in a group. I am
 also unable to copy to or from Word.
 
 Lori
 
 -Original Message-
 
 At 12:58 PM -0400 6/28/00, LORI FRAIND wrote:
 The cut and paste functions between fields do not seem to be working,
 even
 though they were working earlier today. Is there a way of (inadvertently)
 setting fields to not allow cut and paste? The cut function does not even
 seem to be working if I switch over to Word and try to paste the text
 there.
 
 Thanks.

Dave Cragg [SMTP:[EMAIL PROTECTED]] replied:
 Hi
 
 Have you introduced any handlers that might trap the cut or paste
 actions? rawKeyDown or commandKeyDown are the ones I can think of
 that would do this.
 
 Cheers
 Dave Cragg
 _
 The LACS Centre (Business English Training Resources)
 mailto:[EMAIL PROTECTED]
 http://www.lacscentre.co.uk
 _
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
 


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Output to text (beginner question ;-))

2000-06-29 Thread Dominique Delefortrie

Pierre Sahores ecrivait / wrote:

 Petit piège : on se croit sous HC, on prend ses aises et patatras ;-)

 open file laSortie for write (for read, for update)... il faut spécifier
 l'option. Va faire un tour du côté du menu "Help" pour les détails.

Nope.
He non : ça marche comme ça ;-)

But I think it is preferable to code with the explicit mode...

In fact, I forgot to "return" the parameter ;-

domi  (-8
mailto:[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Output to text (beginner question ;-))

2000-06-29 Thread Dominique Delefortrie

Scott Raney ecrivait / wrote:

 Also note that you could simplify this whole process using a URL:
 put recuperation(cartes) into url ("file:"  laSortie)

I will try this :-)

  put bg fld "letitre"  sep1  bg fld "letexte"  sep2 after larecup
end repeat

 I think you're missing a "return larecup" here...

Ahem! you are right (I am ashamed ;-))

That works :-)

Another question: is it possible to write the "recuperation" handler as a
property?
If yes, how to invoke it?

domi  (-8
mailto:[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.