Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2K question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00178345
Message ID:
00178357
Views:
25
>Just like to know if our application written using foxpro or vfp
>is Y2K compliant but will it be affected by our OS system like
>DOS 6.22.
>
>Is DOS 6.22 ,foxpro 2.5 - 2.6 and vfp 3/5 all Y2K compliant.

Unfortunately, the answer to your question is "it depends!" I know you want a "yes" or "no" answer, but the question has a more complicated answer.

I'm not sure about DOS 6.22, but I think it's Y2K compliant if it's running on Y2K compliant hardware.

As far as FoxPro 2.x and VFP, the question "are they Y2K compliant" can't really be answered. Fields defined as date type have the century stored in them. In that way you can say FoxPro has always been Y2K compliant. But FoxPro and VFP are programming tools. They allow you to write Y2K compliant programs or non-compliant programs.

If you have old programs written in FoxPro or VFP, whether they're Y2K compliant depends on how those programs were written. You have to analyze the dbfs, cdxs, prgs, scxs, frxs, and mnxs for potential Y2K problems. There are several tools (programs) available to examine your source code and report on potential problems. (My company wrote one for FoxPro up to 2.6. I've seen them advertised in FoxTalk and Advisor magazines which are supposed to analyze VFP programs as well. I haven't used them so I can't vouch for them.)

You want to know how complicated a question this is? There have been several articles written written in FoxTalk and FoxPro Advisor on how to check whether your old app's are compliant, and how to make them compliant. There have been some excellent solutions to particular Y2K problems, including code to patch into your old programs.

The answer to your question depends on what you mean. If you're asking if all your old code, some written ten years ago in FoxBase+, some written in FoxPro, some written in VFP, is Y2K compliant, the answer is: "you have to examine it and find out." If you're asking whether you can write a new program in VFP and expect it to be Y2K compliant, the answer is: "yes, if you write it right."

Boy, I bet that clears it right up for you. I hope you can find SOMETHING useful in what I said.

Good luck,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform