Player Bug?

2004-11-05 Thread Scott Rossi
Howdy List:

I'm running into an odd player behavior where setting a player to a filename
that contains an open parenthesis "(" prevents Rev 2.5 from opening/playing
the file.  Interestingly, a close parenthesis ")" in the filename does not
cause a problem.  Can anyone else verify this as a bug?

Thanks & Regards,

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

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


Re: Displaying images from MySQL

2004-11-05 Thread Jan Schenkel
--- Paul Kruckewitt <[EMAIL PROTECTED]>
rote:

> Hi all,
> I am new to Revolution and attempting to read jpeg
> images from a MySQL 4.1 database.  I have
> successfully used Jan Schenkel's excellent example
> using the query builder and I am able to step
> sequentially though the images. I need to access the
> records in a non-sequential fashion.  No problem
> with the text of the records, just the images.   I
> can query MySQL and retrieve the data directly, but
> I can not get the image to display. My target image
> is set to the same size as the original and I
> prepend the *b to the variable name when querying
> the blob.   Any ideas or suggestions would be
> greatly appreciated.
> 
> Thanks!
> 
> -Paul
> 

Hi Paul,

How exactly are you updating the image control ?
The automated query system uses something similar to :
   set the text of image theImage to theImageData

Another important question is : in what format is the
data stored in the image ? Base64 ? Binary ?

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How works revCurrentRecordIsLast/revCurrentRecordIsFirst

2004-11-05 Thread Jan Schenkel
--- Jérôme Rosat <[EMAIL PROTECTED]> wrote:
> Bonjour tout le monde,
> 
> In Dreamcard documentation, for the
> revCurrentRecordIsLast function, 
> it's written that "Returns whether the current
> record is the last 
> record in a record set (database cursor)."
> 
> In my recordset with 3 records, when the cursor is
> on the first record, 
> revCurrentRecordIsLast return false. It's Ok for me.
> After moving the cursor with revMoveToNextRecord to
> the second record, 
> revCurrentRecordIsLast return false. It's still OK
> for me.
> If I move the cursor to the third and last record, 
> revCurrentRecordIsLast still return false. With the
> upper definition, 
> the result should be true. The third record is the
> last one.
> But revCurrentRecordIsLast return true only if I use
> 
> revMoveToNextRecord once again. In short,
> revCurrentRecordIsLast return 
> true when revMoveToNextRecord return an error. And
> it is the same for 
> revCurrentRecordIsFirst.
> 
> Is it a bug or I'm stupid ?
> 
> Jérôme Rosat
> 

Bonjour Jérôme,

What does the function 'revNumberOfRecords' return for
that result set ? And is this still on MySQL ?

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

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


Re: Standalone with Externals crashing

2004-11-05 Thread Derek Bump
Alright, I downloaded and installed Revolution 2.2.1 and I am experiencing the same 
crashes when I try to execute the EnhancedQT and setDesktop external from within the 
standalone.  It works fine in the IDE.

One thing that has changed is that when I include the Error Reporting module in my 
standalone, I don't get the quick flash of a script error, and the error box doesn't 
appear.  So I think that issue is a bug in Revolution 2.5.

So I guess the question at hand now is, unless anyone else has any ideas on why this 
is not working, does it happen on anyone elses computer?
 

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone with Externals crashing

2004-11-05 Thread Derek Bump
> Try using one external at a time and see which one causes the crash.

I launch the program and execute a handler that runs the EnhancedQT external.  Crash. 
I re-launch the program and execute the a handler that runs the setDesktop external.  
Crash again.

I am going to download 2.2 and see if the same thing happens.  I just hope I can find 
my license key!
 

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 ___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


How works revCurrentRecordIsLast/revCurrentRecordIsFirst

2004-11-05 Thread Jérôme Rosat
Bonjour tout le monde,
In Dreamcard documentation, for the revCurrentRecordIsLast function, 
it's written that "Returns whether the current record is the last 
record in a record set (database cursor)."

In my recordset with 3 records, when the cursor is on the first record, 
revCurrentRecordIsLast return false. It's Ok for me.
After moving the cursor with revMoveToNextRecord to the second record, 
revCurrentRecordIsLast return false. It's still OK for me.
If I move the cursor to the third and last record, 
revCurrentRecordIsLast still return false. With the upper definition, 
the result should be true. The third record is the last one.
But revCurrentRecordIsLast return true only if I use 
revMoveToNextRecord once again. In short, revCurrentRecordIsLast return 
true when revMoveToNextRecord return an error. And it is the same for 
revCurrentRecordIsFirst.

