Wednesday, March 30, 2005

FoxCast Event - Getting the most out of IntelliSense

Another great Foxcast event on "Getting the most out of IntelliSense" on Thursday, April 21 at 7:00 pm Eastern by Visual FoxPro MVP Andy Kramek.

Tuesday, March 22, 2005

.NET crow surprised to know there is an xUnit tool for VFP! by msalias

Hi, everybody.

Last Friday I presented a session on TDD at Microsoft Argentina, using nUnit and ReSharper. There were about 100 people there, and when I arrived to the slide on Unit Testing tools, where I listed tools for several platforms:

jUnit for Java
cppUnit for C++
nUnit for .NET
vbUnit for VB6
FoxUnit for Visual FoxPro

many people opened their eyes wide seeing VFP in the list. 8-)

As usual, one of the guys asked me if FoxPro was still around, and everybody laughed when I told them that it was alive and kicking, and the really weird on this list was the VB6 tools.

Aren't these moments great?


Martín Salías
Buenos Aires, Argentina
Microsoft MVP - www.Salias.com.ar
To view the complete thread and reply, please visit:
here

Tuesday, March 15, 2005

FoxCast.org Event - Extending the VFP 9 Reporting System at Run-Time

An upcoming FoxCast.org Event - Extending the VFP 9 Reporting System at Run-Time is schduled to be lived on March 21, 2005 at 7:00 pm Eastern, presented by Doug Hennig of Stonefield Systems Group Inc. and one of the authors What's New in Nine: Visual FoxPro's Latest Hits.

I hope Doug Hennig will show us how to use reportlistener to convert VFP report to other report type such as PDF. At this moment, this topic only been discussed in user group meeting but not in any online article or magazine.

Robert Scoble wears a Visual FoxPro 9.0 shirt on the red couch

Robert Scoble is sitting on the the red couch working on his Tablet PC while wearing the limited edition navy blue Visual FoxPro 9.0 polo shirt.

Visual FoxPro 9.0 Featured on Microsoft PressPass

A press announcement has been released called Developers Report on Power, Productivity and Extensibility of New Visual FoxPro 9.0

VFP is alway been considered as an "old" programming language, "outdated" technology. Many developers feel very suprise if they read any articles that mentioned VFP. They thought VFP is not longer in market. Some of them even NEVER heard of VFP. Many IT managers don't accept VFP written applications. Many customers are thinking that VFP written applications are "cheap". Only .NET, Java written applications are high end application.

This press released by Microsoft mentioned some applications written using VFP 9.0. How does VFP 9.0 helps in their development and also end user. Whats so cool about VFP 9.0. Take a read!

VFP is not outdated technology!

VFP 9.0 in box

Saturday, March 05, 2005

Quick & Dirty Hook Program

Most of the time, we need hook(s) to allow custom program to be run before/after certain process. There are many ways to accomplish it in VFP, ex. add-in manager (as class browser does), EXECSCRIPT() to run code stored in memo field or external app.

However, we need some time to design and implement add-in manager. Also, EXECSCRIPT() function only available in VFP8 and later. A quick and dirty way to do this is to create an external .app and call it using DO statement.
IF FILE("premyprcs.app")
DO ("premyprcs") WITH para1, para2, ...
ENDIF
The downside of doing this is we can't return value from external .app to report status. The workaround is, pass an additional parameter by reference and assign the return value to it within the external .app.

BTW, remember to use DO ("premyprcs") instead of DO premyprcs to prevent VFP project manager to search for the external .app file and return error during compilation.