Re: checking removable drives

2005-11-03 Thread xavier . bury
Ken, At work we use etrust, CAVA (for emc systems) and sophos and never get these issues!!! I've thrown away Norton long ago because it's such an intrusive over-simplistic application without much choice of what i could or wanted to be done. Not to mention the email slowdowns with dialog

Re: checking removable drives

2005-11-03 Thread Charles Hartman
(an OT, musing response:) Interesting. A year or so ago, on a Python list, because I was trying to write a my0wnData file (for the program, not the user), I asked how to find out what the program's own folder *was*. On OS X it's weird; the own folder turns out to be inside the

stumped problem solved! :)

2005-11-03 Thread AbilityForms
As I said before in other questions to the group I've apparently suffered some sort of corruption. These three windows all open to the full screen every time. It doesn't matter that I resize and save them. They still open full screen size the next time. Someone told me how to fix the

Re: I guess I stumped everyone. :(

2005-11-03 Thread Charles Hartman
On Nov 3, 2005, at 1:51 AM, Ken Ray wrote: Basically here's how this works - all the ___stack and ___card messages (preOpenStack, openCard, etc.) are sent to the card, and then travel through the hierarchy to the stack. If the stack is a substack, it then travels to For a beginner

Re: I guess I stumped everyone. :(

2005-11-03 Thread xavier . bury
Hi Charles, One common source of errors is with the word me First because if you transfer code from a control to a stack, Me changes. Me works fine for cards or stacks but you have to be sure of teh context. For example in a button script on mouseup put me end mouseup gives you nothing -

Re: A must have stack for all...

2005-11-03 Thread Jim Hurley
Message: 12 Date: Wed, 02 Nov 2005 17:14:45 -0600 From: Chipp Walters [EMAIL PROTECTED] Subject: A must have stack for all... To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed altEmailHarness

Re: altQuickTable

2005-11-03 Thread Bill Vlahos
Chipp, Thanks for this. It is an easy solution to a long running nasty problem with my application. Bill Vlahos On Oct 26, 2005, at 3:06 PM, Chipp Walters wrote: Hey gang, Just posted a very simple table editing script, using just a single field. I find it invaluable and have used

Re: checking removable drives

2005-11-03 Thread Stephen Barncard
X, We Mac OSX users don't need to run ANY antivirus software, if we're on a router-buffered LAN. It's just not an issue. I don't know what they would protect us from... And yes all 4 of my G4's are on an internet-connected lan. I gave up on Symantic/Norton for disk repair about 4 years ago.

Re: I guess I stumped everyone. :(

2005-11-03 Thread J. Landman Gay
Charles Hartman wrote: Wow! Until I read this message it didn't occur to me that the preOpenStack in the main stack of the database app I'm working on was being called (I just checked) every time one of the five or six substacks opens. Since that handler opens the database and reads much

Hello from newbie

2005-11-03 Thread Erin D. Smale
Not sure if this is appropriate, but I wanted to say hello and introduce myself to the list as a new Revolution user. I'm a web programmer that uses PHP, javascript, and MySQL most (ASP if I have to, Java if at gunpoint). For standalone apps, I dabbled a bit with VB, even less with C++, and

Re: Hello from newbie

2005-11-03 Thread Eric Chatonet
Hello Erin, Welcome to this list: you will find here nice, kind and reactive people who like to help. Be sure that your introduction was very appropriate here :-) It's the best place to ask questions and learn! As for finding resources, there are many: You might check the sites of the

Re: Hello from newbie

2005-11-03 Thread Andre Garzia
Erin, First of all, be very welcome. You just found the best resource ever to Revolution which is this mailing list. If you have doubts or questions, leave a post here, someone will point you in the right direction. I find this list the most amusing thing ever!!! People are friendly,

Re: Hello from newbie

2005-11-03 Thread Richard Gaskin
Erin D. Smale wrote: Revolution has *impressed* me at every turn, and I think I've found the tool I've been looking for to complete the dozen or so programming projects swirling around my head. I'm working through the tutorials included with the software, have started reading Dan Shafer's

Strange field wraps with tabs

2005-11-03 Thread SimPLsol
Xavier, Thank you, again, for the suggestion that tabs might be causing the strange display problems in large fields. I changed the delimiter from tab to | and the display problems disappeared. The original reason for the tabs was to make the data more transportable - especially to

Re: Strange field wraps with tabs

2005-11-03 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: Xavier, Thank you, again, for the suggestion that tabs might be causing the strange display problems in large fields. I changed the delimiter from tab to | and the display problems disappeared. The original reason for the tabs was to make the data more transportable -

Re: Strange field wraps with tabs

2005-11-03 Thread SimPLsol
Richard, Agreed. Sane people will seldom need to concern themselves with this. I have over a hundred tabs in my lines (certainly not real world). By the way, the vertical tab (ASCII 11) displays in the message box and in fields but not in the script editor. PL

Re: A must have stack for all...

2005-11-03 Thread Chipp Walters
Jim, Contact me offlist and I'll work w/you trying to debug it. Offlist, because I'll probably end up giving you some server settings to our mail server for you to test against. best, Chipp Jim Hurley wrote: Message: 12 Date: Wed, 02 Nov 2005 17:14:45 -0600 From: Chipp Walters [EMAIL

RE: Strange field wraps with tabs

2005-11-03 Thread MisterX
Hi Paul Im only too glad to help. Is this bugzillaed? I didn't find it in my last scan... ;) Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, November 03, 2005 6:35 PM To: use-revolution@lists.runrev.com

Re: Trying to return results from a query run on the database

2005-11-03 Thread Fred Giannetto
Thank you Trevor, The function executes but only returns the Database ID connection instead of the results of the query. Anyone know why it would be doing this? All best Always Fred From: Trevor DeVore [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com To:

Re: Trying to return results from a query run on the database

2005-11-03 Thread Fred Giannetto
It seems that it is putting the connection database ID number without executing the SQL statement. From: Fred Giannetto [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com To: use-revolution@lists.runrev.com Subject: Re: Trying to return results from a query run

Re: Trying to return results from a query run on the database

2005-11-03 Thread Trevor DeVore
On Nov 3, 2005, at 11:56 AM, Fred Giannetto wrote: Thank you Trevor, The function executes but only returns the Database ID connection instead of the results of the query. Anyone know why it would be doing this? revQueryDatabase returns the cursor id returned from the database. You

Re: Trying to return results from a query run on the database

2005-11-03 Thread Fred Giannetto
Outstanding! Thank you Trevor. It is all set. All best Always Fred From: Trevor DeVore [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com To: How to use Revolution use-revolution@lists.runrev.com Subject: Re: Trying to return results from a query run on the

Re: option button remains grabbed

2005-11-03 Thread rev
Quoting [EMAIL PROTECTED]: Hi All Hi Again If I change the option key to be activated by the 3rd mousebutton thebn it is ok but if both use the first mousebutton then there is a problem. Any ideas? cheers bob I have an option button added to a form with the script on mousedown if the

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Richard, In many situations with managed clients using active directory domains, writing to the 'Programs Folder' is *not permitted*. This is particularly a problem in Enterprise and can also be a problem for 'Guest' users. That is the reason why I use the AppPath or the UserPath method.

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Yep, how would you account for different users having different prefs if you store the prefs only in the Program Files folder? Of course, if that's not a concern, then _fire away_ ! Richard Gaskin wrote: Could there be a downside to writing prefs or other such app-managed data to a folder

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Richard, In many situations with managed clients using active directory domains, writing to the 'Programs Folder' is *not permitted*. This is particularly a problem in Enterprise and can also be a problem for 'Guest' users. That is the reason why I use the AppPath or

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Yep, how would you account for different users having different prefs if you store the prefs only in the Program Files folder? Of course, if that's not a concern, then _fire away_ ! How many different users would be running the app from the same removable device? If

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Hmm, I'm probably just coming late to the party. But, you say: If an app can't write to its own directory, it must be installed on the hard drive and not running from a removable device. -- TRUE (unless it's on a CD-ROM or the removable device is LOCKED) of course the inverse isn't true: If

Re: checking removable drives

2005-11-03 Thread Chipp Walters
OK, I'm caught up now and get what you're doing. Sorry for wasting bandwidth on the list. You're right, using an environment variable can help manage the user prefs. Overall, I like the idea of just putting stuff in the same folder as the app, for portability reasons. But, it does present a

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Hmm, I'm probably just coming late to the party. But, you say: If an app can't write to its own directory, it must be installed on the hard drive and not running from a removable device. -- TRUE (unless it's on a CD-ROM or the removable device is LOCKED) of course the

ANN: TreeView in Revolution!!

2005-11-03 Thread Stephen Barncard
I just got an email from Luis L. Rodíguez Oro, who asked me to offer his stack to the list. I guess he feels his English isn't good enough. I don't know about that - looks fine to me - but anyway his stack TreeView in Revolution was nicely done, and my normally crusty self felt I owed it

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Richard Gaskin wrote: The only downside to self-contained apps is that there's no file-type association present in the host system's registry, so documents must be opened from within the app rather than double-clicked. But this factor is independent of any method used to determine what

Re: checking removable drives

2005-11-03 Thread Garrett R. Hylltun
Actually, running apps from removable devices is far more common and growing in popularity. I myself had written a few apps in my Windows days to run off of my iPod Mini. As well, I also had Firefox, Thunderbird, Nvu and several other programs setup on my iPod Mini. I can't speak for OSX,

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Richard Gaskin wrote: The only downside to self-contained apps is that there's no file-type association present in the host system's registry, so documents must be opened from within the app rather than double-clicked. But this factor is independent of any method used

Re: checking removable drives

2005-11-03 Thread Trevor DeVore
On Nov 3, 2005, at 2:05 PM, Richard Gaskin wrote: With Rev's ability to read and write the Windows directory, it would be simple enough to make the registry entries for the file type association. But for true portability this should not happen when running from a removable drive, the

Re: stumped problem solved! :)

2005-11-03 Thread Ken Ray
On 11/3/05 7:10 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Well, I downloaded a fresh Rev copy then foolishly opened one of my existing stacks and my problems persisted. I don't have any plugins, substacks, frontScripts or backScripts. The oversize windows are a problem on all my stacks.

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Trevor DeVore wrote: On Nov 3, 2005, at 2:05 PM, Richard Gaskin wrote: With Rev's ability to read and write the Windows directory, it would be simple enough to make the registry entries for the file type association. But for true portability this should not happen when running from a

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Garrett R. Hylltun wrote: Actually, running apps from removable devices is far more common and growing in popularity. How do other portable apps handle the customary behavior of being able to launch an app by double-clicking one of its documents? Or it is considered acceptable to blow that

Re: checking removable drives

2005-11-03 Thread Andre Garzia
On Nov 3, 2005, at 8:19 PM, Richard Gaskin wrote: Garrett R. Hylltun wrote: Actually, running apps from removable devices is far more common and growing in popularity. How do other portable apps handle the customary behavior of being able to launch an app by double-clicking one of its

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Andre Garzia wrote: does anyone know if autorun.inf will work on usb drives? Last I checked, it didn't. -Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: checking removable drives

2005-11-03 Thread Trevor DeVore
On Nov 3, 2005, at 2:15 PM, Richard Gaskin wrote: We could, but it obviates the biggest benefit of the file-type association: being able to launch the app by double-clicking a document. True, you would only get double-click, icon associations, etc. while the app was running. -- Trevor

Re: checking removable drives

2005-11-03 Thread Garrett R. Hylltun
On Thu, 3 Nov 2005 20:24:43 -0200 Andre Garzia [EMAIL PROTECTED] wrote: does anyone know if autorun.inf will work on usb drives? It will not work with all removable devices. When I did my work related to this, my very own iPod Mini would not work with the autorun.inf, even though I had

Re: checking removable drives

2005-11-03 Thread Andre Garzia
Err.. Folks... it is possible, but it is horrible™ From Microsoft USB FAQ: http://www.microsoft.com/whdc/device/storage/ usbfaq.mspx --- blurb --- The Autorun capabilities are restricted to CD-ROM drives and fixed disk drives. If you need to make a USB storage device perform Autorun,

Re: checking removable drives

2005-11-03 Thread Garrett R. Hylltun
On Thu, 03 Nov 2005 14:19:36 -0800 Richard Gaskin [EMAIL PROTECTED] wrote: Garrett R. Hylltun wrote: Actually, running apps from removable devices is far more common and growing in popularity. How do other portable apps handle the customary behavior of being able to launch an app by

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Richard Gaskin wrote: And if we do ignore that for portable apps, assuming we'd like to ship a single app for both portable and installed use, how can we know we're running installed so that we could write the file association entry to the registry as customers would expect for a

Re: checking removable drives

2005-11-03 Thread Garrett R. Hylltun
On Thu, 3 Nov 2005 14:27:29 -0800 Trevor DeVore [EMAIL PROTECTED] wrote: On Nov 3, 2005, at 2:15 PM, Richard Gaskin wrote: We could, but it obviates the biggest benefit of the file-type association: being able to launch the app by double-clicking a document. True, you would only

Menu Hotkeys

2005-11-03 Thread Garrett R. Hylltun
Greetings, How do I get the hotkeys to work for the menus? Such as CTRL+Q for the Exit menu item. I could not find any reference to this in the documentation. Thanks in advance, -Garrett ___ use-revolution mailing list

Re: checking removable drives

2005-11-03 Thread Mark Wieder
Chipp- Thursday, November 3, 2005, 12:50:36 PM, you wrote: PS I've asked Chris about how to figure out the removable drive thing on XP w/out vbs...He's processing...(unfortunately, I'm using Chris 1.0, the 2.0 version *still* hasn't been released). Again, there's an external call in the sdk

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Andre Garzia wrote: does anyone know if autorun.inf will work on usb drives? Not normally, but a consortium of USB vendors at U3.org has developed a way to partition a USB drive to trick the OS into thinking one of its partitions is a CD-ROM, so now that security hole can be exploited by

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Richard Gaskin wrote: And if we do ignore that for portable apps, assuming we'd like to ship a single app for both portable and installed use, how can we know we're running installed so that we could write the file association entry to the registry as customers would

Controlling External Devices

2005-11-03 Thread Roger Guay
Hello All, I've searched the archives, but found only limited information about controlling external devices with Rev. As I need something somewhat more sophisticated and reliable than X-10 devices, I would like to ask anew if anyone is doing this kind of work? What would be ideal is

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Mark Wieder wrote: Again, there's an external call in the sdk to do this. There's a Win32 API call named GetDriveType() that returns DRIVE_REMOVABLE for removable drives. Including USB flash drives. I doubt this can be done without an external call, short of seeing if a write works. Looks like

2 question help

2005-11-03 Thread Paul
Dear RunRev Programmers, I have 2 questions. 1) How to I make a link to browse the cd drive. This is for a cd that installs but some files do not get transferred to the hard drive, it's rep files that the rep has access to but the end user has no need for them. I like an easy way for the

Re: Controlling External Devices

2005-11-03 Thread Troy Rollins
On Nov 3, 2005, at 6:28 PM, Roger Guay wrote: I've searched the archives, but found only limited information about controlling external devices with Rev. As I need something somewhat more sophisticated and reliable than X-10 devices, I would like to ask anew if anyone is doing this kind of

Re: Controlling External Devices

2005-11-03 Thread Roger Guay
I'm sorry I wasn't clear about this. What I'm looking for is a computer interface with touch screen to a complex electro-mechanical device. That's why I mentioned an external Programable Logic Controller. An example that a lot of folks would relate to would be computer control/interface

Re: Controlling External Devices

2005-11-03 Thread Troy Rollins
On Nov 3, 2005, at 7:04 PM, Roger Guay wrote: I'm sorry I wasn't clear about this. What I'm looking for is a computer interface with touch screen to a complex electro-mechanical device. That's why I mentioned an external Programable Logic Controller. An example that a lot of folks would

Re: Controlling External Devices

2005-11-03 Thread Sarah Reichelt
I've searched the archives, but found only limited information about controlling external devices with Rev. As I need something somewhat more sophisticated and reliable than X-10 devices, I would like to ask anew if anyone is doing this kind of work? What would be ideal is an external

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread Mark Wieder
Dan- Wednesday, November 2, 2005, 2:33:12 PM, you wrote: A good experience is rich, something worth exploring, telling others about, and experiencing again. It's overdetermined - or holistic - or *integrated*. And being integrated makes it (often) hard to explain, since one can't truly

Re: 2 question help

2005-11-03 Thread Dan Shafer
You're probably thinking of Scripter's Scrapbook: http://www.flexiblelearning.com On Nov 3, 2005, at 3:38 AM, Paul wrote: 2) I had to format my hard drive the other day due to a worm, boy would I like the person that programmed this worm, well any way – I had a program that was a db as

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread TJ Frame
As much as I think these comparisons are misleading and limiting, Hypercard on Steroids or Professional Hypercard are actually pithys way of getting the essentials across to people. Most programmerish types are aware of Hypercard and the general environment and methodology associated with it (Mac

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread Dan Shafer
I gave up on that years ago. Dan On Nov 3, 2005, at 4:37 PM, Mark Wieder wrote: ...so - any attempt at trying to describe this for folks who haven't dived in yet? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread J. Landman Gay
Mark Wieder wrote: ...so - any attempt at trying to describe this for folks who haven't dived in yet? My own twist on an old HyperCard description: Tinkertoys for software. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software |

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread Jim Ault
I use the following in part of my 30 second spiel: With Revolution, I can quickly design a tool, like a timer with a graphic interface and a drop down menu, then in one step, compile it to an exe for Windows, an app for Mac OSX, an app for Linux/ Unix. I don't know Unix, and very little Windows,

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread J. Landman Gay
J. Landman Gay wrote: Mark Wieder wrote: ...so - any attempt at trying to describe this for folks who haven't dived in yet? My own twist on an old HyperCard description: Tinkertoys for software. Oh, and I forgot, they also used to call it a software erector set. -- Jacqueline Landman

Longest common substring / subsequence

2005-11-03 Thread Terry Judd
I'm find myself getting deeper into the murky/difficult/fascinating area of sequence analysis (of behavioural data captured within educational technology environments) and was wondering whether anyone had succeeded in implementing routines for finding the longest common substrings or

Re: 2 question help

2005-11-03 Thread Ken Ray
On 11/3/05 5:38 AM, Paul [EMAIL PROTECTED] wrote: Dear RunRev Programmers, I have 2 questions. 1) How to I make a link to browse the cd drive. This is for a cd that installs but some files do not get transferred to the hard drive, it's rep files that the rep has access to but the

Re: How to tell a line from a paragraph?

2005-11-03 Thread Jeanne A. E. DeVoto
At 3:42 PM -0800 11/2/2005, Michael wrote: Is it possible to determine on which line a word resides in a text field, where a line is defined not as a cr-delimited paragraph but as a row in the field's display? This expression will produce the (visible) line number:

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Richard Gaskin wrote: Alternatively, I could safely provide that for 95% of my customers by writing the reg entry only when the boot volume is the same as the volume the app is running on. Richard, For some darn reason I buy a lot of Windows computers. You'd be surprised how many have a

Re: Controlling External Devices

2005-11-03 Thread Chipp Walters
Sarah Reichelt wrote: Rev cannot yet handle USB comms, although I understand Altuit is working on an external for this. Chris did spend a significant amount of time writing a USB external for both Mac and PC, but after taking a look at the way data is handled through a USB connection, we

Re: checking removable drives

2005-11-03 Thread Richard Gaskin
Chipp Walters wrote: Alternatively, I could safely provide that for 95% of my customers by writing the reg entry only when the boot volume is the same as the volume the app is running on. Richard, For some darn reason I buy a lot of Windows computers. You'd be surprised how many have a

Re: checking removable drives

2005-11-03 Thread Chipp Walters
Well then Mark, are you going to share it? ;-) Richard Gaskin wrote: Small matter at this point: Mark Weider slugged it out with the externals SDK and sent me the compiled DLL he's been talking about. Works a treat. ___ use-revolution mailing

Re: Controlling External Devices

2005-11-03 Thread Sarah Reichelt
Rev cannot yet handle USB comms, although I understand Altuit is working on an external for this. Chris did spend a significant amount of time writing a USB external for both Mac and PC, but after taking a look at the way data is handled through a USB connection, we decided it would take

Re: [Slightly OT?] Why It's Hard to Explain Rev

2005-11-03 Thread Dan Shafer
I've been known to call it Java without the Java. Dan On Nov 3, 2005, at 5:16 PM, J. Landman Gay wrote: J. Landman Gay wrote: Mark Wieder wrote: ...so - any attempt at trying to describe this for folks who haven't dived in yet? My own twist on an old HyperCard description: Tinkertoys for

Re: Strange field wraps with tabs

2005-11-03 Thread xavier . bury
Richard said: On the bright side, there's rarely a need to display that many columns to a user in most layouts. In DB apps it's common to display a useful subset of fields in a list for the user to pick from, and then edit fields in a detail view showing all fields. No there isn't a