Is it a bug or I'm stupid ?
Jérôme Rosat
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to create a list of images stored in a MySQL database in a text field

2004-11-05 Thread Jérôme Rosat
Bonjour Jan,
Thank you for your answer.
Yes, it helps me a lot.
Meilleures salutations.
Jérôme
Le 5 nov. 04, à 15:56, Jan Schenkel a écrit :
--- Jérôme Rosat <[EMAIL PROTECTED]> wrote:
Hi all,
I would like to create a list field containing in
each row an image,
its number and its name.
The image size should make 16 X 16 pixels.
I imagine I should first:
- open a connection to my DB
- execute a SQL query to select all rows of the
table.
I think I should use the imageSource property but I
have got  no idea
how to use it to create the list and fix the size of
the images.
Does somebody have an idea ?
Thank you for you help.
Jérôme Rosat
Bonjour Jérôme,
As I don't recall seeing a reply to this on the list,
I thought I'd give you some advice (better late than
never, right ?)
Text field images are either stored in the stack and
refered to by their ID or name, or are external to
your stack and refered to by a URL (http or file)
So if the data is stored in a MySQL database, you'll
have to take two steps to accomplish your goals :
1) get the image data from the database and
temporarily store them inside an image control (this
control can be offscreen, or hidden)
2) then set the imagesource of a chunk of your field
to the ID of the image :
  set the imageSource of char 1 of line 2 of \
  field "Foobar" to "myImageName"
Hope this helped,
Jan Schenkel.
=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/
=
"As we grow older, we grow both wiser and more foolish at the same 
time."  (La Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Displaying vertical text

2004-11-05 Thread Rob Cozens
I need to display a text verticaly, this text cannot be an image as
it comes from a variable. Is
there any way to rotate a field, label, ?
Hi Aurélien,
From Serendipity Library:
function verticalText theText
  put empty into returnText
  repeat for each char theCharacter in theText
put theCharacter after returnText
if theCharacter is not return then put return after returnText
  end repeat
  return returnText
end verticalText
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Displaying vertical text

2004-11-05 Thread Frank Engel
You *can* rotate an Image, correct?
So why not take a snapshot of the horizontal field, place the snapshot 
in an image, and rotate that?

On Nov 5, 2004, at 14:48, MisterX wrote:
You can also make a singe column field with a letter per line
L
I
K
E
T
H
I
S
Va
Ri
At
Io
Ns
Are also possible but cost more... ;)
You can even parse multicolumns like these using the tabstops to title 
thin
columns in a table...

Playing with the textsize prop can also give you better look.
Diagonal text anyone?
OK, im on a roll...
Type your text in a field, format it, snapshot it, insert in image, 
then
rotate...
It's scriptable too!

Example script: left as an exercise! ;)
Cheers
VaXieR
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Scott Rossi
Sent: Friday, November 05, 2004 20:13
To: How to use Revolution
Subject: Re: Displaying vertical text
Recently, [EMAIL PROTECTED] wrote:
I need to display a text verticaly, this text cannot be an
image as it
comes from a variable. Is
there any way to rotate a field, label, ?
No.  Your only option might be to render the text as a bitmap
and then rotate it.
Regards,
Scott Rossi
Creative Director
Tactile Media, Development & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT Yet another installer question

2004-11-05 Thread Frank Engel
You'll need Windoze to build this one, too, but there is also a (very 
powerful) free Windows installer utility called Inno Setup available 
somewhere on the web...  hold on a second while I find the URL...

http://www.jrsoftware.org/isinfo.php
Note that if you want to try this I strongly recommend the ISTool 
program, linked to from that site.  It makes life much easier.

Inno Setup will automagically create the Add/Remove Programs entry when 
you use an installer that it builds.

It also provides an uninstaller without any additional work, and you 
can set it up to create a Start menu entry (the "Icons" section of 
ISTool).

For MacOS X installers, try Iceberg:
http://s.sudre.free.fr/Software/Iceberg.html
On Nov 5, 2004, at 14:39, Mark Talluto wrote:
On Nov 5, 2004, at 9:22 AM, Jim Hurley wrote:
I have a stand-alone built with RR on a Mac to run in Windows. It is 
called "MergeEmailLists.exe." and when I double click it, it runs 
just fine in Windows.

