tag:blogger.com,1999:blog-133668642008-05-29T06:37:17.041-04:00David Stevenson's Talking FoxDavid Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comBlogger48125tag:blogger.com,1999:blog-13366864.post-70075946242136260652007-10-23T01:04:00.001-04:002007-10-23T01:04:19.788-04:00News from Southwest Fox, at last!If, like me, you've been starved for some news out of Arizona at the Southwest Fox Conference, just head over to <a href="http://www.geeksandgurus.com/blogs/sjb/index.html">Steve Bodnar's blog </a>to read some excellent posts. I had been looking around for something, anything from the conference, and the silence has been deafening. Evidently, I was looking in all the wrong places.<br /><br />I've done conference reporting before (as an official reporter and also as a volunteer contributor to the Universal Thread), so I know it isn't easy to attend conference sessions and also capture some of the essence and publish it for the general Fox public. I had hoped that Southwest Fox would have some official reporters posting daily somewhere but I haven't found any such "official" coverage yet.<br /><br />If someone knows of such a place, please let me know. Meanwhile, thanks to Steve for helping to fill in the blanks. I really wanted to attend this conference, but a heavy work schedule made that impossible this year. I'm glad to read that the conference was exciting and filled with great information -- and I expected no less than that from organizers Rick, Doug and Tamar.<br /><br />Next year, Arizona.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-16259684720574572612007-10-16T23:44:00.001-04:002007-10-17T00:26:48.822-04:00A Wrong Set Order and a Big AssumptionI'm feeling a little bit embarrased right now, but maybe you'll get a chuckle out of my missteps tonight.<br /><br />Put these ingredients together and see what you get:<br /><ul><li>A SQL Update statement that has been in operation for over a year with no errors from a .NET application talking to VFP tables via the OLE DB Provider.</li><li>A VFP reserved word as one of the fieldnames, specifically "order", resulting in "set order = 70" as part of the update statement.</li><li>Five new fields added to the table and therefore to the update statement in .NET.</li><li>Update error "syntax error" when testing the Save function with the new fields.</li><li>A big assumption by the programmer that the problem must be with one of the newly added fields.</li></ul><p>Result: Over 2 hours of frustration working in the .NET debugger, stepping through code, checking parameter values being created by my .NET data access code... all the while assuming that the problem MUST be with one of the new fields.</p><p>Finally, I tried the complete update statement with values in a simple VFP test program run from the command window. WOW! Syntax error, with the phrase "order = 70" highlighted in the code window.</p><p>Another big assumption -- it must be an SP2 beta problem. I wonder if they fixed it in the final release? Let's check on the other computer that still has SP1... oops, doesn't work there either.</p><p>Then, the lights went on upstairs, a new day dawned in my brain, and my heart sank.</p><p>What if the update statement never really worked at all, even during the year that the application has been in use on the customer's website? It all seems so very logical now, considering that the table being updated is a very static lookup table. The customer has certainly added lots of new categories, but evidently has never had a reason to edit the title or order of any existing categories, so the error went unnoticed until now.</p><p>The purest fix would be to rename the field, but that's not going to happen. There are too many pieces of legacy code, including ASP.NET, ASP and Web Connection, that are reading that table right now and I'm not about to upset all of that for a purer approach. When this rewrite is up and live and the old code is gone forever, maybe then I'll go for purity and change the fieldname. But for now, I'll just add the table name in front of the fieldname in the update statement and all will be well -- until the next big assumption bites me! </p><p><pre>update categories set order = 70, etc... BAD<p></p><p>update categories set categories.order = 70, etc... GOOD.</p></pre><p></p><p>I'm going to sleep now with my pride wounded, but with my application past this unfortunate incident. </p>David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-16608153027669633992007-10-12T01:00:00.000-04:002007-10-12T01:08:44.767-04:00SP2 Released for Visual FoxPro 9I was up late working on a project tonight and had a sudden hunch that I should check out the vfoxpro page on msdn.microsoft.com to see if anything was happening with release of SP2 and Sedna.<br /><br />Bingo! There is now a link for the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=a28ddec6-ba3c-49d0-8176-8c0b3fca06d1&displaylang=en">SP2 final release version </a>and also a new (and very brief) <a href="http://msdn2.microsoft.com/en-us/vfoxpro/bb264582.aspx">message from Program Manager Milind Lele</a>, where you'll also find a link to the SP2 fixlist.<br /><br />In a nutshell, SP2 is here, but don't install it over a CTP or Beta verson of SP2. Uninstall those first or you'll be sorry. SP2 requires either the VFP9 Original release version or VFP9 SP1 for a correct installation.<br /><br />XSource is also coming later and we should see Sedna bits appear sometime soon.<br /><br />Way to go, Milind and many others who worked on this release. Thanks for all that you have done and continue to do for the VFP community!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-54729791020892102732007-06-20T11:02:00.000-04:002007-06-20T11:21:33.698-04:00My client fell through an FOPEN() holeI got a call from a relatively new online reseller client whose backoffice system was written (by someone else) in VFP. The orders they receive from their Amazon store have to be updated with shipping information and tracking numbers in Amazon's system. This is done when they enter the tracking number into a VFP form and click Save: the form code creates an XML order fulfillment file in a drive-mapped server folder, where it is picked up and sent to Amazon by an automated process.<br /><br />They were alerted recently to the fact that their order fulfillments were not reaching Amazon, so I dug into the old code to see what the matter might be. Here is the essential code that saves the generated XML into a file:<br /><br /><pre>lfhan = FCREATE(this.xmlfile)<br />=FWRITE(lfhan,this.xmlstring)<br />=FCLOSE(lfhan)<br /></pre><br />Assuming that this.xmlfile = "x:\feeds\orders\_1x3d8sfx.xml" can you guess the problem?<br /><br />After looking at those three lines of code for a couple of minutes, I realized that the problem could be a missing drive mapping to drive "x" on the computer running the process. Because the code does not check to see if "lfhan" = -1 (problem creating file), the next line calls FWRITE (and doesn't check the number of characters written, which is zero in this case), then FCLOSE does nothing (since there is nothing to close).<br /><br />No errors show up to the user and weeks pass before the problem comes to the surface.<br /><br />Because such a complex, automated system was brought to its knees by a simple programmer oversight, I've resolved to "get it right" the first time in my work by coding in anticipation of errors instead of coding by oversight.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-88285874890822014842007-06-15T14:03:00.000-04:002007-06-15T14:15:19.412-04:00Visual FoxPro Sedna and SP2 betas are availableThe Visual FoxPro Sedna and SP2 betas are both available for download at:<br /><br /><a href="http://www.microsoft.com/downloads/details.aspx?familyid=05a0e7c9-43c1-417f-8810-ae7d7c66bac8&displaylang=en&amp;tm">http://www.microsoft.com/downloads/details.aspx?familyid=05a0e7c9-43c1-417f-8810-ae7d7c66bac8&displaylang=en&amp;tm</a><br /><br />There is a LONG list of SP2 bug fixes in one of the four downloadable files. Although many of them seem to be obsure bugs you aren't very likely to encounter, there are some that sound pretty important or helpful.<br /><br />One fix that particularly interested me: the ability to change the XMLName property (don't forget to use STRCONV to make the name Unicode) of an XMLTable or XMLField object that is already contained in the Tables or Fields collection when using XMLAdapter.<br /><br />Previously, we had to get an object reference to the XMLTable or XMLField object, then remove it from the collection, change the name, then add it back to the collection, which of course changed the order of the objects in the collection. This fix is a very nice enhancement if it works (I haven't tested it yet).<br /><br />So why would you want to change the XMLName property anyway? Either to change the name of the XML tag when creating an XML file from a VFP table or cursor, or to use the XMLNameIsXPath property in conjunction with XMLName to point to a certain place in the XML document (using an XPath statement) when reading from an XML document into a VFP cursor.<br /><br />So, what's your favorite fix in the list going to be? Take a look and see what's there.<br /><br />Thanks, VFP Team, for this great package of fixes and enhancements!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-77795863186217705472007-03-13T22:33:00.000-04:002007-03-13T22:47:51.979-04:00Major VFP News from Redmond - Good and Bad (Sad)Alan Griver (YAG) and the Microsoft Visual FoxPro Team announced to VFP MVPs tonight at the MVP Summit several news items related to the future of VFP. There is good news and there is sad news.<br /><br />1) It's now official -- there will be no VFP 10. This has been known pretty well for some time by all but the most stubbornly optimistic among us, but had never been officially stated by Microsoft. Today it is official.<br /><br />2) Service Pack 2 (SP2) for VFP9 will be released by the end of Summer, 2007, with a goal of working through as many bugs as possible between now and then. Special focus is on VISTA compatibility and the team needs feedback right away from anyone encountering bugs running VFP9 apps on VISTA.<br /><br />3) The SEDNA project (the official Microsoft release of VFP9 add-ons) will also be released by the end of Summer, 2007, and it will be FREE! Earlier discussions had hinted that Microsoft might charge for Sedna, but it will instead be available as a free download.<br /><br />4) The SEDNA project will be released to the community as an open source project, meaning that all of the code included in it will be available for maintenance and enhancement by the community via projects to be set up on CodePlex, the site of the VFPX open source project. Details will be released later about how the SEDNA projects will be managed on CodePlex, but regardless of any future development, you will still be able to download the initial, official Microsoft release of SEDNA as a baseline that will be supported by Microsoft along with VFP9 until 2015.<br /><br />5) As previously stated, VFP9 will be supported until 2010 in normal support mode and until 2015 in extended support mode. VFP9 will continue to be available as a standalone product for several more years, but the exact date of its discontinuance as a product will be announced at a later date. However, VFP9 will continue to be available in MSDN Subscriptions until the extended support runs out in 2015.<br /><br />6) The VFP MVP program will continue, so the community will benefit from MVPs with VFP as a specialty.<br /><br />YAG spent a good part of the day talking with various representatives of the press before meeting with MVPs at a 5pm VFP Team Meeting to explain the news being announced today. YAG's blog contains <a href="http://blogs.msdn.com/yag/archive/2007/03/13/message-to-the-vfp-community.aspx">the only official announcement so far</a>, although the news will appear on the Microsoft VFP site very soon.<br /><br />Mary Jo Foley, who has written many articles about VFP and Sedna, has written about today's announcement on her blog ("<a href="http://blogs.zdnet.com/microsoft/?p=320">Microsoft to release FoxPro ‘Sedna’ as Shared Source</a>"), emphasizing the open source aspect of the story.<br /><br />For many of us in the room tonight, it was a bittersweet moment -- being there with VFP team members who are just like family to us and sharing with them some laughs, and also sharing a sense of sadness at the impending end of an era. Sure, VFP support from Microsoft will go on, and the community will continue to support the product, but the finality of no new release from Microsoft beyond SP2 and Sedna is a truly sad moment.<br /><br />Still, it's extraordinary that the product has morphed and wiggled its way to release after release over the years -- spanning well over a decade under Microsoft's support. That's a long time for any software product. And the the fact that Sedna is being released to the community as a FREE download and also as open source is very good news for every VFP user!<br /><br />We asked some questions about the VFP Team and their responsibilities, and here's the scoop. The core team and testing team and working hard on SP2 and Sedna from now through release, but by the end of the summer, they will be moving on to other projects for the bulk of their time. There will still be a VFP "alias" for email circulation internally at Microsoft so that if Support Services identify a critical bug that cannot be worked around, the issue can be escalated internally via the email alias and those with VFP C++ experience (namely Calvin Hsia, Aleksey Tsingauz and Richard Stanton) can handle the issues that are escalated up from Support Services.<br /><br />All three of the core coders named above are already working part-time on various aspects of the VB.NET implementation of the ground-breaking Language Integrated Query (LINQ) feature of the Visual Studio "Orcas" release, and they will likely continue those involvements when the VFP release cycle winds down later this year. Their years of experience working with the integrated data language in VFP will help to make VB.NET's LINQ integration spectacular and very compelling for VFP coders who decide to add .NET to their toolkits.<br /><br />To all the VFP team members, both present and past: Thanks for all you have done to deliver such a fabulous development product to us year after year. You are all awesome!<br /><br />Now, back to work. I've got several VFP9 projects underway at the moment, and I expect that to be the case for years to come.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1158064300616576882006-09-12T08:27:00.000-04:002006-09-12T08:50:18.330-04:00Dave Crozier's Prague DEVCON ReportDave Crozier has just <a href="http://www.replacement-software.co.uk/blog/index.php?/archives/23-Prague-Devcon-2006-Day-1.html">blogged</a> about the first day of the Prague VFP DevCon, with lots of interesting details from Alan Griver's keynote and a few of the first sessions.<br /><br />You might want to keep an eye on Dave's <a href="http://www.replacement-software.co.uk/blog/">blog</a> for the next reports.<br /><br />One of the most interesting parts of the keynote relates to interop between VFP and WinForms, but if you haven't heard much about the details of Sedna yet, you'll learn a lot from this article. (However, Dave's comments about the name "VFP10" may be a bit imaginative -- I think YAG probably just used the term "next release" as Dave noted, but I could be wrong. Time will tell.)<br /><br />Excellent reporting, Dave. I really appreciate the time you put into this and look forward to the next installment.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1153258497873337682006-07-18T16:54:00.000-04:002006-07-18T17:37:53.663-04:00Getting an Integer Count(*) from the VFP OLE DB Provider in .NETI'm working today on an ASP.NET project that is using the VFP OLE DB provider to talk to VFP tables also used by a VFP7 Web Connection web app. When testing a method to get a count of records matching a certain foreign key, I got a "specified cast is not valid" error message with these lines of C# code when it hit the last line:<br /><br /><pre>OleDbCommand cmd = new OleDbCommand(<br /> "select count(*) from courses " +<br /> "join categorylink on " +<br /> "courses.topicid = categorylink.topicid " +<br /> "where categorylink.CategoryID = ?", cn);<br />cmd.Parameters.Add("@CategoryID", <br /> OleDbType.Integer).Value = CategoryID;<br />cn.Open();<br />return (int)ExecuteScalar(cmd);</pre><br />A quick Google search of "VFP OLE DB ExecuteScalar" led me to a <a href="http://www.spacefold.com/colin/posts/2005/02-15VFPOleDbDataReaderan.html">helpful post by Colin Nicholls</a>, where he shows that the VFP Provider returns a .NET Decimal data type for the count(*) through ExecuteScalar. Colin's solution was to use an explicit conversion from decimal to integer, so I followed his hints and started changing my several Count methods to use this instead:<br /><br /><pre>int resultCount = <br /> System.Decimal.ToInt32( (Decimal)ExecuteScalar(cmd) );<br />return resultCount;</pre><br />Partway through converting the code, I ran across these lines and realized that THEY were working just fine in returning an Integer datatype via ExecuteScalar (this code grabs the highest PK to increment it for an insert because the old app didn't use AutoIncrement keys):<br /><br /><pre>OleDbCommand cmd = new OleDbCommand(<br /> "select top 1 ID from categories order by ID Desc", cn);<br />cn.Open();<br />int OldHighID = (int)ExecuteScalar(cmd);</pre><br />So, what was the difference? Obviously, it's not that ExecuteScalar via VFP OLE DB can't return an Integer -- just that it was not returning an Integer for the Count(*) statement. The ID field in the second statement was already Integer type, and it was handled by the cast to int with no problems.<br /><br />A quick check in VFP9 showed that the select statement with Count(*) gives you a cursor with the count populated into a Numeric(10) field. That led to an AHA moment. Because I'm using the VFP9 version of the Provider, the new CAST() function is available, so I left the original .NET code as it was and just replaced<br /><br /><pre>select count(*) from courses...</pre><br />with this:<br /><br /><pre>select cast(count(*) as Integer) from courses...</pre><br />Problem solved and lessons learned.<br /><br />PS -- Take note of the use of "?" as a parameter in the select statement instead of using .NET's usual @CategoryID syntax in the SQL statement. VFP can't handle the named parameters, so you use one or more ? params and make sure you add the Parameters to the Command object in the correct order.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1148050633665048212006-05-19T10:49:00.000-04:002006-05-19T10:57:13.696-04:00Good info on Craig Boyd's user group presentationRick Schummer has blogged several entries (all dated May 18) about Craig Boyd's presentation that night at the Detroit VFP user group. You can find all six of Rick's entries about the meeting <a href="http://rickschummer.com/blog/">here</a>.<br /><br />One interesting note is that although VFP's XP themes support allows VFP to take on most of the Windows Vista look and feel (because the old APIs are automatically mapped to new Vista APIs), there are some incompatibilities. According to Craig (who is working on contract with Microsoft on the Vista Toolkit for VFP part of the upcoming Sedna release), those Vista API incompatibilities will be addressed in the VFP SP2 service pack that is now being worked on by the VFP Team.<br /><br />This is all very good news and shows that Microsoft is serious about making sure VFP apps will be as compatible as possible with Windows Vista. In fact, I'm very excited about the possibilities for VFP apps to take advantage of Vista features via the Vista Toolkit.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1143562370245436282006-03-28T11:09:00.000-05:002006-03-28T11:14:15.220-05:00Universal Thread Magazines are now FREE!Michel Fournier has announced that the Universal Thread .NET and VFP magazines are now freely available (including back issues) to anyone with a UT login (including the basic, free login).<br /><br />This is a great deal and is well worth your time. There are some great articles included in the archive, and I'm sure there will be many more on the way with the newly-expanded base of readers making the magazine more attractive for writers.<br /><br />If you don't yet have a free UT login, you can sign up easily to access the UT message boards and magazines at <a href="http://www.universalthread.com">www.universalthread.com</a>.<br /><br />Way to go, Michel!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1143562110652044202006-03-28T10:55:00.000-05:002006-03-28T11:08:32.140-05:00Grigore Dolghin planning for Romanian VFP DEVCONGrigore Dolghin from Romania has just reported on the Profox email list that a very successful one-day Romanian VFP conference was held on March 25 and that he is now making plans for a full 100-percent VFP conference later this year or early next year.<br /><br />You can read some brief comments from speaker Uwe Habermann about the recent one-day conference <a href="http://www.profox.ro/">here</a>.<br /><br />I'm very interested in this upcoming conference because it might give me a great reason to visit some dear Romanian friends if I am able to attend. I'll announce the dates here when they have been decided.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1136497046954235852006-01-05T16:30:00.000-05:002006-01-05T16:37:26.966-05:00Kevin Cully's blog, FoxForward conference, dev tool ideasMy good friend Kevin Cully in Atlanta surprised me with the fact that <a href="http://cullytechnologies.com/ctblog.php">he has a blog </a>that I didn't know anything about. You should add this one to your list of Fox community blogs.<br /><br />Two posts on the blog caught my attention in particular. First, Kevin mentions that he is working on ideas for a <a href="http://cullytechnologies.com/ctblogdetail.php?key=128">FoxForward Conference in Atlanta </a>this year. We discussed this a couple of times recently when I saw Kevin at the Atlanta Fox User Group, and I hope he can find the right mix of speakers, venue, timing, and pricing model to make it a success.<br /><br />Also, Kevin posted some great food for thought in "<a href="http://cullytechnologies.com/ctblogdetail.php?key=103">What I Want (in a development tool/toolset)</a>".David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1136489450263573702006-01-05T14:23:00.000-05:002006-01-05T14:30:50.280-05:00New VFP9 SP1 XSource download and modified licenseKen Levy has just announced a new <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0D1C3EC6-FFA2-4237-A0FA-8DEE4C62557D&displaylang=en">VFP9 SP1 XSource download</a>, which includes the source code to various "XBase" parts of VFP9 that were affected by the SP1 updates. Also included is a new license agreement specifically for the XSource download, which overrides the normal license agreement to allow distribution of modified versions of the XSource components.<br /><br />This is a major step forward, allowing the community to legally distribute customized versions of VFP's XBase tools. (For those not familiar with what we're talking about -- VFP consists of a core EXE, plus other tools in the User Interface (IDE) that are written in VFP code -- thus the saying that parts of VFP are written in VFP.)<br /><br />More details are included in <a href="http://msdn.microsoft.com/vfoxpro/letters/">Ken's January letter</a>.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1132323232390659822005-11-18T09:11:00.000-05:002005-11-18T09:13:52.403-05:00Check out Bill Sanders' TerraFox siteThere is a new Fox-related site/portal/whatever, started by Bill Sanders, at <a href="http://www.terrafox.net">TerraFox.net</a>. The link routes to Bill's EFGroup site, where TerraFox is hosted.<br /><br />I haven't had time to explore it yet, but he's put out a call for info to be posted, including entries for something called a FoxGuide. This is on my list of sites to explore when I get a few minutes.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1130931805832842652005-11-02T06:26:00.000-05:002005-11-02T06:43:25.846-05:00Free FoxTalk article: Bo Durban: Add Rich Text Format (RTF) to VFP 9 ReportsThis month's <a href="http://www.foxtalknewsletter.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=301888DF3BCF483382FC8A1382F3050B&tier=4&id=8C3834D835E34938A7E5BA89C18AE7A8">free FoxTalk article</a> is from Bo Durban, who demonstrates a clever method for including Rich Text Format (RTF) content on VFP9 reports. His approach to the challenge takes care of dynamic height adjustments and page overflow by using reportlistener methods and an API call to the Rich Edit Active-X control.<br /><br />One of the joys of serving as FoxTalk's editor was working with the authors, especially those who had not been in print before or had been out of publishing action for a while. I'm glad that Bo agreed to "run the gauntlet" and put in writing some of the secrets he used in his <a href="http://www.moxiedata.com">Moxie Objects for Visual FoxPro Reports</a>, a cool product that may interest you.<br /><br /><em>Including Rich Text Format (RTF) content on Visual FoxPro reports has long been a difficult task. While it can be done in a limited way with a general field and an OLEBound control, that approach can't handle dynamic height and page overflow. By using a VFP 9 custom report listener and a little-known Windows message call to the Rich Edit control, Bo Durban provides just what you need to reliably include RTF text in your reports.</em><br /><br />Enjoy!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1130781768753752052005-10-31T13:00:00.000-05:002005-10-31T13:02:48.756-05:00FoxTalk gets a new editor<a href="http://foxtalknewsletter.com">Foxtalk</a> will have a new editor, beginning with the upcoming December issue, and I'm happy to announce that Rainer Becker is the man for the job.<br /><br />While I have immensely enjoyed my "tour of duty" for the past nineteen issues, an overloaded personal and work schedule have made it increasingly difficult to devote the time and focus to FoxTalk that its readers and publisher deserve. It is with mixed feelings that I step aside and "pass the torch" to the next editor. The fact that I am swamped with VFP development work is a good thing, but it means that I cannot do everything that I would like to do. I am confident that Rainer will continue FoxTalk's long-standing tradition of providing the community with top-notch advanced technical articles.<br /><br />Rainer is well-known internationally as a leader in the FoxPro community, a Microsoft Most Valuable Professional, a successful businessman, leader of the large dFPUG user group, publisher of a quarterly European FoxPro magazine, organizer of the legendary German Visual FoxPro Conference, and an all-around good guy! He knows all of the top VFP authors and speakers and has an extensive network of European authors who will supplement the team of writers that you are accustomed to seeing in Foxtalk.<br /><br />I have complete confidence in Rainer's ability and commitment to provide FoxTalk's readers with the very best technical content, and I foresee a bright future for FoxTalk under his leadership. You'll be able to hear more about this editor transition in the next few installments of <a href="http://www.thefoxshow.com">Andrew MacNeill's TheFoxShow</a> podcasts. Andrew's interview with me will go online right away, to be followed soon by an interview with Rainer.<br /><br />It has truly been a privilege to work with a long list of top authors who over the past year and a half have shared their wisdom in print as we re-launched the newsletter as FoxTalk 2.0. To all of you in the following list of all-star authors from May, 2004 to November, 2005, I extend my heartfelt thanks: Doug Hennig, Andy Kramek, Marcia Akins, Ted Roche, Cathy Pountney, Ken Levy and the Microsoft VFP Team, Rick Borup, Randy Pearson, Lauren Clarke, Walter Nicholls, Dragan Nedeljkovich, Rick Hodder, Anatoliy Mogylevets, Pradip Acharya, Dave Bernard, Rick Strahl, Art Bergquist, Mark Vroom, Lisa Slater Nicholls, Craig Boyd, Colin Nicholls and Bo Durban.<br /><br />I urge the community to give your full support to Rainer as he takes the torch and runs like a Fox!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1129423337164023902005-10-15T20:35:00.000-04:002005-10-15T20:42:17.173-04:00SednaX added to the GotDotNet CodeGalleryA new <a href="http://www.gotdotnet.com/codegallery/codegallery.aspx?id=0826d7a6-1dab-4a71-8e70-f2170c3c1661">SednaX section</a> has been added to the GotDotNet CodeGallery source-sharing site, to be used by the FoxPro community for collaboration on new Sedna features and add-ons for Visual FoxPro 9.<br /><br />Craig Boyd announced this during his part of the keynote at the SouthWest Fox Conference this weekend, and he has already posted on the site several of the recent add-on projects he has built.<br /><br />You'll need to apply for membership to the SednaX area -- details are at the link above. Let's all join in and make the buildup to Sedna our community's finest hour (er, couple of years).David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1128790290073634082005-10-08T12:43:00.000-04:002005-10-08T12:52:22.243-04:00Check out the Exciting VFP Solution Explorer Community EffortI just heard about the <a href="http://vfpsolutionexplorer.com/">VFP Solution Explorer community project</a> that is headed up by Craig Bailey and Scott Scovell. While they form the core "SE" team, they welcome community involvement in testing, reporting bugs, working on add-ins, suggesting features, and perhaps more.<br /><br />A portion of the project, FoxTabs, is available for download in a separate Alpha version. Check out the <a href="http://vfpsolutionexplorer.com/Default.aspx?tabid=61">FoxTabs screen shots </a>for a look at your new way of navigating multiple windows in the IDE!<br /><br />Great work, guys, and thanks to Malcolm Greene for a ProFox post that alerted me to something I might have overlooked otherwise. I'll be watching this with great interest, as it represents the best of the VFP community and is a very viable way for us to improve VFP9 over the next few years.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1128690022498092782005-10-07T08:59:00.000-04:002005-10-07T09:04:15.623-04:00Free FoxTalk Article: Lisa Slater Nicholls: A Print Job To Call Your OwnThis month's free feature in FoxTalk 2.0 ("A Print Job To Call Your Own") is an exciting explanation (with source code) of controlling your own print job with VFP 9, including the ability to send different printer setup info for individual pages or ranges of pages in the report!<br /><br />Lisa Slater Nicholls shows the inner workings of a PrintJobListener class and explains how it can switch settings in the middle of a report run. Thanks, Lisa, for providing this important information and code for the benefit of the community.<br /><br />As is usual with Lisa's articles, this one is full of useful tips and suggestions for how you can add your own specific functionality to this set of code to fine-tune it for your specific needs.<br /><br />BTW, if you ever wondered if there is a good use for the INSERT BLANK BEFORE command, you'll find it here. :-)<br /><br />http://tinyurl.com/amfdz<br /><br />Enjoy!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1128306637087800842005-10-02T22:30:00.000-04:002005-10-02T22:30:37.086-04:00Republished Blog to Stop Spammer CommentsI have removed the comments feature from this blog due to a major spike in spam comments over the past week. I apologize for having to take this step, but I will not allow spammers to make use of my search engine listings to promote themselves. I also cannot afford the time it takes to find each unwanted comment and remove it. <br /> <br />I also apologize if my entire blog showed up again as fresh material in your aggregator -- it appears that my only option for removing the comments (and the capability for adding comments) was to republish the entire blog after changing the settings.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1127537713774775282005-09-24T00:51:00.000-04:002005-09-24T00:55:13.780-04:00Public Beta Available for VFP9 Service Pack 1Microsoft has just released a public beta of Service Pack 1 for Visual FoxPro 9 and is asking the Fox community to test it out. The SP1 final release is expected in early December, so the time for testing is now!<br /><br />You can read a lengthy list of bug fixes and also download the SP1 beta <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1C06E35D-10A2-4A05-84FC-495B3A73ECF7&displaylang=en">here</a>. <br /><br />Kudos to the VFP team for making the SP1 Public Beta available for extensive community testing.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1126497238032707482005-09-11T23:48:00.000-04:002005-09-11T23:53:58.036-04:00New Screencast Video Series: Learning Visual FoxProCraig Boyd has been at it again -- this time burning the midnight (and beyond) oil to produce a new series of screencast videos titled: <a href="http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,2baba34c-ebd6-46a3-aabe-35a4d7348014.aspx">Learning Visual FoxPro</a>. This is just the first installment for beginners, to be followed by more at beginner, intermediate and advanced levels.<br /><br />Craig has recently turned out tons of great new material for VFP developers, both on his blog as also in articles written for <a href="http://foxtalknewsletter.com">FoxTalk</a> and other magazines. He'll also be speaking at the <a href="http://www.swfox.net/">Southwest Fox Conference</a> in October, and I'm looking forward to meeting him in person there.<br /><br />Thanks, Craig, for all you are doing to support the VFP community!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1126188357340021492005-09-08T10:02:00.000-04:002005-09-08T10:05:57.346-04:00Free FoxTalk Article: Colin Nicholls Extends the Report Builder Multi-Selection DialogThis month's FREE FoxTalk article is from Colin Nicholls, who helped put together many of the changes to VFP9's Report System.<br /><br /><a href="http://tinyurl.com/8jxay">Extending the Report Builder's Multiple Selection Dialog</a><br /><br />In this article, Colin Nicholls shows you how to extend the VFP 9 Report Builder's Multiple Selection dialog with additional functionality you design. In doing so, he also reveals the secrets of the Report Builder's lookup table, or registry, and demonstrates how you can substitute your own version to customize the Report Builder's native behavior.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1125095938437613042005-08-26T18:26:00.000-04:002005-08-26T19:02:07.490-04:00Someone's been talking: eWeek reveals details about the .NET "Zorro" (Fox) teamNew details about upcoming Fox-like features in .NET have emerged in today's eWeek article, <a href="http://www.eweek.com/article2/0,1895,1852979,00.asp">Fox in Microsoft's Tool-Suite Coop</a>, written by Ziff-Davis reporter Darryl K. Taft. <br /><br />The article hints at announcements that will be made at next month's PDC Conference, which Taft says his sources tell him will have some content about Visual Studio 2005, but will also focus heavily on the later "Orcas" release.<br /><br />One of the most interesting things about the article is its reference to what the writer called the "Zorro" team, which evidently has been working on future VB data integration technologies (gee, I wonder what familiar names are on that team?). I'd also be curious to know who is behind the "sources said" in this part of the article:<br /><br /><i>In Orcas, many of the new and innovative features actually borrow from Microsoft's FoxPro database, sources said. <br /><br />And the team that has been working on the VB data integration capabilities has been referred to as the "Zorro" team inside Microsoft—in homage to the FoxPro ties, sources said. Zorro is Spanish for fox. <br /><br />FoxPro and Visual FoxPro are all about data, and in the new world of Visual Basic, data handling and rapid application development become fused, sources said. </i><br /><br />As is often the case, reporters not familiar with certain tools or technologies inevitably get something wrong, as in this reference to a future version of FoxPro (I'm sure he was describing Sedna, but called it VFP9):<br /><br /><i>Despite putting FoxPro features in the key Orcas language, Microsoft has said it will be releasing another version of FoxPro, FoxPro 9. </i><br /><br />And finally, it's good to see that those long hours of transcribing <a href="http://foxcentral.net/microsoft/VFPDevCon2005_Interview_AlanGriver_KenLevy.htm">my interview with Ken and Yag</a> have been rewarded with extended coverage via the eWeek article:<br /><br /><i>There also seems to be a move afoot inside Microsoft to break down walls between the FoxPro team and the other Visual Studio data tools teams. <br /><br />Levy and Alan Griver, who is Microsoft's Visual Studio Data Group manager, were interviewed in the FoxTalk newsletter, and Griver had this to say about Fox collaboration inside the company: <br /><br />"I made a blog entry a few months ago—not in much detail—that basically talked about Visual Studio Data, which is the team that reports to me. It's a team that is made up of multiple groups, if you will. Fox is one of them, and the Data Tools in Visual Studio is another. I don't believe that there should be a wall between the two teams. <br /><br />"To that end, some of the Fox people are bringing some of the great capabilities of Fox to .Net. But at the same time, there are people from the Visual Data Tools team who are working now on Fox. It's not a question of resources going only one way from Fox to Visual Studio." <br /><br />Meanwhile, although Microsoft will discuss Visual Studio 2005, code-named Whidbey, at the PDC, the major focus will be on Orcas, sources said. </i><br /><br />Thanks to Atlanta Fox User Group leader Russell Campbell for tipping me off to the eWeek article in an email he sent to the AFUG membership. Here is Russell's probably somewhat-sarcastic comment: <strong>"Isn't it great that in 2008 or so, .NET will finally be able to do data somewhat like FoxPro has been doing for a decade or more?"</strong><br /><br />Ain't it the truth!David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.comtag:blogger.com,1999:blog-13366864.post-1123594693946312612005-08-09T09:31:00.000-04:002005-08-09T09:38:13.950-04:00Read Calvin's Blog -- VFP Secrets Are Revealed RegularlyIf you are not subscribed to <a href="http://blogs.msdn.com/calvin%5Fhsia/">Calvin Hsia's blog</a>, you are missing some great "inside info" about how VFP works. Calvin, who is the Lead Developer on the VFP Team at Microsoft, regularly posts insightful narratives about how he has diagnosed customer problems.<br /><br />One great example is today's post, <a href="http://blogs.msdn.com/calvin_hsia/archive/2005/08/09/449347.aspx">Interesting Form Paint Behavior</a>, which explains some mostly-unknown facts about how VFP handles form-painting. Thanks, Calvin, for giving us the benefit of regular brain-dumps.David Stevensonhttp://www.blogger.com/profile/08710232242349647600noreply@blogger.com