As you may know, last weekend I bought my first Mac. In a week, I’ve made a ton of progress and am starting to feel rather comfortable with the new OS. My first impression remains strong: The Mac is awesome. It takes fewer clicks to get things done, it is faster than PCs of equivalent power, and it is much more intuitive. There are still a few things to do, like check with Adobe about cross-platform upgrades of Dreamweaver, Photoshop, and Acrobat.
I have, however, managed to place one very important piece of the migration puzzle: Getting FoxPro up and running.
Virtualization
To get Windows running on the Mac, you basically have two options: Dual boot via Boot Camp or use Virtualization. Boot Camp was not a great option for me because I want to work in the Mac and share items between the Windows install and OSX. For virtualization, I seemed to have three choices: VirtualBox by Sun, VMware Fusion, or Parallels Desktop for Mac.
Reviews for Parallels were slightly better overall, and I got a recommendation from a colleague, so I went with it. For less than 100 Euro, this software is simply incredible. Installation was as simple as downloading and running the installer. These were the steps I took:
- Downloaded the latest version from parallels.com
- Double-clicked “Install Parallels Desktop”
- Went through the Wizard, clicking Continue through each step
- Accepted the terms of the license
- Selected my Mac’s HD for the install destination
- After the install finished, I moved the icon to the Dock
- Started the software and from the Help menu clicked “Activate Product”
- Entered the activation code that Parallels sent me via email
- Clicked ‘New’ from the File menu to create a new VM via the OS Installation Assistant
- Selected “Windows Express Installation”, Next
- Selected “Windows XP”, Next
- Entered the XP product key, set some basic settings, and gave the VM a name
- Chose to allocate more resourced to the VM than to Mac OSX
- Clicked Finish
Next, I installed Windows XP Professional using the new VM window created by Parallels. This was the fastest XP install I’ve ever done. Not only that, but the entire process was the same as if I had been on a PC (just in a window — which is a bit ironic). When Windows booted for the first time, and I heard the familiar Windows theme, I felt a sense of cool calm overcome me. This was going to work.
Ejecting the CD
During install, I had to insert my Windows 2000 disk (I have an Upgrade copy of XP Pro). I think it took me about 30 minutes to figure out how to eject the XP Pro CD from the Mac! Here’s how I did it:
- Right-click on the CD icon in the footer of the Parallels Desktop window
- Choose ‘Disconnect’
- The CD drive will re-appear in OSX’s Disk Utility application, where it can be ejected.
- Right-click on the CD icon in the footer of the Parallels Desktop window to reconnect when ready
When the VM is running, it ‘owns’ the CD drive. Because I was installing XP Pro, I didn’t have any obvious way to eject the disk. There’s no button on the Mac and I wasn’t yet ready to straighten out a paper clip! The above steps are a bit of a hassle, but certainly doable.
Two-times the Charm
Of course, I had to do it all twice (my fault). I have an XP Pro version 2002 CD without any Service Packs. After Windows installed, I went straight for Windows update and let it install SP2. It failed with some read errors and then Windows would no longer boot. So, I deleted the VM and started over. No biggie. This was easy. This time, I installed SP1 and then went straight for SP3. That worked and now I’m golden. After getting all the other updates, I was ready for the Fox.
Installing Visual FoxPro v9
Ok, so there was nothing to installing FoxPro. I literally put the CD in, installed the prerequisites, and then VFP. No surprises, no issues, no problems. I ran some basic checks and so far everything seems to run fine. I’ve yet to do any development but if I have any issues, I’ll be sure to report them.
I recall at FoxForward 2007 seeing a few Macs. If you’re using VFP on your Mac — let me know about it. I’d like to know how you’ve done it (Boot Camp? VM Ware?) and if you’ve encountered any issues.
Lord Voldemort
Lastly, I’ve named my XP Pro Virtual Machine “Lord Voldemort” of Harry Potter fame. My entire home network is named after various Harry Potter characters. I named my iMac Dumbledore.
This seems totally appropriate.
#1 by Eric in Madison at August 28th, 2008
| Quote
Tod, I agree that it’s pretty slick. I use VMWare myself and loathe having to use Windows. I now try to do all my development, except Fox, in Mac.
Nice move!
#2 by Tod McKenna at August 29th, 2008
| Quote
Hi Eric,
I’m still in awe. If I had known it would work this well I would have switched much, much sooner!
#3 by Michael Schwing at September 5th, 2008
| Quote
Well, doesn’t surprise me. Our main application is totaly based on VFP9SP2 and it works perfectly on XP inside Parallels on Mac. Even the coherent mode with the win/vfp-app-window flying free on the mac desktop is not only looking great, but (still) working good.
Of course it very sad that years ago vfp for mac was shelved (wouldn’t it be great to have a carbon.based Mac VFP with cross-plattform ability?), but the VFP-in-XP-by-Parallels-on-Mac scenario is a valid and full functional one.
@Tod: Shouldn’t your Mac be called “HarryPotter”? Now “Voldemort” is residing inside of “Dumbledort” which is irritating to Potter-fans
))
So have lots of fun on the Mac and well, if time permits, perhaps in a few months have another report on how things developed with production work on vfp.mac.
#4 by Chris Sund at June 4th, 2009
| Quote
Hi Tod,
I just did the same thing, but now I’m getting ready to install VFP9. I’m excited to see you had no problems. This is my first mac and that parallel software is just plain awesome. Thanks for the encouraging post.
Chris
#5 by Tod McKenna at June 4th, 2009
| Quote
Great news Chris! I’ve been quite happy so far.
#6 by ash at November 21st, 2010
| Quote
We have applications developd using VFP 6.0 for windows and would like to know, how can we make it work under mac os without windows xp?
Please guide us and thanks for any help.
#7 by John at January 15th, 2011
| Quote
My company’s estimating/invoicing software was written in Foxpro on the PC in 1996. In the early 2000s, after some wrangling, I was able to get in running on a Mac server and using VirtualPC. Now that I’m going to be working from home, I wanted to run it on my Snow Leopard iMac.
After reading comparisons on the internet, I decided to go the Parallels route. The way Parallels commandeered the CD drive bothered me, too. But the worst part was when I tried to run my Foxpro application, I initially received a “File a1 missing” message, followed by persistent “File a2 missing” messages which rendered the program useless.
I had installed Windows 7 on Parallels, so my first step was to retreat back to installing XP, since that was the operating system my program ran on with VirtualPC. Same error messages.
Next, I downloaded vmware Fusion 3 to see if Parallels was the problem. Sure enough, my program ran seamlessly. Since I’ve already purchases Parallels, I would like to know if anyone has any ideas why I would have this problem. Otherwise, I am stuck with the software and will have to purchase Fusion in addition.
#8 by Chaz at February 3rd, 2011
| Quote
Hey folks,
Using VFP on Mac via parrells turning to Windows. My code seems to be working but I have noticed that in the MAC world I could print as many characters as needed across a horizontal page in one line by reducing the size from page setup menu. Now in the windows world my output characters are shrunk but are trumped off with a hard tab or something — not able to get my full VFP output to print when I shrink the size in Windows platform – If I want 180 characters to print across and shrink to 50% I only get the same number of characters at 100% eventhough the characters are smaller. Any ideas to solve would be appreciated….
#9 by John at August 18th, 2011
| Quote
Hi -
We too are successfully running an vfp application (Mail Order Manager) with Windows XP and Parallels on a Mac. However, the database (tables) are all still hosted on a Windows server. Trying to move them to a Mac OS X server, but having connection problems. Any insight from anyone appreciated.