How to get audio input volume

2006-05-01 Thread lveillette
Hello, I would like to know how to obtain the audio input level. I am looking for something that I could poll to get the general level, and if possible to get a level at specific frequency or over a range of frequency. Does someone have some code examples? Thanx Louis Veillette

Re: StyledText.ParagraphCount() is too expensive (styled EditField)

2006-05-01 Thread Marcel
Hi Tomis! Thanks for the idea. I did this already by using a Thread class with low priority. So the user input isn't slowed down by my calculations and the result comes whenever it is ready, without pulling the whole CPU power... I guess this is not the same, but similar to your approach.

[ANN] SpamSweep v1.3

2006-05-01 Thread Navdeep Bains
May 1st 2006 Advanced bayesian spam filter for Mac OS X. YUBA CITY, CA (May 1st, 2006) Bains Software today announced the immediate availability of SpamSweep v1.3, an update to it's powerful spam filter for Mac OS X. SpamSweep is an advanced bayesian spam filter with a simple, easy to

Retrieve Windows App Version Information

2006-05-01 Thread Arndt Weinmann
Hi! Is there a possibility to extract the version information from a windows application binary? Arndt ___ Unsubscribe or switch delivery mode: http://www.realsoftware.com/support/listmanager/ Search the archives of this list here:

Re: What is the FTDI USB Virtual Serial Port Maximum speed

2006-05-01 Thread Benjamin Brooking
The max speed for the FTDI virtual serial port drivers is 300kbps. You can go faster using direct USB drivers but FTDI does not distribute these for OS X and the 3rd party Linux direct drivers (which compile for OS X) have other problems which mean I have yet to get it to go faster than the VCP

drag question

2006-05-01 Thread Tommy
Hi all, I implemented some dragdrop between 2 listboxes and everything works fine. I would like to know if it's possible to change the default rectangle that represent the current drag selection with some nicer image (for ex an image that represents the number of dragged items). Many

PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread Jonathon Bevar
If I wanted to save a User and Password editfields, mind you I am using the Password mask in the Password editfield, how would the password editfield be saved? Is there some auto-encryption when saved to an .ini or text file? 1 I want this to be easy and for all platforms so hiding it in the

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread joe
Jonathon Bevar wrote: If I wanted to save a User and Password editfields, mind you I am using the Password mask in the Password editfield, how would the password editfield be saved? Save the MD5 hash of it. Then, to check the user's entered password against what's saved in the file,

[20060501-1] LR: add a text information, context sensitive in Index

2006-05-01 Thread Emile Schwarz
Hi all, I was searching the Math Function who returns the absolute value of the passed number and was in trouble because I didn' reach it... And, all of a sudden, I feel that if there was a context sensitive help text rect, I would get it faster... In html, tables, we can use: td

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread Jamie Lay
Jonathan, Since you said you are writing something for patients you might want to either market it as something else (personal diary) or check the HIPPA regulations. HIPPA imposes some rather strict requirements even though your software is for the patient and not the health-care provider.

[20060501-2] Filter files under REALbasic 200x

2006-05-01 Thread Emile Schwarz
Hi all, REALbasic 2006r2 MacOS X (but I suppose it will work under others platforms) In a current project, I wanted to filter (get Graphics defined file type and reject all others) the dropped Folder contents. Usually, I have a long (very long - read boring) If ... And ... And ... Then

[20060501-3] Another Bug in the MenuEditor

2006-05-01 Thread Emile Schwarz
REALbasic 200x Mac OS X 10.4.6 Add a new MenuItem and give it as its name: Resize images; for some dark reason, you wand to put a letter as an UpperCase (instead of the wrong LowerCase), so: Change the Name Property from Resizeimages to ResizeImages... You're done ! You Got It... A

Re: Application going missing on Intel Mac

2006-05-01 Thread Dennis Birch
I added a startup check to my main application that prevents it from running from a locked medium to try to avoid problems like this. It's a pretty good solution, although not perfect. On 4/30/06, Brad Rhine [EMAIL PROTECTED] wrote: On Apr 30, 2006, at 1:06 PM, Dennis Birch wrote: Are you

Re: Application going missing on Intel Mac

2006-05-01 Thread Brad Rhine
On May 1, 2006, at 11:21 AM, Dennis Birch wrote: I added a startup check to my main application that prevents it from running from a locked medium to try to avoid problems like this. It's a pretty good solution, although not perfect. I just stopped worrying about it. :) It's mostly

Re: SaveAsDialog OS X RB2006

2006-05-01 Thread Sven E Olsson
On 1 maj 2006, at 00.17, [EMAIL PROTECTED] wrote: Tony Spencer wrote: Seems this thread had got a little out of hand! I certainly agree with that, which is why I've quit contributing to it, but I do feel the need to respond to this: It is quite surprising that Joe is of the opinion

Re: drag question

2006-05-01 Thread joe
On May 01, 2006, at 14:23 UTC, Tommy wrote: I implemented some dragdrop between 2 listboxes and everything works fine. I would like to know if it's possible to change the default rectangle that represent the current drag selection with some nicer image (for ex an image that represents

