Re: Windows firewall issues and Rev

2007-08-22 Thread Richard Miller
Still trying to get a handle on this problem. I've not been able to  
recreate it on my test computer. Only occurs on a computer of someone  
else testing our program.


The startup code we are using simply looks at directories on, and  
retrieves a few small files from, our remote server during the  
startup process. Everything is done using the "put url xxx into yyy"  
form. Why would this possibly be blocked by Windows Firewall? Turning  
off the firewall on this other computer allows the startup process to  
work fine. Turning it on blocks our program from starting up. I went  
so far as to add the name of our standalone app to the "exception"  
list in Windows Firewall on this other computer, but if the firewall  
is left on, the code is still blocked.


Is there a way to detect a problem like this during program startup  
so that we could at least warn the customer of the issue? I wish it  
was as simple as trying to pull a small data file from the server and  
then checking whether or not that process was successful, but the  
program simply hangs during the "put url..." process. It goes no  
further unless the firewall is turned off.


Thanks.
Richard Miller


On Aug 18, 2007, at 8:17 PM, Ken Ray wrote:


On Sat, 18 Aug 2007 09:38:34 -0400, Richard Miller wrote:

1. What would I need to do in Rev to cause the Firewall to kick  
into action?


One thing that would probably cause it would be to open a TCP (also
maybe UDP?) socket to another program...


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How am I supposed to answer a Post???

2007-08-22 Thread mfstuart


How exactly am I supposed to answer on this list?  

