Skip to main content

Posts

Showing posts from April, 2008

Kevin Ragsdale: In DLL Hell

Kevin Ragsdale's FoxPro Blog: DLL Hell Rears It's Ugly Head

Kevin reports on a problem that I've also been hit with (but was never able to track down properly - it just "went away").

The upgrade to VFP SP2 killed one of his apps - why? Invalid DLLs all over the place.

But Kevin notes some key items:

How To Avoid DLL Hell (not always sanctioned but it works and in this day, that's more important than most else)
I changed my installer to just dump the VFP 9 SP2 runtimes into the folder where the app is installed.

But as Kevin notes:

"Install VFP 9 Service Pack 2. Today. Stop reading this, and go try it out. Try it on a test machine. Try it on Virtual PC. Just try it! Quit whining about what it might do to your apps, and go see for yourself. You'll never know until you try."

Sad News: Ken Murphy

I just read through some MVP news as well as the posting on Foxite that Ken Murphy passed away.

If you aren't familiar with Ken, he was a regular community member on Foxite - it seemed that sometimes he was there 24 hours a day with how quickly he posted, and how he always encouraged everyone in the community to give back just as he has done.

He will be missed.

Foxite

VFP Help Updated - Some problems found

Rick had posted two weeks ago about how some VFP updates were coming down the Microsoft pipe. They were released recently but unfortunately, have some glitches.
Shedding Some Light - Comment

I typically use the VFP online help or rely on other sources but it might be nice if the entire help file could be "codeplexed". That way, the Fox team doesn't have to pull their resources from all over to get it done and community members could get it cleaned up.

Just a thought.

Using My for Settings Management

Just about every FoxPro application has a need to store settings. Whether it be the startup folder or various application preferences, they have to be stored somewhere. Of course, that begs the question "where"?

Back in the DOS days, many developers stored settings directly in a DBF table. This sometimes created a table with one record and lots of fields which was immediately useless once you had more than 255 settings (many applications continue this tradition today).

When Windows started becoming popular, many started to follow the INI approach, creating settings like
[application]
suppresslogin = true
name = george

[timezone]

This approach is still used and has support in the FoxPro Foundation Classes (and in the Solution Samples).

Developers have also embraced the Windows Registry (especially with Win XP). It's very handy because you would easily separate out MACHINE level settings from USER specific settings.  Problem these days is that writing to the Registry is pretty mu…

FolderShare : for Windows 2003 ....NOT!

I really want to use some of the new Windows Live services - really I do. But this just frustrates me.

The content on this page for Windows Live FolderShare beta
says
"Requires: Windows Vista, Windows XP, or Windows Server 2003"

Great - I install it on XP. No problem. I go to install it on my Windows Server 2003.

"Foldershare is not supported on this version of Windows."

Dumb.

New updates coming down the pipe for VFP9

Rick writes about some of the news from the Microsoft MVP Summit - that there are updates coming down the pipe for VFP 9: one more cosmetic (in my mind - documentation updates) and one more important (a bug fix for a reporting error).

Regardless of whether this addresses your favorite VFP 9 SP2 bug, this is good news all around - because it does show a willingness on the part of Microsoft (ok, who am I kidding here - on the part of Alan (yag), Calvin, Milind, Richard and some others) to work with the VFP community and its effort to continue VFP.

Woody commented in an earlier post about the possibility of lawsuits against MS for breaking existing apps. I don't think that will happen (while you can sue for your car having design flaws that kill, you can't sue for your car breaking down - of course, someone could prove me wrong here).

In my case, I'm still optimistic about some other fixes - seems like the MVP summit had a lot of good feedback going both ways...

Blogged with the…

Automating Checkins and Builds with VFP and VSS

I use ProjectHooks a lot in my day to day VFP development - for a variety of things:

a) copying the completed APP into a test and/or deployment directory
b) ensuring version #s are consistent across our remote development team

But what I'm always missing is a way to ensure the latest code is always checked in.

We deal with a lot of remote programmers so it's really important that if I finish working on something that it gets checked in so if others have to work on it, they can grab it without worry.

What I have found is that I can call

_VFP.ActiveProject.Files(1).Checkin()

and it will pull up the VSS Check-in utility BUT there's one gotcha:

it only works if you have the Project Builder open.