How to crash using PrinterSetup SetupString

2006-05-01 Thread Michael Sharpe
Using RB2006r2 under XP Pro SP2, I found a guaranteed way (for me) to corrupt the PrinterSetup object. I had written a procedure ParseSetup to parse the SetUpString and write the results to a log file. The variable ps is a PrinterSetup object, properly constructed. When I called the

Re: drag question

2006-05-01 Thread Knut Lorenzen
[EMAIL PROTECTED] schrieb dereinst (am 01.05.2006 18:06 Uhr) via [EMAIL PROTECTED]: I implemented some dragdrop between 2 listboxes and everything works fine. I would like to know if it's possible to change the default rectangle that represent the current drag selection with some nicer image

SOAP and mime/Multipart

2006-05-01 Thread Sam DeVore
I was wondering if anyone has done anything with the SOAP stuff built into RB 2006 (or older) and mime/mulitpart submissions (one of the methods for doing enclosures) or if one just has to use a http socket and build the request by hand? Sam D

Re: ModificationDate Windows vs. Mac

2006-05-01 Thread Jochen Machatschke
I created 4 test-files on Windows and MacOS-Machines with the system-time set to the 01.01. and to the 01.05.2006: Mac Winter 18.52.rtf means: - File created on a mac - At Winterzeit (01.01.2006) - At 18:52 Win Sommer 18.27.txt means: - File created on a Windows-Machine - At

Landscape

2006-05-01 Thread Wade Little
What do I need to pass here to have my print out be in landscape mode??? Here is what I am currently using and this works for the default settings Dim g As Graphics g = OpenPrinterDialog() If g Nil then . Whatever I print .. end if I see that I need to pass something to

Re: Landscape

2006-05-01 Thread joe
On May 01, 2006, at 20:27 UTC, Wade Little wrote: What do I need to pass here to have my print out be in landscape mode??? I don't think there is anything you can pass there to do that. Whether the printout is in landscape or portrait mode is up to the user (they select this in the printer

Re: Landscape

2006-05-01 Thread joe
On May 01, 2006, at 20:29 UTC, I wrote: I don't think there is anything you can pass there to do that. Whether the printout is in landscape or portrait mode is up to the user (they select this in the printer setup dialog). You can detect which they've selected by comparing g.width to

Bug that I forgot it's workaround for

2006-05-01 Thread Theodore H. Smith
I'm using RB 5.5 There's a bug with it's file types. I enter a filetype. RB lets me save with it, but not load it! So I try deleting the Mac type and creator, just leaving the .extension. Guess what? Now RB will open ANY file despite that none of them have the correct extension! So

Re: Landscape

2006-05-01 Thread Wade Little
Joethanks for your help..What I am printing out is going to be a big table that will only fit on the page if I have it in landscape modeSo I want to only allow it to print in landscape mode which is what you seem to meantion here Can you explain a little more on how I would do

Re: Landscape

2006-05-01 Thread joe
On May 01, 2006, at 20:43 UTC, Wade Little wrote: Joethanks for your help..What I am printing out is going to be a big table that will only fit on the page if I have it in landscape modeSo I want to only allow it to print in landscape mode which is what you seem to meantion

Re: Landscape

2006-05-01 Thread Tomis E.
Unless they've changed things; the optional SetupString is a parameter which is not meant to be edited/manipulated. It is a data stucture representing the user's printer setup choices, so that their desired settings for a document can be persistent accross print operations. You are responsible

RbScript Context Obj Question

2006-05-01 Thread keatk
Are all of the context object methods and (non object) properties available to the script, even if they are protected or private? Thanks - karen ___ Unsubscribe or switch delivery mode: http://www.realsoftware.com/support/listmanager/ Search the

ContainerObject -- a feature request idea

2006-05-01 Thread Charles Yeomans
I'm writing more and more ContainerControls that encapsulate a single control plus other objects, so that I can implement events in the ContainerControl and to take advantage of the encapsulation provided by a ContainerControl. It occurs to me that a similar thing could be done for

Internal Error on New REALSQLDatabase

2006-05-01 Thread Charles Kelley
Hi, all! I have been struggling with making a new REAL SQL database. I am stymied when I code the following instruction. dim SDB as REALSQLDatabase SDB = new REALSQLDatabase I keep getting an internal error from the database engine. At first, I thought it was the way in

Re: drag question

2006-05-01 Thread Ron Benditt
On May 1, 2006, at 1:00 PM, realbasic-nug- [EMAIL PROTECTED] wrote: I implemented some dragdrop between 2 listboxes and everything works fine. I would like to know if it's possible to change the default rectangle that represent the current drag selection with some nicer image (for ex an image

Re: Internal Error on New REALSQLDatabase

