• Sign in
 
  •  
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...
Search
Tags
  • .NET
  • Altova
  • blogging
  • code samples
  • Codeplex
  • Custom XML
  • DII
  • DIS29500
  • ECMA-376
  • IBM
  • Java
  • Monarch
  • ODF
  • Office 2007
  • OpenXMLDeveloper.org
  • PHP
  • Redmond
  • SharePoint
  • System.IO.Packaging
  • TechEd
  • UOF
  • VSTO
  • Windows
  • WordprocessingML
  • workshops
Archives
Archives
  • January 2012 (1)
  • October 2011 (1)
  • July 2011 (2)
  • April 2011 (1)
  • March 2011 (3)
  • December 2010 (1)
  • August 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (1)
  • November 2009 (4)
  • October 2009 (1)
  • September 2009 (2)
  • July 2009 (2)
  • June 2009 (4)
  • May 2009 (5)
  • April 2009 (4)
  • March 2009 (4)
  • February 2009 (2)
  • January 2009 (4)
  • December 2008 (4)
  • November 2008 (3)
  • October 2008 (4)
  • September 2008 (3)
  • August 2008 (2)
  • July 2008 (5)
  • June 2008 (7)
  • May 2008 (5)
  • April 2008 (8)
  • March 2008 (14)
  • February 2008 (15)
  • January 2008 (13)
  • December 2007 (12)
  • November 2007 (5)
  • October 2007 (9)
  • September 2007 (6)
  • August 2007 (10)
  • July 2007 (9)
  • June 2007 (8)
  • May 2007 (12)
  • April 2007 (14)
  • March 2007 (12)
  • February 2007 (10)
  • January 2007 (17)
  • December 2006 (14)
  • November 2006 (10)
  • October 2006 (11)
  • September 2006 (12)
  • August 2006 (12)
  • July 2006 (12)
  • June 2006 (23)
  • May 2006 (14)
Common Tasks
  • Blog Home
  • Email Blog Author
  • About
  • RSS for comments
  • RSS for posts

Backward Compatibility

Doug Mahugh - Office Interoperability
MSDN Blogs > Doug Mahugh > Backward Compatibility

Backward Compatibility

Doug Mahugh
20 Oct 2006 2:44 AM
  • Comments 3

Before I started at Microsoft, I worked at a wholesale auto auction for a few years. In 1999-2000, I wrote a line-of-business app for the auction in Visual FoxPro, and we called that app SERVIS. (That was a derivative of "customer SERVice Information System" ... it somehow made sense at the time.)

I thought it would be fun, now that I've got Vista RC2 and a very recent build of Office installed on my laptop, to check out how SERVIS runs in this environment. I had already tried this with an earlier Office 2007 build last winter, so I knew the automation of the Office clients still worked (things like writing reports to Word and Excel, or creating outbound emails in Outlook from business data), but I had never tried SERVIS -- or any VFP app -- under Vista.

So I installed the VFP runtime, and then fired up the same EXE I had compiled under XP when I worked at the auction. And I must say, I was amazed at how well everything worked. I played around with it for a half hour and had a few weird refresh issues when multiple windows were open within the app, but nothing ever crashed and it looked great.

vehicle window sales & expense report employee window reporting to Word

SERVIS writes some reports to Word, and I tried saving a large report with many vehicle photos in it to a DOCX. That was pretty cool -- the word/media folder in the DOCX package was a nice tidy collection of all the vehicle photos from the report. One of the things on the SERVIS wish list that I never got around to was a way to export all of the vehicle photos from a sale day. The Open XML file formats make that possible without writing another line of code.

I've told quite a few developers that the 2007 Microsoft Office System's object models are backward compatible with the older versions of the Office clients. This little SERVIS example shows just how compatible they really are -- SERVIS was written in the days of Office '97 (before there was even a .NET), and yet everything still works just fine in Office 2007.

Now I'm sort of curious to find a Z80 emulator for Vista and see whether SCS-Draw runs on it. :-)

 

  • 3 Comments
Windows
Comments
  • yag: Community and Architecture
    23 Oct 2006 7:20 PM

    Doug Mahugh has a post where he took an existing VFP9 app that uses a lot of Office Automation, and ran

  • SarekOfVulcan
    27 Oct 2006 6:37 PM

    When VFP7 was in Beta, I ran it under Bob, just to see what would happen. Wish I had saved the screenshot...

    I was in the Apple Store at some point last year, and decided to see if the <a href="http://hyperarchive.lcs.mit.edu/HyperArchive/Abstracts/dev/src/welcome-132.hqx.txt">shareware app</a> I had done back in 1993 still ran: shockingly, it did, once it loaded the compatibility layer. :-)

  • Doug Mahugh
    7 Mar 2007 9:35 PM

    Cairo University's Mohammad Nour El-din Marwan has a great post on "Generating Dynamic OpenXML Docx Files"

Page 1 of 1 (3 items)
  • © 2013 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy & Cookies
  • Report Abuse
  • 5.6.426.415