If you simply issue a BUILD EXE xxx FROM xxx, it won't run. Now I suppose, I COULD do a MODIFY PROJECT _VFP.ActiveProject.Name before hand and then let it go but is that really necessary?

I could also force an update by manually calling the internal check-in commands but that's a kludge…

Pirillo - Don’t Let Software Die

Don’t Let Software Die ~ Chris Pirillo

Interesting post regarding TuCow's decision a while back to stop updating Blogware. It reminded me a little of VFP in that it's a company that has decided to stop updating one of its software packages.

Chris' comments on the letter:
>> What worries me most about building communities on closed platforms is that as soon as those platforms change direction or stop innovating, you’re locked into a toolset that has nowhere to go but down

Whoa! Does this sound like VFP and FoxPro? Read on...

>> Tucows has given absolutely no indication that they’re interested in opening the platform at all - leaving you in more of a no-win situation.

You can't fault Microsoft for not wanting to open up the VFP engine - as that has given a lot of its other products some definite improvements but the re-licensing of the xBase components certainly does show that they were interested in not killing it outright. Indeed, I think Microsoft deserves some…

Funny UI Decisions

I've been reading KC almost since I started using an RSS (when I grabbed a bunch of the earliest MS bloggers and aggregated them) - and many of her posts are enlightening, some very informational (this is someone who has moved around MS quite a bit in different areas) and some just funny - like this one - KC on Exchange and Outlook : The power of words

I guess we don't call it user interface anymore but rather User eXperience but it's still the same - how do people interact with your product.

And as more resources get outsourced, this is an area where every developer/manager/user needs to be vigilant.

Just as Jay Leno has his 99 cent store where recently they were wishing people Merry Hristmas and Happy Biryday, the quality bar on what words you use in your application needs to be raised. Where else did I hear this?

Oh yeah, Jason Fried from 37 Signals in his SXSW session "What we've learned at 37 signals" - paraphrased: "before you do re-design, think about…

April Fool's and VFP

OK - I hope everyone had a blast yesterday with the various jokes that went around although I have to say I think Doug's hit a little too close to home.  Before I read his, I was even tempted to post one that said "Microsoft was giving up on Visual Basic and introducing a USE statement into Visual C#". But after seeing his (the clincher was the WSYP feature), I figured I would stay out of it.

I always think of the best April fool's jokes as having a few qualities:

1) Possible yet extremely unlikely
2) Ludicrous expectations (as in with Virgle)
3) Absolutely no way no how (as with the Google Flush for WiFi)

Even Craig Bailey's old one (that wasn't posted on April 1) did make me think (along the above lines).

But I could see a lot of people looking at Doug's post thinking it was the truth without thinking of the actual date, especially since he announced Stonefield Query 3.2 was released right after that. 

Why? Well, even though most of us are pretty clear on th…

VFPX - Themed Controls Demo Totally Rocks!

If you haven't checked out Emerson Reed's Themed Controls for VFP, you definitely need to. The link here (VFPX - Home )  shows some samples and there's a video as well but why not simply download the sample code and run it.

One key point: don't build the SAMPLE project and try to run it - just open it, and run MAIN.PRG for best results.

It combines the use of GDI+ and other VFPX projects (CTL32) and just makes the sample app look beautiful. I'm running an earlier version on some of my apps (and they work beautifully) but now I'm definitely going to upgrade to the most recent update.

One key thing to keep in mind: it's all NATIVE FoxPro!  
Blogged with the Flock Browser

Foxpro - The Evolution of a New Standard

Want a blast from the past?

Check out this 1990 ad for FoxPro 2.0 up on YouTube. Foxpro - The Evolution of a New Standard

Not sure, where it played but very cool to watch.
Lots of footage with Dr. Dave but also some great cameos with Adam Green, Tom Rettig, Richard Grossman, Pat Adams, Walt Kennamer, George Goley, (not sure about some of the others: Lucy Lockwood, Michael Masterson)

memo fields: "text processing...the single biggest new market opened up by FoxPro"

I remember when 2.0 first came out for DOS (I was building apps with 1.1 as well as FoxBase+Mac)

There's another funny one here back from 1993 featuring Brad and Karen - I guess this is back when Microsoft's marketing budget wasn't quite as big.

Now we need a VFPX video! -  oh yeah, there's an older promo one right here.