7 |
The LA Fox Developer Newsletter
August 1998
From Robin’s Nest...
A Little Humor
Contributed by Robin Connelly
A guy calls tech support to report that his computer is
faulty.
Tech: What’s the problem?
User:
There is smoke coming out of the power supply.
Tech: You’ll need a new power supply.
User:
No, I don’t! I just need to change the startup files.
Tech:
Sir, the power supply is faulty. You’ll need to replace it.
User:
No way! Someone told me that I just needed to change
the startup files and it will fix the problem! All I need is for you to
tell me the command.
Ten minutes later, the User is still adamant that he is right. The
tech is frustrated and fed up.
Tech:
Sorry, Sir. We don’t normally tell our customers this, but
there is an undocumented DOS command that will fix the
problem.
User:
I knew it!
Tech:
Just add the line LOAD NOSMOKE.COM at the end of
the CONFIG.SYS. Let me know how it goes.
Ten minutes later.
User:
It didn’t work. The power supply is still smoking.
Tech: Well, what version of DOS are you using?
User:
MS-DOS
6.22.
Tech:
That’s your problem there. That version of DOS didn’t
come with NOSMOKE. Contact Microsoft and ask them for a
patch that will give you the file. Let me know how it goes.
One hour later.
User:
I need a new power supply.
Tech:
How did you come to that conclusion?
User:
Well, I called Microsoft and told him about what you said,
and he started asking questions about the make of power
supply.
Tech:
Then what did he say?
User:
He told me that my power supply isn’t compatible with
NOSMOKE.
FoxPro Q&A
(Con’t from page
5)
Even though you can trap the key pressed on a control by
writing your own code in the Keypress event of the control, you
cannot suppress it. That is, if you press ‘A’ in an Edit Region, it
appears on the edit region even though you have trapped for it in
the Keypress event. This happens because the Default code for
the Editbox baseclass is executed after your code has been
executed.
Include the NODEFAULT clause in the keypress event of the
(Con’t,
next column)
Old Fox
(Con’t from page 3)
Washington DC
September 17 & 18
$695.00
Boston
September 21 & 22
$695.00
New York
September24 & 25
$695.00
Orlando
September 28 & 29
$695.00
Minneapolis/St. Paul
October 19 & 20
$695.00
Kansas City
October 22 & 23
$695.00
Registration Information:
How to register:
Register by Phone at 1-888-TOUR-MEl or 61
0-449-4680.
Register On-line at
www.microendeavors.com/tours.
Register by faxing the registration
form,
conveniently provided
on page 8 of this newsletter, to 610-449-4757.
To register call 888-TOUR-MEl or 610-449-4680.
FoxPro Q&A
(Con’t from previous column)
Control. The NODEFAULT prevents the default code from
executing.
Example:
On inserting the code given below in the Keypress of a control,
it suppresses the <Return> key.
LPARAMETERS nKeyCode, nShiftAttCtri
IF nKeyCode=13
*
your
own
code
NODEFAULT
ENDIF
It Can’t Get Any Easier.......
We’ve come up with an easy way to submit articles to the
LA
Fox Developer Newsletter
one that has been overlooked for
a long time.
You can submit your articles to Barry Lee at CIS# 72723,3422
on Compuserve,
orbrlee@earthlink.net.
These articles can be on any FoxPro-related topic, whether it
concerns a new technique you’ve discovered, a certain develop-
ment technique you may favor over others, book reviews, etc.
Editor reserves the right to edit or offer constructive comments
concerning submitted articles and accepted articles shall be
considered to be in the public domain.
The quality of this newsletter really depends on the members
that support
it,
not just read it. And I think we’d all be surprised
by the useful information that could be circulated around the
membership.
So.
How ‘bout it?
Page 7
|
7 |