2006-05-01 Thread Norman Palardy
On May 01, 2006, at 4:49 PM, Charles Kelley wrote: Hi, all! I have been struggling with making a new REAL SQL database. I am stymied when I code the following instruction. dim SDB as REALSQLDatabase SDB = new REALSQLDatabase I keep getting an internal error from the

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread Jonathon Bevar
Jamie, I do know of the HIPPA regs as I had to aid in creating the manual for a pharmist in Iowa. The program I am creating is more of a personal medical data format for the patient and not the physician, although I have had a few ask about a physician version. But I do thank you for the

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread Jonathon Bevar
Joe, WOW! and Thanks! But, what in the world is MD5? I did check the LR, and did see what MD5 is all about but, could you show me a simple piece of code that would work. All I need is for the Password to be encrypted, then saved to a text file. Thanks though for the great advise,

Re: How to crash using PrinterSetup SetupString

2006-05-01 Thread Meyer Jim
Michael... I would think this is another example of the same problem.. Please report the bug and let us know when you do so those of us who care about this can sign-on.. Jim On May 1, 2006, at 8:43 PM, realbasic-nug- [EMAIL PROTECTED] wrote: Message: 2 Subject: How to

Re: Job Opportunity

2006-05-01 Thread Jonathon Bevar
Ummm Medical eh? 99% of my applications are based on the medical field, primarily for the patients. Ahh, to work again with the rest of you in the 'Real' world... http://www.onclicksoftware.com Jonathon - Original Message - From: Thomas Wilcox [EMAIL PROTECTED] To:

Re: SOAP and mime/Multipart

2006-05-01 Thread Meyer Jim
Sam.. I had to do a DIME encapsulation and ended up doing all by hand.. ie built the XML portion then the DIME chunks, put it all in a file that I then sent with an HTTP socket. I did not see any way to do it with the built-in SOAP classes. Jim On May 1, 2006, at 8:43 PM,

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread joe
On May 02, 2006, at 00:46 UTC, Jonathon Bevar wrote: But, what in the world is MD5? It's a one-way hash function... that means that it takes a string of text, and converts it to a string of gibberish, in a way that (1) is unlikely to produce the same gibberish for two different pieces of

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread Jonathon Bevar
Joe, Thanks and it can't be that easy can it? Wow! I can do that :) Ok, tell me this about the line of code: myOutputStream.WriteLine MD5( thePassword ) thePassword? Is this the Editfield text, like this - thePassword.text? Now, we got the writing TO the text file, now how do I read FROM

Re: Internal Error on New REALSQLDatabase

2006-05-01 Thread Charles Kelley
Hi, all! On Mon, 1 May 2006 17:12, Norman Palardy wrote: Don't both trying to subclass a Database of any kind as it does not work. Use extend methods if you need to add functionality to them. Okey. The first set of code is fine. It works here for me and there's no internal

Followup: Internal Error on New REALSQLDatabase

2006-05-01 Thread Charles Kelley
Hi, all! On Mon, 1 May 2006 22:38, I wrote: Don't both trying to subclass a Database of any kind as it does not work. Use extend methods if you need to add functionality to them. Okey. The first set of code is fine. It works here for me and there's no internal error. What

Re: Followup: Internal Error on New REALSQLDatabase

2006-05-01 Thread Christian Miller
On May 1, 2006, at 10:52 PM, Charles Kelley wrote: dim SDB as REALSQLDatabase SDB = new REALSQLDatabase if SDB.error then MsgBox Your error was _ + Format(SDB.errorCode, -0) else MsgBox No error was made.

listbox problems

2006-05-01 Thread Jason Toews
I'm experiencing some mysterious crashes and I suspect I'm banging up against limitations of my design (highly probable) and/or limitations of the REALbasic listbox. I'll describe what I'm doing, and perhaps someone can point out a flaw in my thinking or make a suggestion. I'm frustrated... My

Re: PASSWORD PROTECTED data in Text file saved how?

2006-05-01 Thread joe
On May 02, 2006, at 01:19 UTC, Jonathon Bevar wrote: Ok, tell me this about the line of code: myOutputStream.WriteLine MD5( thePassword ) thePassword? Is this the Editfield text, like this - thePassword.text? Yes, or whatever variable or property you've previously stored the password in.

Re: Internal Error on New REALSQLDatabase

2006-05-01 Thread Norman Palardy
On May 01, 2006, at 8:38 PM, Charles Kelley wrote: Hi, all! On Mon, 1 May 2006 17:12, Norman Palardy wrote: Don't both trying to subclass a Database of any kind as it does not work. Use extend methods if you need to add functionality to them. Okey. The first set of

Re: Followup: Internal Error on New REALSQLDatabase

2006-05-01 Thread Norman Palardy
On May 01, 2006, at 9:00 PM, Christian Miller wrote: On May 1, 2006, at 10:52 PM, Charles Kelley wrote: dim SDB as REALSQLDatabase SDB = new REALSQLDatabase if SDB.error then MsgBox Your error was _ + Format(SDB.errorCode, -0)

Re: Followup: Internal Error on New REALSQLDatabase

2006-05-01 Thread Norman Palardy
On May 01, 2006, at 8:52 PM, Charles Kelley wrote: A few minutes after I posted the response above, I tried the following code and built an application instead of running it under the aegis of the IDE, i.e., Project - Run. dim SDB as REALSQLDatabase SDB = new