It does not appear in the Window's list of applications however. 
While that doesn't bother me, I have a friend who would like to see 
it there.

I have tried using the Window's Add or Remove Program control, and 
the subsequent "Browse" option.

But, browse as I might, my "MergeEmailLists.exe" never shows up as an 
option. (It is located on a USB flash memory stick. I can browse to 
the flash memory files however.)

And I can't find an inexpensive (cheap) installer utility which runs 
on Mac OS 9.

Any rough and dirty way to get a .exe application built on a Mac 
installed onto a Windows PC? As you can tell, I am 
Windows-illiterate.

Thanks,
Jim

Jim,
I use Clickteam's installcreator:    It is 
free, but requires you to have a PC to create the installer.  I 
suppose you could have your friend if he/she is so inclined to make 
the installer for you.  It is very easy to use btw.  Oh...and did I 
mention that it is free?

--
Best regards,
Mark Talluto
28612 Avalon Ave
Moreno Valley, CA 92555
tel: (310) 483-9919
fax: (951) 924-6240
http://www.canelasoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Displaying vertical text

2004-11-05 Thread MisterX

You can also make a singe column field with a letter per line

L
I
K
E
T
H
I
S

Va
Ri
At
Io
Ns

Are also possible but cost more... ;)

You can even parse multicolumns like these using the tabstops to title thin
columns in a table...

Playing with the textsize prop can also give you better look.

Diagonal text anyone?

OK, im on a roll...

Type your text in a field, format it, snapshot it, insert in image, then
rotate...
It's scriptable too!

Example script: left as an exercise! ;)

Cheers
VaXieR 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Rossi
> Sent: Friday, November 05, 2004 20:13
> To: How to use Revolution
> Subject: Re: Displaying vertical text
> 
> Recently, [EMAIL PROTECTED] wrote:
> 
> > I need to display a text verticaly, this text cannot be an 
> image as it 
> > comes from a variable. Is
> > 
> > there any way to rotate a field, label, ?
> 
> No.  Your only option might be to render the text as a bitmap 
> and then rotate it.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Development & Design
> -
> E: [EMAIL PROTECTED]
> W: http://www.tactilemedia.com
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

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


Re: OT Yet another installer question

2004-11-05 Thread Mark Talluto
On Nov 5, 2004, at 9:22 AM, Jim Hurley wrote:
I have a stand-alone built with RR on a Mac to run in Windows. It is 
called "MergeEmailLists.exe." and when I double click it, it runs just 
fine in Windows.

It does not appear in the Window's list of applications however. While 
that doesn't bother me, I have a friend who would like to see it 
there.

I have tried using the Window's Add or Remove Program control, and the 
subsequent "Browse" option.

But, browse as I might, my "MergeEmailLists.exe" never shows up as an 
option. (It is located on a USB flash memory stick. I can browse to 
the flash memory files however.)

And I can't find an inexpensive (cheap) installer utility which runs 
on Mac OS 9.

Any rough and dirty way to get a .exe application built on a Mac 
installed onto a Windows PC? As you can tell, I am Windows-illiterate.

Thanks,
Jim

Jim,
I use Clickteam's installcreator:    It is 
free, but requires you to have a PC to create the installer.  I suppose 
you could have your friend if he/she is so inclined to make the 
installer for you.  It is very easy to use btw.  Oh...and did I mention 
that it is free?

--
Best regards,
Mark Talluto
28612 Avalon Ave
Moreno Valley, CA 92555
tel: (310) 483-9919
fax: (951) 924-6240
http://www.canelasoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: graphics with transparencies and OS 9

2004-11-05 Thread Mark Talluto
On Nov 4, 2004, at 7:07 PM, Chris Sheffield wrote:
In this case there is no path involved.  The image is embedded within 
my
app.  And I actually still see the image when the window opens, but the
window is not taking its shape.

Chris,
I have never used the window shaping feature before.  Maybe someone 
else can chime in here.  Sorry.

--
Best regards,
Mark Talluto
http://www.canelasoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Displaying vertical text

2004-11-05 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote:

> I need to display a text verticaly, this text cannot be an image as it comes
> from a variable. Is
> 
> there any way to rotate a field, label, ?

