Archive
Archive for the ‘Uncategorized’ Category
UncategorizedJuly 30th, 2005
Taking a break before heading to bed tonight, I listened in on the Discovery wake up call via a video stream from NASA. Today is spacewalk day which hopefully is not overshadowed by the news media’s constant probing to find some fatal flaw in the thermal heat shield. After the kids choir music was played to wake the astronauts, the crew was told they were “a go for email.”
There are so many things we take for granted here on planet Earth these days. I never gave much thought about getting email while I am in space. How cool will it be when I can post a blog from space? Well I can tell you I have permission to buy my trip as soon as I win $100 million or more in the lottery. Now all I have to do is get the nerve to buy a ticket.
Another cool note, Sergei Krikalev, the current commander of the space station crew is starting his third year in space. He is on the way to setting the record for most days by a human in space. He will break the record before his tour is up. This is his second stay on the International Space Station after one extended stay on Mir.
UncategorizedJuly 29th, 2005
Absolutely true! It was announced today scientists funded by NASA have discovered what is being called the tenth planet. It looks like this planet is larger than Pluto, has a moon, is three times as far from the Sun as Pluto, has an orbit which is 45 degrees from the main solar system plane, and is temporarily called 2003 UB313.
Full news release can be found on the Jet Propulsion Laboratory site.
UncategorizedJuly 27th, 2005
It certainly is shaping up to be a busy second half of the year with respects to presentations.
You may have read the White Light Computing news release a couple weeks back announcing my selection to speak at the 12th VFP DevCon Germany 2005 held November 10-12, 2005. I am very excited as this will be my first trip to Europe. I have heard from other VFP developers the German DevCon is a fantastic conference with premium sessions and a super facility. It is a priviledge to be select to present at this conference.
I can also announce I will be speaking at the 9th F1 Technologies DevCon, September 26-28, 2005 in Toledo. Mike and Toni have asked me to do a presentation on Debugging VFE Style, a session on XCase, and another session on integrating developer tools into your VFE development. F1 put on a great conference in 2002 in Vegas, so I have extremely high expectations for this year’s trip to Toledo.
Looks like the rest of July and all of August will be packed with session preparations, which should be fun. It has been more than seven months since we wrapped up the writing for What’s New in Nine. The break has been nice, but it will be good to get back to do some more formal writing. I have also promised David Stevenson a series of articles for FoxTalk. Looks like Microsoft Word will be getting a workout.
UncategorizedJuly 27th, 2005
Noooooooooooo, not again. Space.com and CNN are reporting the fleet is officially grounded until further notice because foam was spotted flying off the external tank during yesterday’s launch. This was being heralded as one of the smoothest shuttle launches to date and in less than 24 hours the fleet is back in mothballs.
The irony of this decision is the crew of Atlantis is prepare to fly and rescue the Discovery astronauts if there is a major problem with the orbiter and cannot be repaired. So what happens if the orbital boom survey or the pictures from tomorrow’s space station fly-by show more than a chipped tile and it cannot be fixed? God help the decision makers if this ever comes to pass. What happens if the same thing happens to Atlantis on the way to rescue Discovery? We could have two-thirds of the orbiters crippled and hanging in space. Not a good thought.
Is Russia ready to rescue the US Space program again?
UncategorizedJuly 27th, 2005
I can now admit I have not used the report chaining capability Microsoft added to Visual FoxPro in VFP 8, at least until two days ago. It is the typical case of finally hitting the need for the feature.
One of my clients called me into a project where they are struggling to make a report break to a new page based on the data. I played around with the report for an hour and was able to break to a new page where they wanted it to break, but the side-effects were forcing a page break later that was not desired. I tried a couple more things by adding extra groupings, but it was not working as desired.
Since the developer was using VFP 8, I thought of chaining reports. I split the one report into two reports and called them with the appropriate commands:
SCAN REPORT FORM Itinerary01 NEXT 1 NOCONSOLE NOPAGEEJECT TO PRINTER REPORT FORM Itinerary02 NEXT 1 NOCONSOLE TO PRINTERENDSCAN
The NOPAGEEJECT clause tells VFP to not close the print job. This worked like a charm when printing to the printer. I then moved to the preview logic and whammy, I was getting two previews for each of the records. Crud! When I tested running the reports to Acrobat I was getting prompted for two file names. Double crud! Another great idea crashing and burning. Even though this report is not previewed as often as it is printed, I suspected the users were not going to be happy with this, especially since they like to print the reports to Acrobat.
So I fire up VFP 9 and run the exact same code. I was not expecting different results, but I wanted to see how the reports looked in the new Report Preview window. I was going to investigate how the new ReportListener might help. To my surprise, the preview window was only opened once per record. The VFP 9 report chaining is way smarter! A hidden gem (at least to me).
As a bonus, the graphic images not printing to the Acrobat 6 PDF driver in VFP 8 are printing just fine from the VFP 9 reports. Double bonus. So once again, Richard Stanton (Fox Team Report Designer guy extraordinaire): you da man!
So if you are struggling with reports in any version of VFP prior to 9, head out and upgrade and see if your struggles are reduced or even eliminated. This simple little behavior change just sold two copies of VFP 9 to the two developers I am working with on this project.
UncategorizedJuly 26th, 2005
The launch of Discovery this morning was spectacular as expected taking 7 new heroes back to space. This is the second time Discovery has healed the space program as it followed Challenger into space back in 1988.
Thanks to CNN (excellent coverage of the updated features on the shuttle system) and NBC (very cool animation) for the excellent coverage this morning. I really liked the new camera views and look forward to seeing a launch in person one day.
UncategorizedJuly 21st, 2005
Earlier this morning I posted about the different Web pages where developers can see what is new in the various versions of VFP. After posting I headed out to a client and on the way I recall some pages in the Fox Wiki where this information is detailed.
No sooner do I get to the client that BOb Archer hits me with an email about the Visual FoxPro Version Feature Concordance and just a little bit ago Steve Black was kind enough to let me know the same. Steve provided an extra hint as well:
“There, by version of Fox, are all the NEW functions, events, commands, files, pieces, etc and below that, what’s ENHANCED (fly the mouse over a few and note the popup that explains what’s new).”
This is a superb resource and a way cool feature!! Kudos again to Steve Black!
(Thanks to both BOb and Steve for nudging me, and my client for providing the 10 minute break during a very busy day to post this entry {g})
UncategorizedJuly 21st, 2005
I work with other developers at my clients and mentor several developers on a regular basis. It is not unusual for developers to ask me the question “When was that added to VFP?” I am finding it harder and harder to recall the details off the top of my head with so many versions of VFP.
This morning over on FoxForum a developer who is getting back into VFP development wanted to find out how he could go through a history of VFP to see what new features were added since VFP 6. Naturally I wanted to answer this information is in the VFP Help file in the What’s New section, but he last developed in VFP 6 and now owns a copy of VFP 9, so access to the 7 and 8 Help files is not on his machine.
Then I recalled the VFP Help files are online on the Microsoft MSDN site. Each version has a separate page:
What’s New in VFP 9
What’s New in VFP 8
What’s New in VFP 7
What’s New in VFP 6 (not found)
What’s New in VFP 5
This is a great way for developers who skipped upgrading to each version to find out all the features which are new to them. Unfortunately I could not find what’s new in 6, but I am guessing it is out there.
The definitive guide for me is the Hacker’s Guide to Visual FoxPro 6 and Hacker’s Guide to Visual FoxPro 7, but unfortunately there is no 8 or 9 in this series. I am also a fan of the What’s New in VFP 7, 8, and 9 as well. I use these books along with the Help files to understand which versions of VFP I can support for the developers tools I have published. I find it easier to look up a command in the various resources than to find it breaks when I perform system testing for the developer tool in each version of VFP I plan to support.