Thursday, December 22, 2005

New Learning VFP video
This video is on the topic of Error Handling. A far too often overlooked aspect of software development that is absolutely critical to creating great applications. Error handling in Visual FoxPro runs the gamut, from the familiar ON ERROR command used for procedural error handling, to the fairly new Try...Catch...Finally structured error handling. Visual FoxPro offers a surprising number of choices and solutions when it comes to error handling. Find out the strengths and weaknesses of each through this 3 part video. Beginners can expect to get a handle on the basics and intermediates might learn a few things about some of the more obscure stuff such as the COMRETURNERROR function for use in COM servers.

Video Timeline
A suggestion was made after my last video that I provide a timeline detailing the contents of the Learning VFP videos so that viewers can quickly find what they are looking for. I also think it helps viewers know what they can expect to learn in the videos, so here is the timeline/guide for this 3 part video series on error handling...

Part1 - Total Length 25:05
00:00 Introduction
01:05 Basic ON ERROR command use
05:47 Conditional error handling with ON ERROR command
08:33 Use of RETRY
10:38 Use of AERROR() to retrieve error info
15:00 Throwing an exception using ERROR command
19:53 Use of ASTACKINFO() to retrieve call stack info

Part2 - Total Length 33:20
00:00 Basic Try...Catch...Finally use
07:55 Conditional error handling with Try...Catch
12:10 User-defined errors and exception subclassing
21:42 Nesting Try...Catch...Finally blocks
25:20 Exception escalation using Throw

Part3 - Total Length 29:32
00:00 Creating a user-friendly error form and emailing errors
10:48 The Error Event and overall error handling priority
17:48 Using the COMRETURNERROR command in COM Servers
28:40 Wrap-up


Learning Visual FoxPro 104: Error Handling

For Online Viewing (same content as offline version):
Part I 
Part II 
Part III 

For Offline Viewing (same content as online version):
Download Part1 SWF File
 (13.3 MB approx.)
Download Part2 SWF File (16.2 MB approx.)
Download Part3 SWF File (19.4 MB approx.)

Source Code used in the video:
Download 104 Source Code (198 KB approx.)

If you have any problems understanding any of the concepts presented in this video, be sure to try out the source code that accompanies this 3 part video series. While a screencast works pretty good for imparting information, nothing can beat trying a few things on your own and stepping through some code when trying to understand scope in Visual FoxPro. The files included in the source download for this video series should make it easier for you to explore all the different aspects of error handling in Visual FoxPro.

NOTE: I haven't forgotten Learning VFP 103. It's on the way, I just haven't had time to finish it yet.

Thursday, December 22, 2005 11:10:28 AM (Central Standard Time, UTC-06:00)  #    Comments [9]
Friday, December 30, 2005 2:33:13 AM (Central Standard Time, UTC-06:00)
Thanks for your training video, I always enjoy seeing how other developers work! BTW, is it possible to provide other media format as well such as WMV, because I can't rewind and fast forward with the Flash format.
David Fung
Friday, December 30, 2005 1:09:49 PM (Central Standard Time, UTC-06:00)
great video's hope for more
matongski
Saturday, December 31, 2005 4:55:39 AM (Central Standard Time, UTC-06:00)
Did I miss 103? I have 101, 102 & now 104, but I can't find 103.
Mike Shellito
Saturday, December 31, 2005 8:12:33 AM (Central Standard Time, UTC-06:00)
To All,

Thank you for the positive feedback regarding the Learning Visual FoxPro series of videos, this goes out to those of you posting comments here on the SPS Blog and also to so many of you that have sent me emails over the past several months.

Mike,

103 is on the way. I haven't finished it yet given the amount of content it covers regarding databases, so I just forged ahead and released 104 until I have time to finish 103. Sorry for the confusion, you haven't missed it, I just haven't released it yet.
Tuesday, January 10, 2006 6:11:26 PM (Central Standard Time, UTC-06:00)
Thank you, THANK YOU VERY VERY MUCH.

I wish YOU and every Visual FoxPro people have a happy new year 2006.

Lets keep learning!!!
Victor Cavazos
Friday, January 20, 2006 4:06:19 AM (Central Standard Time, UTC-06:00)
Craig -

I just want to say thank you for creating the VFP video series (and all your contributions to the VFP community). I watched all of them starting with 102, followed by 104, then 101. The information I learned from the 104 series was invaluable. Up until I watched that series, error handling has been a grey area. I also picked up many tips from the 101 and 102 series which are also quite excellent. Again, many, many, many thanks.

On a separate note, have you thought about throwing your at into the speaker ring at the 2006 GLGDW?
Tuesday, February 06, 2007 2:26:17 PM (Central Standard Time, UTC-06:00)
Thank you very much for the video.
Do you reles the 103 series? or 105...
Daniel
Wednesday, August 08, 2007 2:37:47 AM (Central Daylight Time, UTC-05:00)
I appreciate your great effort that you spent to mike these advanced training VFP videos.
My wishes to God protect you and keep you safe.
Tanks

AbdulAziz AlGhamdi
Monday, March 17, 2008 3:15:10 PM (Central Daylight Time, UTC-05:00)
Thank you very much for the video..... GOD bless you
103 series?
Afral
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u)  

Enter the code shown (prevents robots):


 

Archive

<August 2008>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456