No.  Your only option might be to render the text as a bitmap and then
rotate it.

Regards,

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

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


Displaying vertical text

2004-11-05 Thread [EMAIL PROTECTED]
Hello everybody,

I need to display a text verticaly, this text cannot be an image as it comes from a 
variable. Is 
there any way to rotate a field, label, ?

Thanx

Regards

Aurélien

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


Re: Standalone with Externals crashing

2004-11-05 Thread Trevor DeVore
On Nov 5, 2004, at 9:50 AM, Derek Bump wrote:
How did you set the paths to the externals in the standalone?
Even though I had the externals in the Revolution folder, I also 
placed a copy of them in my stack's folder as well.  I added them to 
the stack's External References so they show as "EnhancedQT.dll" and 
"setDesktop.dll" without any path references.


If you set the externals property to empty in the standalone does the 
project still crash?
Nope, doesn't crash.
Try using one external at a time and see which one causes the crash.
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone with Externals crashing

2004-11-05 Thread Derek Bump
> Does it crash on startup?

The program is not crashing at startup.  The only time it crashes is when I execute 
one of the external's functions.  I am however getting the following error at start 
when I include the Script Error Reporter in the Standalone.

Executing at 2:58:29 PM
Type 
Object card id 1002
Line put "Object" & tab & the short name of tObject & cr after tErrorString
Hint preOpenCard

I have no idea where this error is coming from, but I do know for sure that my stack 
does not have any "preOpenCard" handlers in it.  RunRev Support said maybe it's 
something in the libraries that I've included so I tested my stack with no stack 
libraries, and it still show's the error.


> How did you set the paths to the externals in the standalone?

Even though I had the externals in the Revolution folder, I also placed a copy of them 
in my stack's folder as well.  I added them to the stack's External References so they 
show as "EnhancedQT.dll" and "setDesktop.dll" without any path references.


> If you set the externals property to empty in the standalone does the project still 
> crash?

Nope, doesn't crash.
 

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

- Original Message - 
From: "Trevor DeVore" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 10:20 AM
Subject: Re: Standalone with Externals crashing


> On Nov 4, 2004, at 2:07 PM, Derek Bump wrote:
> 
>> I have a standalone that makes use of the EnhancedQT and setDesktop 
>> externals.  Works fine in development, but does nothing more than 
>> crash when in a standalone.  Is there something up with Rev 2.5, 
>> standalones and externals?
>>
>> This is on WinXP Home SP2.
> 
> Derek,
> 
> 
> 
> -- 
> Trevor DeVore
> Blue Mango Multimedia
> [EMAIL PROTECTED]
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
>___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT Yet another installer question

2004-11-05 Thread MisterX

Check out the modes of stacks.
Palettes do not show up in the task bar.

Is that mentioned in the documentation though?


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Jim Hurley
> Sent: Friday, November 05, 2004 18:22
> To: [EMAIL PROTECTED]
> Subject: OT Yet another installer question
> 
> I have a stand-alone built with RR on a Mac to run in 
> Windows. It is called "MergeEmailLists.exe." and when I 
> double click it, it runs just fine in Windows.
> 
> It does not appear in the Window's list of applications however. 
> While that doesn't bother me, I have a friend who would like 
> to see it there.
> 
> I have tried using the Window's Add or Remove Program 
> control, and the subsequent "Browse" option.
> 
> But, browse as I might, my "MergeEmailLists.exe" never shows 
> up as an option. (It is located on a USB flash memory stick. 
> I can browse to the flash memory files however.)
> 
> And I can't find an inexpensive (cheap) installer utility 
> which runs on Mac OS 9.
> 
> Any rough and dirty way to get a .exe application built on a 
> Mac installed onto a Windows PC? As you can tell, I am 
> Windows-illiterate.
> 
> Thanks,
> 
> Jim
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

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


Re: compress/decompress on OS X

2004-11-05 Thread Rob Cozens
My solution (from Serendipity Library & called by SDB Utilities and 
SDB Tools) is below;
In minimizing the Libray handlers for my second post, I found these 
errors in the original logic:

on SDBCompressFile -- 3 Mar 04:RCC
[snip]
put compressedData into URL compressedFile
set the fileType to savedFileType -- Replaces the result of "put"
if the result is not empty then  -- Refers to result of "set"
[snip]
end SDBCompressFile
on SDBExpandFile -- 3 Mar 04:RCC
[snip]
 put item 2 of recordFooter into dataForkBytes
 put item 3 of recordFooter into resourceForkBytes -- This 
