Thanks, phishguy!
On my PC (Windows XP SP2) the one based on SAPI v4 doesn't work, but the one using SAPI v5 works nicely. I did some tests with a Microsoft SDK in the past (maybe 10 years ago) and it was already very easy to use, but this FB example is really a snap.
Search found 148 matches
- Mar 11, 2008 6:49
- Forum: General
- Topic: SAY TRANSLATE$
- Replies: 8
- Views: 2317
Wallace, I think you're wrong. Windows XP (and Vista) has built-in text-to-speech functionalities (see Speech in the Control Panel), and they can be used by means of appropriate API calls. Have a look at:
http://www.microsoft.com/speech/speech2 ... ticle.mspx
http://www.microsoft.com/speech/speech2 ... ticle.mspx
- Mar 08, 2008 15:22
- Forum: General
- Topic: Why is the speed of this code so variable?
- Replies: 3
- Views: 1602
Cha0s, unfortunately it is not a matter that -lang qb is able to cure. The simplest turnaround is to read data into string variables and then use val() to convert them back to numbers. P.S. I submitted a bug report at sourceforge (my username there is mscardi), thanks to KristopherWindsor for pointi...
Bug?
Almost 95% of the problems I experienced while porting my QB source code to FB is related to data I/O in sequential ASCII files. This time I had to read a small data file containing very large numbers. E.g.: 57847922012.0 57847922012 11940917156.0 11940917156 The code I wrote is as follows: Cls Dim ...
- Dec 21, 2007 19:44
- Forum: Windows
- Topic: Accessing Windows Data
- Replies: 4
- Views: 2227
Maybe I'm a tad more optimistic than Garvan, but I think that a rather general solution could be based on a two-step procedure: 1) grab the contents of the window in which the data you want to acquire are displayed (in this forum you can learn how to do); 2) extract the relevant data from the image ...
- Nov 17, 2007 15:23
- Forum: Projects
- Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
- Replies: 964
- Views: 241911
- Nov 17, 2007 9:15
- Forum: Projects
- Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
- Replies: 964
- Views: 241911
I just downloaded the last version of FBEdit and unzipped the whole FBEdit folder in FBEDit.zip to the same parent folder where I had my previous FBEdit folder. I'm not upgrading since a few months, but I always used this procedure and it worked perfectly. However, this time something went wrong and...
- Aug 01, 2007 13:02
- Forum: General
- Topic: Code dont work!
- Replies: 4
- Views: 1705
- Jul 23, 2007 8:06
- Forum: Windows
- Topic: I miss VB...
- Replies: 65
- Views: 36830
I agree with you 100%. As for how-to info, you have to rely upon C/C++ tutorials, examples, docs, etc., and then turn them into FB working code. It's usually easier than expected. I also found that using FBedit helps a lot. It helps in visual design of forms and controls, although making the GUI wor...
- Jul 12, 2007 16:54
- Forum: General
- Topic: Dim a range of variables, common varaible type.
- Replies: 2
- Views: 1214
I ported to FB a number of old programs (some were in GWBasic, i.e. >20 years old) and I very often faced the same problem you mentioned (DEFDBL or DEFINT). You can use this keyword with FB if you compile using -lang qb or -lang deprecated, but declaring each variable instead is really easy, even in...
- Jul 09, 2007 15:29
- Forum: Beginners
- Topic: question about function return
- Replies: 4
- Views: 1542
Both functions are correct. And this one too:
Code: Select all
Function test3(Byval n As Integer) As Integer
'some calculation
Function=n 'result
End Function