6

The LA Fox Developer Newsletter
August 1998
FoxPro Q&A
How can I send a graphics-based report created in FoxPro for Windows to a text file?

To print a report to a text file in FoxPro for Windows, use the Windows printer setup application in the Control Panel. To install the Windows Generic/Text Only printer driver, follow the steps below:

1.
Run the Windows Control Panel.
2.
Double-click the Printers icon.
3.
Click the Add button.
4.
Under List of Printers, select the Generic/Text Only printer
driver and click the Install button. This places the Generic/Text
Only printer driver under the list of Installed Printers.
5.
Under Installed Printers, select the Generic/Text Only printer
driver, click the Connect button, select FILE in the Ports list
box, and then click the OK button.
6.
Select the Generic/Text Only printer driver, click the Set As
Default Printer button, and then click the Close button.

Before printing your report, turn off any bold or italic fonts. Issue the REPORT FORM <Reportflle> TO <Textfile> command, where <reportfile> is the name of the .FRX file and <Texthle> is the name of your output text file.

What should I do to play a sound or a beep in VFP?
You can play a simple beep by printing the Bell characte

CHR(7).
?CHR(7)

If you have a sound card (to play .wav files), then do the following:

SET BELL TO <wavfllename>, I
?CHR(7)

The appropriate .wav file is played.

You can also use the API function MessageBeep. The MessageBeep function plays a waveform sound. However, you need a sound card for this.

DECLARE Integer MessageBeep In W1n32API Integer
=MessageBeep(1 6)
=MessageBeep(32)
=MessageBeep(48)
=MessageBeep(64)
=MessageBeep(256)

All these result in different system sounds.

How can I delete multiple files at one time from a FoxPro directory?

(Con’t, page 5)
Job Opportunities
Location:
LA’s Westside, California
Salary:
$50,000’s
Title:
Senior Programmer/Analyst
Entertainment company looking for a FoxPro programmer with about 3-5 years experience.

Must have good communication skills, enjoy a fun workplace and be interested in learning some new things. Technical environment includes FoxPro in a LAN, and Visual FoxPro. All the usual benefits, plus the excitement of working in the entertainment industry.

For more information on the position, contact:

Cynthia X. Kateyiannis
Duncan White Search Technical Placement
cynthia_kateyiannis_dws©pacbell.net
949.857.1332
telephone
949857.1335 fax


We have multiple openings for VFP 5.0 developers in Orange County area. If you are interested or know someone who is, please refer them to us. Thanks.

Sam Shahab
SysLoglc, Inc.
909.278.1344
909.278.1394
Fax
jobs©syslogic.net


FoxShare Discussion
Group Moves
The FoxShare discussion group has moved to a new address. The details are shown below:

Darcy Whyte
Computer Systems Analyst, HourGlass Consulting
Microsoft Certified Professional
Visual FoxPro, Visual Basic, MS-Access
EMAIL: mailto:whyted©hourglassconsulting.com
URL: http://www.hourglassconsulting.com/
PersonalURL (FoxShare) :http://www.hourglassconsulting.com/
whyted
PHONE:(613)563-3634 Fax (613) 235-6567

++How to subscribe to FoxShare

Send a message to listserve@hourglassconsulting.com with “subscribe foxshare youremail@address" in the BODY of the message.
Page 6

6