8 |
The LA Fox Developer Newsletter
|
June
1999
|
VFPCOM.DLL
(Con't from page 3)
names, then ‘bind’ an object based on that class to a COM server. If the COM server raises an event that corresponds to a method in the VFP host object, the VFP host object’s method is called. For example, you could design a class with .RecordChangeComplete() and .FieldChangeComplete() methods, instantiate it, then bind it to an ADO recordset. Your object would then be alerted by ADO instantly whenever a field or record in the recordset is changed.
To make the programmer’s life easier,
vfpcom.d!l
includes an
ExportEvents() method. You pass it the name of an existing
COM server object, and a program name:
oVfpcom
=
create(”vfpcom.comutll”)
oRS
=
create(”adodb.recordset”)
? oVfpCom.ExportEvents(0RS, “RSHandler.prg”)
This creates a program containing the skeleton code needed to define a class with all the events raised by an ADO recordset. Insert your code into the empty methods, instantiate the class, and off you go.
Vfocom.dll
comes with a very limited help file.
|
MS/MEl
(Con’t from page 6)
the Skills Gap by proactively working with people interested in starting careers in the technology field and Visual Basic developers. The program is designed to remove barriers and increase an individual’s chance of success.”
About Micro Endeavors
Micro Endeavors, established in 1983, is a Microsoft Certified Technical Education Center and Solution Provider Partner. The company specializes in training, software development, consulting and staffing in advanced Microsoft Technologies. Headquartered in Upper Darby, Pennsylvania, the company also has training facilities in Center City, Philadelphia.
For more information contact:
Joan Novino, Director
(Joan
©
microendeavors.com)
Micro Endeavors, Inc.
8001 Lansdowne Avenue
Upper Darby, PA 19082
610.449.4680 (phone) 610.449.4757 (fax)
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries.
|
SlowStart
(Con't from page 6)
some computers may need more or less than the default timeout value. Note that, to avoid confusion when launching FoxPro with the -t switch to supress the banner, use the full
-
timeout argument when supplying a defferent SlowStart timeout. Of course, some computers have absolutely no problem running 16 bit programs. In that case you don’t need SlowStart
:-).
Release Notes
1.3 Sometimes program launching was not delayed and
SlowStart had no effect. Increased launch thread’s priority to fix
this under some circumstances.
1.1 Added support for full command line parameter passing.
Now SlowStart can be used without a shell LNK file.
1.0 Created. Enjoy!
Known Problems
1. SlowStart may have no affect on dual-processor systems. Dual-processor computers divide the threads of execution between CPUs when possible. This may bypass the mechanism SlowStart uses to slow down the processor. Try using one instance of SlowStart (or FoxStart) to launch another instance of SlowStart (of FoxStart). Some people have had success with this method.
2. In recent days, it has become apparent that SlowStart has no effect on some single processor Pentium II machines. FoxStart 1.1 seems to work better in some cases.
[Ed. Note: Both S!owStart and its companion product, Fox Start, are now available for downloading from the LA Fox website at
http://www.mesllc.com/lafox.html.]
|
It Can’t Get Any Easier.......
We’ve come up with an easy way to submit articles to the
LA
Fox DeveloperNewsietter
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 development 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 surpnsed by the useful information that could be circulated around the membership.
|
Page 8
|
8 |