Guys, check out Nabble forums. Just register with them and use the following
link.
This site keeps the topic thread and it's easy to reply directly to the
group (which I'm doing) or to the author of the message:

http://www.nabble.com/Revolution---User-f2297.html

Nabble supports all types of user forums, and somehow reads the Revolution
users forum.

:0
Mark
-- 
View this message in context: 
http://www.nabble.com/How-am-I-supposed-to-answer-a-Posttf4300818.html#a12278175
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How am I supposed to answer a Post???

2007-08-22 Thread Mark Swindell

This is at first glance much cleaner and easier to navigate and use than is
g-mane.  This reply is coming from Nabble as a test. 
Thanks.
Mark




Len Morgan wrote:
> 
> How exactly am I supposed to answer on this list?  
> 
> Guys, check out Nabble forums. Just register with them and use the
> following link.
> This site keeps the topic thread and it's easy to reply directly to the
> group (which I'm doing) or to the author of the message:
> 
> http://www.nabble.com/Revolution---User-f2297.html
> 
> Nabble supports all types of user forums, and somehow reads the Revolution
> users forum.
> 
> :0
> Mark
> 

-- 
View this message in context: 
http://www.nabble.com/How-am-I-supposed-to-answer-a-Posttf4300818.html#a12279787
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How am I supposed to answer a Post???

2007-08-22 Thread Mark Swindell
The post from Nabble showed up instantly in my mailbox, so that is  
good.  This is coming from my email, to see how quickly Nabble sees it.

Mark

On Aug 22, 2007, at 10:55 AM, Mark Swindell wrote:



This is at first glance much cleaner and easier to navigate and use  
than is

g-mane.  This reply is coming from Nabble as a test.
Thanks.
Mark




Len Morgan wrote:


How exactly am I supposed to answer on this list?

Guys, check out Nabble forums. Just register with them and use the
following link.
This site keeps the topic thread and it's easy to reply directly  
to the

group (which I'm doing) or to the author of the message:

http://www.nabble.com/Revolution---User-f2297.html

Nabble supports all types of user forums, and somehow reads the  
Revolution

users forum.

:0
Mark



--
View this message in context: http://www.nabble.com/How-am-I- 
supposed-to-answer-a-Posttf4300818.html#a12279787

Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



The future ain't what it used to be.
- Yogi Berra


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Simulating a Click in a List Field

2007-08-22 Thread Gregory Lypny

Hello everyone,

I've got a list field with a mouseUp handler in it that takes me to  
different cards based on information in the line clicked.  How can I  
simulate clicking the first line?  The best (sadly) that I could come  
up with that works is this.


click at the topleft of fld "My List Field"

I also tried

select line 1 of fld "My List Field"
send mouseUp to fld "My List Field"

but the selectedLine function in the mouseUp handler returns empty  
for some reason.


Is there a more obvious way than my clicking at the topleft?

Regards,

Gregory
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simulating a Click in a List Field

2007-08-22 Thread Klaus Major

Hi Gregory,


Hello everyone,

I've got a list field with a mouseUp handler in it that takes me to  
different cards based on information in the line clicked.  How can  
I simulate clicking the first line?  The best (sadly) that I could  
come up with that works is this.


click at the topleft of fld "My List Field"

I also tried

select line 1 of fld "My List Field"
send mouseUp to fld "My List Field"

but the selectedLine function in the mouseUp handler returns empty  
for some reason.


Is there a more obvious way than my clicking at the topleft?


try this, has always worked for me:

set the hilitedlines of fld "My List Field" to 1
send "mouseUp" to fld "My List Field"


Regards,

Gregory


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


white windows/stacks?

2007-08-22 Thread Paul Gabel

Hi everybody:

Do any of you know all of the reasons (or as many as you can think  
of) why opening a stack by script could cause it to show white and  
blank? This happens to me sometimes. In the Rev Window menu, the  
blank window is checked, and when I manually item-select it the blank  
window returns to normal. This will happen repeatedly with the same  
window. Is it a memory issue?


Thanks for any contributions.

Paul Gabel
Scotts Valley, California, USA
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: white windows/stacks?

2007-08-22 Thread Scott Rossi
Recently, Paul Gabel wrote:

> Do any of you know all of the reasons (or as many as you can think
> of) why opening a stack by script could cause it to show white and
> blank? This happens to me sometimes. In the Rev Window menu, the
> blank window is checked, and when I manually item-select it the blank
> window returns to normal. This will happen repeatedly with the same
> window. Is it a memory issue?

Is this a stack you created?  I've seen this on occasion -- sometimes it's
caused by a script failure during an event that takes place during a locked
screen.  You might try stepping through your script, commenting out key
events one by one, until you find the culprit.  Other folks may have
additional suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev cgi, PHP & XML

2007-08-22 Thread jbv
Hi folks,

It's me again with another weird question... this time for php
experts...

I have a Rev cgi script that returns some xml data to a client browser.
In order to speed up downloading, I'm trying to compress the data
using gzip via some php functions (such as gzencode or gzcompress).
I had to use that technique because Rev compress() function doesn't
output code suitable for browsers...

Anyway, here's my code :

- in Rev cgi script

get shell("/usr/local/bin/php /home/httpd/html/cgi-bin/gzcompress.php "
& myXMLdata)


- in php




This works fine for any non-XML data. As soon as I try to pass XML data
to the php script,
I get this error :
/bin/sh: line 1: syntax error near unexpected token `<'

Could someone be kind enough to tell me what I'm doing wrong ?
Is there any specific gzlib function for xml data ? I haven't found
anything like that in php doc...

Any help greatly apreciated.  Thanks in advance,
JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: white windows/stacks?

2007-08-22 Thread Mark Schonewille

Hi Paul,

It is no memory issue. Revolution just happens to forget to (re)draw  
the window.


One of the scenarios that may cause this is:

-- mainstack
on preOpenStack
  lock screen
  lock messages
  go invisible stack x
  -- set rect of stack x e.g.
  -- then show stack
  show stack x --substack
end preOpenStack

It doesn't happen all the time, but script similar to the above may  
cause a white screen. Apparently, Rev doesn't get the time to update  
the window.


To solve this issue, usually I try something like this:

-- mainstack
on preOpenStack
  send "showMe" to stack x in 0 millisecs
end preOpenStack

-- substack
on showMe
  go invisible cd 1 of me
  set the bottomright of me to -100,-100
  -- set rect of me
  -- then show me
  set the loc of me to the screenloc
end showMe

I hope you get the idea. I don't have a specific recipe but usually  
try something along these lines.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 22-aug-2007, om 21:11 heeft Paul Gabel het volgende geschreven:


Hi everybody:

Do any of you know all of the reasons (or as many as you can think  
of) why opening a stack by script could cause it to show white and  
blank? This happens to me sometimes. In the Rev Window menu, the  
blank window is checked, and when I manually item-select it the  
blank window returns to normal. This will happen repeatedly with  
the same window. Is it a memory issue?


Thanks for any contributions.

Paul Gabel
Scotts Valley, California, USA



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


(no subject)

2007-08-22 Thread Robert Sneidar

Hi All.

I am having an issue that I know was addressed in a previous post but  
I cannot seem to find it. I have established some functions to work  
with mySQL databases, and all is working fine except that whenever I  
build an SQL statement with values that include commas, carriage  
returns and the like, it hoses the sql statement. Isn't there a way  
of delimiting reserved characters in an sql statement? Something like  
preceding them with a backslash?


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How am I supposed to answer a Post???

2007-08-22 Thread BILL HUMPHREY

I am in nabble for the first time and it is even better than gmail for
observing threads and this is my first test reply.
-- 
View this message in context: 
http://www.nabble.com/How-am-I-supposed-to-answer-a-Posttf4300818.html#a12282396
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: google calendar API

2007-08-22 Thread BILL HUMPHREY

Does anyone know how to post to a google calendar using RunRev on Mac OS X
instead of Win XP?


_

Thanks a lot, Mark! Using curl does the trick. However, I would
appreciate if this worked without an external shell command.

BTW, I have Rev 2.8.0 studio and the docs lack a hint to the missing
HTTPS implementation as far as I can see. If anyone knows
an easy way to do this with sockets (and maybe openSSL?), please let me
know.

Now, here is the working code (Win XP) to add an event to your
GoogleCalendar:
(You'll need

* A form, a button, 3 fields named "Output", "HEADER", "newentry"
in Revolution.
* Install curl, http://curl.haxx.se/download.html try the "7.16.0
WIN32" version, if necessary edit curlPATH.
* Paste an XML-formatted event into field "newevent" according to
the format specified at:
http://code.google.com/apis/gdata/elements.html . Try this Exampel
first: http://code.google.com/apis/calendar/gdata.html#add_event




-- 
View this message in context: 
http://www.nabble.com/google-calendar-API-tf3872376.html#a12282560
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: (no subject)

2007-08-22 Thread Ken Ray
On Wed, 22 Aug 2007 12:50:33 -0700, Robert Sneidar wrote:

> Hi All.
> 
> I am having an issue that I know was addressed in a previous post but 
> I cannot seem to find it. I have established some functions to work 
> with mySQL databases, and all is working fine except that whenever I 
> build an SQL statement with values that include commas, carriage 
> returns and the like, it hoses the sql statement. Isn't there a way 
> of delimiting reserved characters in an sql statement? Something like 
> preceding them with a backslash?

Yes, but only for certain chars that would cause problems in queries 
like a single quote. If you have carriage returns, you'll have to 
replace the CRs with some other character for storage, and then convert 
them back when you retrieve the data.


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Number of Com Ports

2007-08-22 Thread Camm29
Does anybody else know how to get this resolved 

The RunRev team seem to go deaf when the subject is real world interfacing
!!

Regards
Camm


- Original Message -
From: "Neal Campbell" <[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Wednesday, July 25, 2007 9:01 PM
Subject: Re: Number of Com Ports


> I certainly need that limit removed. I write communications related
software
> and many of the PCs have lots of virtual com ports as well as physical
ones.
> I also find it incredibly annoying (as a consumer) when software is
limited
> to 9.
>
> Neal (k3nc, amateur radio operator)!
>
> On 7/25/07, Camm29 <[EMAIL PROTECTED]> wrote:
> >
> > Would I be correct in saying the only Com Ports available via Rev is 1
to
> > 9 ?
> >
> > It's not enough these days for applications , 1 to 16 would be better.
> >
> > I have raised it as an improvement with RunRev , but no interest from
them
> > as usual !
> >
> > Any simple get arounds ?
> >
> > Thanks in advance
> > Camm
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.472 / Virus Database: 269.10.14/912 - Release Date:
22/07/2007 19:02
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Number of Com Ports

2007-08-22 Thread Ian Wood


On 22 Aug 2007, at 22:40, Camm29 wrote:


Does anybody else know how to get this resolved 

The RunRev team seem to go deaf when the subject is real world  
interfacing


It's barely two months since you filed an 'official' enhancement  
request. Out of interest, why haven't you voted for it yourself, or  
asked others to vote for it? As far as I know, enhancements with zero  
votes tend to get ignored in favour of more popular ones... ;-)


For anyone who *does* want to vote for more com ports, the  
enhancement request is at .


Ian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A Small Speed Observation on Custom Properties

2007-08-22 Thread Jim Lambert


On Aug 22, 2007, at 10:00 AM, [EMAIL PROTECTED] 
wrote:



If you guys are interested, I wrote code to build splitters for table
fields, and I'm interested to hear what other people might think


Yep, I'm interested. Send it along!

Jim Lambert

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Parse Adob XMP data with Rev's XML lib?

2007-08-22 Thread Sivakatirswami

I am unable to parse the following using rev's library.
I'm not an xml expert... but, since several nodes all begin with

"rdf" I assume we need to refer to a node like this:

  put revXMLNodeContents(tMetaData, 
"/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/")



but rev throw and error "xmlerr, can't find element"



   http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
  http://purl.org/dc/elements/1.1/";>
 

   Caption can be found 
here


 
  
   


In the meantime i can hack this by removing all tags as there is not 
data except the caption

in any of the nodes


TIA
Sivakatirswami
www.himalayanacademy.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: URLstatus for Players set to remote URLs

2007-08-22 Thread Sivakatirswami

Trevor DeVore wrote:

On Aug 17, 2007, at 11:35 PM, Sivakatirswami wrote:


Whats' the difference between

> kMovieLoadStatePlayable 1
> kMovieLoadStatePlayThroughOK 2


These are constants provided by QuickTime. Search for either of those 
strings on one of these pages:


 





 



Trevor, outstanding, thanks..
 Now time to do my homework... never too old for new tricks




Sivakatirswami
www.himalayanacademy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse Adobe XMP data with Rev's XML lib?

2007-08-22 Thread Ken Ray
On Wed, 22 Aug 2007 17:49:24 -1000, Sivakatirswami wrote:

> I am unable to parse the following using rev's library.
> I'm not an xml expert... but, since several nodes all begin with
> 
> "rdf" I assume we need to refer to a node like this:
> 
>   put revXMLNodeContents(tMetaData, 
> "/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/")
> 
> 
> but rev throw and error "xmlerr, can't find element"
> 
> 
> 
>http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
>xmlns:dc="http://purl.org/dc/elements/1.1/";>
>  
> 
>Caption can be found 
> here
> 
>  
>   
>
> 
> 
> In the meantime i can hack this by removing all tags as there is not 
> data except the caption
> in any of the nodes


It also works properly with my XML Library 
(http://www.sonsothunder.com/products/xmllib/xmllib.htm), just as you'd 
expect:

  put 
stsXML_GetNodeData("/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/")
  --> Caption can be found here

And of course being transcript only, it can be used with Rev's XML DLL 
as well.


(Katir, you already have my library, but this is for anyone else 
interested...)

:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


OS X CGI

2007-08-22 Thread Richard Gaskin
Jacque's tutorial on using Rev engines for CGI work on OS X says that 
the Darwin engine is required"



Why can't we use the Intel-native runtime engine for OS X on OS X?

Does this mean that all OS X server apps are saddled with the 
responsibility of being limited to running in Darwin, or is that for 
some particular aspect of her tutorial?


(I use Linux servers myself; can't see paying Apple prices for hardware 
the end-user will never see )


TIA -

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution