Re: Duration of non supported applications

2007-03-15 Thread Signe . Sanne
> I agree with Ken. It would not hurt and would probably help to update > your materials to the newest version of rev. At a minimum, you should > re-build the "portal" standalone with the latest rev engine. In my > view that would help legacy stacks survive longer. > > Devin > > Devin Asay

Switching screen res on OS X

2007-03-15 Thread Sarah Reichelt
Hi All, Several times people have asked how to change screen resolution programmatically. I usually recommended the Terminal command "cscreen" but it is no longer under development and it does not handle all resolutions especially the "stretched" ones. I have now found another option called Swit

Re: Linux questions for Jacque

2007-03-15 Thread Phil Davis
I haven't been following this thread very closely, but I've used the htmlText to correctly display Arabic (after reversing the order of the entities). There's more to it than that, but... If you can manage the display of Arabic using the htmlText field property, maybe something similar could wor

Re: Printing and previewing

2007-03-15 Thread Martin Blackman
When you say invisible do you mean you can see the image by using 'show image'? There could be platform / rev version differences at play. i created 2 teststacks, modified your script a little bit for these stacks and ended with a nice, correct yet invisible screenshot of the "printstack"s cont

Re: Linux questions for Jacque

2007-03-15 Thread J. Landman Gay
Bob Warren wrote: put the length of field "test" >> 290 put the textfont of char 1 to 290 of field "test" >> EMPTY!! put the textfont of char 2 to 3 of field "test" >> EMPTY Aha! Actually, this is probably correct. Fields can have a textfont property independent of the text chunks inside

Re: Linux questions for Jacque