statement missing
[snip]
if resourceForkBytes <> 0 then -- resourceForkBytes never initialized
[snip]
put the fileType into savedType -- Should be savedFileType
[snip]
set the fileType to savedFileType -- savedFileType never initialized
[snip]
end SDBExpandFile

The Library scripts have been corrected, and an updated copy of the 
Library is available at 
.

I have also added downloader links to SDB_Tools & Serendipity_Library 
in Revolution stack format.  These two files are all that you need if 
you're only interested in compression/decompression--or you're 
working on a Windows platform and don't want to wait for me to get 
around to publishing a file bundle for Windows...

but you really should look at the documentation and sample stacks, 
sez I.   :{`)
--

Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OT Yet another installer question

2004-11-05 Thread Jim Hurley
I have a stand-alone built with RR on a Mac to run in Windows. It is 
called "MergeEmailLists.exe." and when I double click it, it runs 
just fine in Windows.

It does not appear in the Window's list of applications however. 
While that doesn't bother me, I have a friend who would like to see 
it there.

I have tried using the Window's Add or Remove Program control, and 
the subsequent "Browse" option.

But, browse as I might, my "MergeEmailLists.exe" never shows up as an 
option. (It is located on a USB flash memory stick. I can browse to 
the flash memory files however.)

And I can't find an inexpensive (cheap) installer utility which runs 
on Mac OS 9.

Any rough and dirty way to get a .exe application built on a Mac 
installed onto a Windows PC? As you can tell, I am Windows-illiterate.

Thanks,
Jim
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone with Externals crashing

2004-11-05 Thread Trevor DeVore
On Nov 4, 2004, at 2:07 PM, Derek Bump wrote:
I have a standalone that makes use of the EnhancedQT and setDesktop 
externals.  Works fine in development, but does nothing more than 
crash when in a standalone.  Is there something up with Rev 2.5, 
standalones and externals?

This is on WinXP Home SP2.
Derek,
Can you give some more details?  Does it crash on startup?  How did you 
set the paths to the externals in the standalone?  If you set the 
externals property to empty in the standalone does the project still 
crash?

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Displaying images from MySQL

2004-11-05 Thread Paul Kruckewitt
Hi all,
I am new to Revolution and attempting to read jpeg images from a MySQL 4.1 database.  
I have successfully used Jan Schenkel's excellent example using the query builder and 
I am able to step sequentially though the images. I need to access the records in a 
non-sequential fashion.  No problem with the text of the records, just the images.   I 
can query MySQL and retrieve the data directly, but I can not get the image to 
display. My target image is set to the same size as the original and I prepend the *b 
to the variable name when querying the blob.   Any ideas or suggestions would be 
greatly appreciated.

Thanks!

-Paul
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sdb

2004-11-05 Thread Rob Cozens
where can I get the SDB ?
Hi Hershel,
Thanks to Andre Garzia, Serendipity Library (including SDB) is now 
available for download at 
.

Enjoy!...and please let me know if you have any questions or problems.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to create a list of images stored in a MySQL database in a text field

2004-11-05 Thread Jan Schenkel
--- Jérôme Rosat <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I would like to create a list field containing in
> each row an image, 
> its number and its name.
> The image size should make 16 X 16 pixels.
> 
> I imagine I should first:
> - open a connection to my DB
> - execute a SQL query to select all rows of the
> table.
> 
> I think I should use the imageSource property but I
> have got  no idea 
> how to use it to create the list and fix the size of
> the images.
> 
> Does somebody have an idea ?
> 
> Thank you for you help.
> 
> Jérôme Rosat
> 

Bonjour Jérôme,

As I don't recall seeing a reply to this on the list,
I thought I'd give you some advice (better late than
never, right ?)

Text field images are either stored in the stack and
refered to by their ID or name, or are external to
your stack and refered to by a URL (http or file)

So if the data is stored in a MySQL database, you'll
have to take two steps to accomplish your goals :

1) get the image data from the database and
temporarily store them inside an image control (this
control can be offscreen, or hidden)

2) then set the imagesource of a chunk of your field
to the ID of the image :
  set the imageSource of char 1 of line 2 of \
  field "Foobar" to "myImageName"

Hope this helped,

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Any way to get a "..." into a cell of table?

2004-11-05 Thread Jan Schenkel
--- Timothy Bleiler <[EMAIL PROTECTED]> wrote:
> When text exceeds the width of a cell in a table it
> would be nice to 
> indicate that there is additional text that can't be
> seen by placing a 
> "..." into the last char. I haven't been able to
> figure out any way to 
> do this. Anyone out there know how?
> 
> Tim Bleiler
> University at Buffalo
> 

Hi Tim,

You could use the 'formattedWidth' function to figure
out how wide a certain chunk of text in a field is,
and then shorten the last 4 chars with "..." until it
fits in the width as set in the tabStops.
Quite a bit of work, but it can be done -- hope this
gets you started,

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

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


Re: problems running Rev standalones under Panther with limited user accounts

2004-11-05 Thread Frank Engel
You could try using the Finder's Get Info window to set the 
permissions so that anyone can write, but I have found this unreliable 
and prefer to use the Terminal. Open the Terminal, cd to the folder 
containing your app and then use the following command:
	chmod -R 777 YourAppName.app/

This will make every file in your application bundle readable & 
writable by everyone. You may prefer to make sure the limited user is 
in the same group as the owner and change the permissions to 775 
instead.

A *very* bad idea for security reasons.  If anyone can write to the 
app, they could replace it with an arbitrary program, including one 
which could damage the system (delete files, etc.), while leaving the 
icon, etc. intact.  Some unsuspecting user with more privileges than 
them could then run the program, which has been replaced with nasty 
code, damaging the system, their files, etc.

Another issue here is that being able to write to the apps means 
allowing some as-yet-unwritten virus to infect them.  If a user can't 
write to them. then neither can a virus running under their account...

In a slightly less hostile sense, being able to write to the app means 
being able to ruin it unintentionally as well.


___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


tablefield and standalone app issues

2004-11-05 Thread Revinfo1155
Thanks to all who gave info on table fields. The design came out well  but 
I'm still experiencing trouble with the function of the tablefield  stack. When 
I build a standalone to run my tablefield stack, I chose the  table option to 
add that feature to the standalone. Was that the thing to do?  Although I did 
that, as I tabbed thru the tablefield, the cells seems to get a  bit confused 
and then the stack and the standalone went all white and froze. My  first 
inclination was a memory allocation problem (not enough memory). I went  back to 
the standalone builder and couldn't find a way to allocate more memory.  
Couldn't we do that in an earlier version? Any help with these issues is  
appreciated as I'm new to tablefield behaviour.
 
jack
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Wacky Submenu Problem under OS X

2004-11-05 Thread Frank Engel
Yep, that works!
I hadn't even thought to try that.  The problem with the mnemonics 
seems to be with Menu Builder BTW, and I have already bugzilla'd that.  
I suspect it is a separate issue.

I have also bugzilla'd the menu issue, so I will tack this info onto 
the report; also, the mnemonics only need to be removed from the items 
in the submenu to make it work correctly.  Interesting.

Thank you!
On Nov 4, 2004, at 21:35, Sarah Reichelt wrote:
Hi Frank,
i set up a copy of your menu but had great trouble allocating the 
mnemonics. I would enter a menu item like "5162", click the mnemonic 
checkbox and select "2" from the popup at which point the item would 
show up as "51&62". This happened with all except the first entry in 
the submenu, so when I got the same sort of result you did (although 
my submenu started with 5160), I wondered was it the mnemonics that 
were causing the problem. In the Message Box, I typed:
	replace "&" with "" in button "File"
and all the submenus came good - with or without the "Print Labels" 
menu item.

I guess these mnemonics are a Windows feature that doesn't translate 
properly to the Mac, but I reckon you should bugzilla it anyway,

Cheers,
Sarah
On 30 Oct 2004, at 12:14 am, Frank D. Engel, Jr. wrote:
Okay, this is getting even stranger...
put button "File":
(&Print/P
Print &Labels
516&0
516&1
516&2
516&3
516&4
526&7
-
Quick &Reference
(Print &Name Tags
-
&Quit/Q
New File Menu:
Print
Print Labels
 5160
 5161
 5162
 5163
 5164
 5267   ->
Print Name Tags
The "5267" menu is as before (the separator line and Quick Reference) 
and yes, it's still on 5267 (not Print Name Tags as I would have 
expected).

Enabling the "Print Name Tags" option makes no difference.
On Oct 28, 2004, at 10:28 PM, Sarah Reichelt wrote:
Frank,
I think this may be due to the way that Rev tries to make OS X menus 
by moving certain items around. In your case, it should only move 
the Quit and delete the line before it, but it may be that having 
what becomes the last line, then starting with a tab, is causing 
some confusion. Just for testing purposes, what happens if you put 
in another menu item (not starting with tab) after "Quick 
Reference".

Cheers,
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re[2]: geometry manager

2004-11-05 Thread thierry
Hi,

Helps a lot , thanks !  works again.

will think of upgrading to 2.5 after the release of Version 2
of my product

xccc> 2.1 has a few GM bugs...
xccc> Not that 2.5 isnt bug free but it is (ahem) better behaved.

xccc> My guess is that an old position got stuck or didn't get updated
xccc> because some event blocked the update. This can happen when you
xccc> have a pending error, self-resizing stack or a resizestack handler that
xccc> doesn't pass resizestack or send revUpdateGeometry back.

xccc> Try to send a revUpdateGeometry to your stack to see if it gets fixed.
xccc> If not, clear the revgeomtry settings for your control, and then
xccc> reassign the GM rules. This usually fixes the problem...

xccc> In some cases, you can put an empty resizestack handler to block the
xccc> GeomtryManager, resize your stack/controls and then remove the blocking
xccc> handler. Doesn't always work though but it's one way to fix it.

xccc> Hope that helps ya
xccc> Xa

>> have some problems with the geometry manager...
>> 
>> works fine for few days, but this morning, few objects
>> where out of the window, and now when i'm changing the size of
>> the window ( drag bottom-right ), one field systematicaly move
>> few pixels too much to the right ? which it didn't do before ?
>> 
>> Does the geometry manager being stable and quite reliable ?
>> 
>> PC Win98 Rev 2.1.  work with one group and 2 fields !
>>

Best regards, 

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


RE: geometry manager

2004-11-05 Thread xbury . cs

2.1 has a few GM bugs...
Not that 2.5 isnt bug free but it is (ahem) better behaved.

My guess is that an old position got stuck or didn't get updated
because some event blocked the update. This can happen when you
have a pending error, self-resizing stack or a resizestack handler that
doesn't pass resizestack or send revUpdateGeometry back.

Try to send a revUpdateGeometry to your stack to see if it gets fixed.
If not, clear the revgeomtry settings for your control, and then
reassign the GM rules. This usually fixes the problem...

In some cases, you can put an empty resizestack handler to block the
GeomtryManager, resize your stack/controls and then remove the blocking
handler. Doesn't always work though but it's one way to fix it.

Hope that helps ya
Xa

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Friday, November 05, 2004 10:24
> To: [EMAIL PROTECTED]
> Subject: geometry manager
> 
> Hi all,
> 
> have some problems with the geometry manager...
> 
> works fine for few days, but this morning, few objects
> where out of the window, and now when i'm changing the size of
> the window ( drag bottom-right ), one field systematicaly move
> few pixels too much to the right ? which it didn't do before ?
> 
> Does the geometry manager being stable and quite reliable ?
> 
> PC Win98 Rev 2.1.  work with one group and 2 fields !
> 
> Best regards, 
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER

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


select a line in the script editor...

2004-11-05 Thread thierry
Hi,

 having no chance with one of my last question,
 try again differently...

 in a script, during development time, i have a function
 EditScriptAndGoToLine( theObject, theLineNumber )

 with theObject which contains some reference to any object
 ( ie: stack "" ), i do : edit script of theObject.
 this works fine and the script editor window appears.

 but then i would like to go to  a specific line in the script : thelineNumber

 and we can have few scripts' editor windows open.

 How can i know the reference to the last script editor window being open ?

 any clue ?
 
Best regards, 

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


geometry manager

2004-11-05 Thread thierry
Hi all,

have some problems with the geometry manager...

works fine for few days, but this morning, few objects
where out of the window, and now when i'm changing the size of
the window ( drag bottom-right ), one field systematicaly move
few pixels too much to the right ? which it didn't do before ?

Does the geometry manager being stable and quite reliable ?

PC Win98 Rev 2.1.  work with one group and 2 fields !

Best regards, 

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