2007-03-15 Thread Bob Warren
Jacque: Please see my answers below. Bob Warren wrote: > Jacque: > > I have just made another little test program so that I can type into the > field. My wife's Ubuntu is in Portuguese, and she has an ABNT keyboard. > > Of course, when she uses any program other than Rev (Word, Text Editor)

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Jim Ault
> Is anyone aware of any drawbacks in using 'the result' as a container for > passing, say, a bunch of records from one handler to another? Like this: > You might want to pass "by reference", rather than duplication, but no drawbacks I know of either way. -- 2 examples (1 proc

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Phil Davis
Thanks everyone for the responses. Stephen Barncard wrote: I don't think it's any different than returning from a function..although I haven't done it this way much. I'm not sure if you can pass arrays this way for instance but that could just be converted into a return-delimited table. Thi

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Ken Ray
On Fri, 16 Mar 2007 00:23:10 +, Mark Smith wrote: > If the data is really big (which i guess is relative to how much RAM > you have), then you're duplicating it, which could be quite > inefficient ie. noticeably slow. Good point, Mark... although it might be more of an issue with RAM than

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Stephen Barncard
I don't think it's any different than returning from a function..although I haven't done it this way much. I'm not sure if you can pass arrays this way for instance but that could just be converted into a return-delimited table. This would be useful for a custom Answer or Ask dialog that would

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Sarah Reichelt
On 3/16/07, Phil Davis <[EMAIL PROTECTED]> wrote: Is anyone aware of any drawbacks in using 'the result' as a container for passing, say, a bunch of records from one handler to another? Like this: on processRecords getRecords put the result into tRecordList repeat for each line tLine i

Re: OK to pass big data in 'the result'?

2007-03-15 Thread Mark Smith
If the data is really big (which i guess is relative to how much RAM you have), then you're duplicating it, which could be quite inefficient ie. noticeably slow. Unless there's some other reason not to, I might do on processRecords repeat for each line tLine in the uBigList of stack "XYZ"

OK to pass big data in 'the result'?

2007-03-15 Thread Phil Davis
Is anyone aware of any drawbacks in using 'the result' as a container for passing, say, a bunch of records from one handler to another? Like this: on processRecords getRecords put the result into tRecordList repeat for each line tLine in it -- your code here end repeat end processRe

Re: Linux-specific technical problems

2007-03-15 Thread Don Jungk
On Thursday 15 March 2007 9:27 am, Bob Warren wrote: > Don: > > Although I am pushed for time today, I couldn't resist trying to carry > out your suggestion immediately. I followed your instructions as best I > could, but the result was a PS file that still didn't display in the > Evince utility. >

Re: Linux-specific technical problems

2007-03-15 Thread Don Jungk
On Thursday 15 March 2007 9:42 am, J. Landman Gay wrote: > I'm a little lost in postscript, but...does this mean that if Bob were > to replace the font he uses, things would automatically work? I don't think so. The fonts he is using seem to have all the correct characters. I'm not an expert in

Re: Printing Japanese text

2007-03-15 Thread Peter T. Evensen
Now with my final stack it isn't printing at all on the Mac. I'm giving up and printing on Windows :(. I am using 2.8.0. At 10:18 AM 3/14/2007, you wrote: The odd this is, I discovered it I printed it once, I got the black bars. If I tried printing a second time, the Japanese printed fine.

Re: Filling Combo Box from Database

2007-03-15 Thread Klaus Major
Hi Dave, Hi All, Please be patient with me, I started programming (exploring) Revolution a few days ago. I'm not an inexperienced programmer, nearly 30 years with C, Informix, SQL WIndows, PHP and a bit of VB. But I'm still finding some of Revolutions syntax a bit strange. I love it tho

Re: Filling Combo Box from Database

2007-03-15 Thread Jim Ault
On 3/15/07 10:19 AM, "Dave Ingledew - WCS" <[EMAIL PROTECTED]> wrote: > Hi All, > > Please be patient with me, I started programming (exploring) Revolution a few > days ago. I'm not an inexperienced programmer, nearly 30 years with C, > Informix, SQL WIndows, PHP and a bit of VB. But I'm still f

Re: Filling Combo Box from Database

2007-03-15 Thread Devin Asay
On Mar 15, 2007, at 11:19 AM, Dave Ingledew - WCS wrote: Hi All, Please be patient with me, I started programming (exploring) Revolution a few days ago. I'm not an inexperienced programmer, nearly 30 years with C, Informix, SQL WIndows, PHP and a bit of VB. But I'm still finding some of

Re: Passing by Reference?

2007-03-15 Thread Jim Ault
Just a quick note... you can pass NULL in Rev, and use it as a character in a string. This may not solve your particular of multiple param passing. Jim Ault On 3/15/07 9:00 AM, "Dave" <[EMAIL PROTECTED]> wrote: > > On 15 Mar 2007, at 15:19, Trevor DeVore wrote: > >> On Mar 15, 2007, at 8:00

Filling Combo Box from Database

2007-03-15 Thread Dave Ingledew - WCS
Hi All, Please be patient with me, I started programming (exploring) Revolution a few days ago. I'm not an inexperienced programmer, nearly 30 years with C, Informix, SQL WIndows, PHP and a bit of VB. But I'm still finding some of Revolutions syntax a bit strange. I love it though and I hope t

Re: Linux-specific technical problems

2007-03-15 Thread J. Landman Gay
Bob Warren wrote: Your mail to 'use-revolution' with the subject Re: Linux-specific technical problems Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 15832 bytes with a limit of 15 KB

Re: Duration of non supported applications

2007-03-15 Thread Devin Asay
On Mar 15, 2007, at 8:32 AM, Ken Ray wrote: On Thu, 15 Mar 2007 11:23:45 +0100, Signe Marie Sanne wrote: So far I have used MetaCard and engine 2.6.6. The programs make use of a portal stack (thanks to Sivakatirswami) which downloads/opens the various educational programs. This downloading is

Re: Printing Japanese text

2007-03-15 Thread Viktoras Didziulis
Revolution 2.8: Bug 1955: The revPrintText and revPrintField commands did not work correctly for a field with unicode text, this has been fixed... Seems like the most recent Studio release should print Unicode correctly... All the best Viktoras ---Original Message--- From: Mark

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
In case my previous post does not get through the moderator on account of its length, here is the first part of it again with a link to the PS file in question: Don Jungk wrote: Hi Bob, > OK, your PS file does have accented characters in it. It appears they are just > in the wrong place. Th

Re: Passing by Reference?

2007-03-15 Thread Dave
On 15 Mar 2007, at 15:19, Trevor DeVore wrote: On Mar 15, 2007, at 8:00 AM, Dave wrote: On 15 Mar 2007, at 14:23, Trevor DeVore wrote: On Mar 15, 2007, at 4:59 AM, Dave wrote: Does anyone know away around this or do I have to abandon my idea and have two separate GetXY functions? I sup

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
Don Jungk wrote: Hi Bob, I just realized there is an easier way that should work for you. - Phew! Thank God for that. Perhaps Jacque can give me a little of the brain surgery I need, then I'll try again later. Thanks for now. Bob _

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
Mark Wieder wrote: Bob- Wednesday, March 14, 2007, 7:02:10 AM, you wrote: So if "mount" isn't a valid command, somebody had better tell smbclient! > Possibly, smbclient -? for the available options is out of date. Well, smbclient on my Ubuntu installation happily ignores "mount" as well. O

Re: Linux-specific technical problems

2007-03-15 Thread J. Landman Gay
Don Jungk wrote: Hi Bob, I just realized there is an easier way that should work for you. I was re-encoding fonts that are resident in the printer, but you have the entire encoding in your PS file. I'm a little lost in postscript, but...does this mean that if Bob were to replace the font he

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
Your mail to 'use-revolution' with the subject Re: Linux-specific technical problems Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 15832 bytes with a limit of 15 KB ---

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
Don: Although I am pushed for time today, I couldn't resist trying to carry out your suggestion immediately. I followed your instructions as best I could, but the result was a PS file that still didn't display in the Evince utility. However, since I have sent the whole original PS file creat

Re: Passing by Reference?

2007-03-15 Thread Trevor DeVore
On Mar 15, 2007, at 8:00 AM, Dave wrote: On 15 Mar 2007, at 14:23, Trevor DeVore wrote: On Mar 15, 2007, at 4:59 AM, Dave wrote: Does anyone know away around this or do I have to abandon my idea and have two separate GetXY functions? I suppose you could pass false instead of empty and che

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
This is the text in Portuguese that was contained by the field of my test program that produced an incorrect PS file. I hope it displays OK here! Bob bom ar [1] bom-bril [1] carvão [1] desinfetante [1] desodorante [1] detergente [1] esponja [1] Finish l

Re: Passing by Reference?

2007-03-15 Thread Dave
On 15 Mar 2007, at 14:23, Trevor DeVore wrote: On Mar 15, 2007, at 4:59 AM, Dave wrote: Does anyone know away around this or do I have to abandon my idea and have two separate GetXY functions? I suppose you could pass false instead of empty and check for that. I don't think this would wo

Re: Passing by Reference?

2007-03-15 Thread Dave
On 15 Mar 2007, at 14:35, Ken Ray wrote: On Thu, 15 Mar 2007 11:59:10 +, Dave wrote: However this doesn't seem to work, since it looks like there is no way to tell if you are passing "empty" as apposed to a value that is empty, e.g. Sorry, Dave, but I don't see the difference... did yo

Re: Linux-specific technical problems

2007-03-15 Thread Bob Warren
Mark Wieder wrote: Bob- Wednesday, March 14, 2007, 8:48:42 AM, you wrote: In fact, it is not necessary to expose your password when accessing a > network drive in Linux. I cut this out of Mark's suggested command line. > On my network/machines, the following worked perfectly: > put "smbclie

Re: Linux-specific technical problems

2007-03-15 Thread Don Jungk
Hi Bob, I just realized there is an easier way that should work for you. I was re-encoding fonts that are resident in the printer, but you have the entire encoding in your PS file. After the line "/isolatin1encoding [" you have a list of 228 character definitions. The numbering starts at 0. You

Re: Passing by Reference?

2007-03-15 Thread Ken Ray
On Thu, 15 Mar 2007 11:59:10 +, Dave wrote: > However this doesn't seem to work, since it looks like there is no > way to tell if you are passing "empty" as apposed to a value that is > empty, e.g. Sorry, Dave, but I don't see the difference... did you want to have some different action pe

Re: Duration of non supported applications

2007-03-15 Thread Ken Ray
On Thu, 15 Mar 2007 11:23:45 +0100, Signe Marie Sanne wrote: > So far I have used MetaCard and engine 2.6.6. The programs make use > of a portal stack (thanks to Sivakatirswami) which downloads/opens > the various educational programs. This downloading is done by http. > > My questions to the g

Re: Printing and previewing

2007-03-15 Thread Klaus Major
Hi Martin, Hi Klaus, thanks for your interest. The following are the pertinent lines. If I set the left of stack "Printstack" to say 250, it is onscreen and the capture works OK (but this requires the printstack to be visible and hence is not presenting a polished result for a print preview). If

Re: Passing by Reference?

2007-03-15 Thread Trevor DeVore
On Mar 15, 2007, at 4:59 AM, Dave wrote: Does anyone know away around this or do I have to abandon my idea and have two separate GetXY functions? I suppose you could pass false instead of empty and check for that. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-

RE: Detecting Browser Page on Windows/Linux

2007-03-15 Thread Ken Ray
On Thu, 15 Mar 2007 04:34:57 -0700, Mark Powell wrote: > > If (objApp.Name = "Windows Internet Explorer") or > (objApp.Name="Microsoft Internet Explorer") then > > > Hi Ken: > > Does this signify that the VB will not work with browsers other than IE? Well, *technically*, yes, but the non-IE

Re: Printing and previewing

2007-03-15 Thread Martin Blackman
I think I've just found the answer to my problem. Export snapshot DOES work with offscreen OBJECTS, not stacks. It even works with groups, so in my example I can group all the objects on my printstack and change the export line to : export snapshot from rect trect of grp "PrintGrp" to pictvar as

Re: Printing and previewing

2007-03-15 Thread Martin Blackman
Hi Klaus, thanks for your interest. The following are the pertinent lines. If I set the left of stack "Printstack" to say 250, it is onscreen and the capture works OK (but this requires the printstack to be visible and hence is not presenting a polished result for a print preview). If I set to 250

Re: Thank for suggest to build website by runrev.

2007-03-15 Thread Bill Marriott
Supote, Also, just because it can be used as a CGI doesn't mean this is the only way to use Rev to build a website. You can write a desktop-based content management system in Rev that uploads static HTML files via FTP, for example. And many other possibilities. "supote songthammawat" <[EMAIL

Passing by Reference?

2007-03-15 Thread Dave
Hi, Please take a look at the function below. Basically I was trying to make a flexible utility function that returned two values either as a List in the return value or as individual (X, Y or X and Y) values. It could then used as so: get PDFGetXY(theDocumentRef,myXValue,myYValue) or

Re: Printing and previewing

2007-03-15 Thread Klaus Major
Hi Matrin, Unfortunately when the stack is offscreen I get the following error with export snapshot: export: no image selected, or image not open sounds like a syntax problem. Could you post your code? ... You might be able to try export image and see if it doesn't work with offscreen images

RE: Detecting Browser Page on Windows/Linux

2007-03-15 Thread Mark Powell
If (objApp.Name = "Windows Internet Explorer") or (objApp.Name="Microsoft Internet Explorer") then Hi Ken: Does this signify that the VB will not work with browsers other than IE? Mark ___ use-revolution mailing list use-revolution@lists.runrev.

Re: Printing and previewing

2007-03-15 Thread Martin Blackman
Unfortunately when the stack is offscreen I get the following error with export snapshot: export: no image selected, or image not open ... You might be able to try export image and see if it doesn't work with offscreen images in 2.7...I seem to think that might work. __

Re: 2 dimensional Arrays

2007-03-15 Thread Dave
On 15 Mar 2007, at 04:53, Mark Wieder wrote: Richard- Wednesday, March 14, 2007, 8:54:34 AM, you wrote: So while it's true that Rev's arrays are associative rather than numerically indexed (and a request has been submitted to make that more self-evident in the docs), it's not like Rev inve

RE: getting cgi running on linux server

2007-03-15 Thread Robert Mann
Thanks so much for all the help from everyone on this, two things I had wrong needed the Linux engine only, and then I needed to change the first line of code to #!Linux not #!Revolution Now off to try and get my stack working as a cgi Thanks Rob __

Duration of non supported applications

2007-03-15 Thread Signe Marie Sanne
Hello to the list After having used MetaCard since 1989 I'm now retiring from my job and there is no one to follow up my work. Both I and the institute are worried about further usage of the educational programs I have developed for various foreign languages at our University. Many of th

Re: Printing and previewing

2007-03-15 Thread Chipp Walters
Hi Martin, Yep, I'm using 2.6. pixMapID doesn't work in 2.7. I need to rewrite that part of my code. You might be able to try export image and see if it doesn't work with offscreen images in 2.7...I seem to think that might work. -Chipp ___ use-revolut

Re: Printing and previewing

2007-03-15 Thread Martin Blackman
I have been fooling around with this idea using another of the handy tips on Sons of Thunder's Rev page, http://www.sonsothunder.com/devres/revolution/tips/imag007.htm but am running in to an error with this line: set the imagepixmapid of last image to (the pixmapid of stack pStackPath) I get a 'c

Re: Dimensional Arrays

2007-03-15 Thread Nic Prioleau
Ah thanks Ken & Jim, got it work just perfectly with your help... it always looks so simple when someone else does it!!! Much appreciated!! - Original Message - From: "Jim Ault" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Thursday, March 15, 2007 10:15 AM Subject: Re: Dimens

Re: Dimensional Arrays

2007-03-15 Thread Jim Ault
A little refinement can get you tallys and averages for reporting: Ken's example with the following added: get tData filter it with ("B444AAA,*,*,2" -- only month 2 put sumFuelKM(it, collectedValues) into collectedValues - put "B444AAA" into tRegNo put 2 int