I have a dBASE IV application that needs to be migrated to allow it to run on XP and 7. I have looked at ooDialog and ooREXX since I am familiar with Rexx, but do not see how to control the editing of the entry data. I have not yet really started on the migration, so am open to using whatever makes sense here. Would be thankful for any suggestions.
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
dBASE dialog migration guidance requested
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » dBASE dialog migration guidance requested
- This topic has 19 replies, 9 voices, and was last updated 12 years, 5 months ago.
Viewing 11 reply threadsAuthorReplies-
RetiredGeek
AskWoody_MVPAugust 7, 2012 at 12:53 pm #1344294Art,
You talk about migration of a database but then mention at least one non-database language (REXX).
I would think you should be looking at migrating it into MS Access or some other current PC database.
I’m suprised that DBIV won’t run on Win XP as I seem to remember doing that a few years back.
Please post back with exactly what you are attempting to accomplish, e.g. run DBIV in a newer OS or migrate the system to a new Database System. :cheers:P.S. I moved the thread to Databases as I think more people with the appropriate knowledge for this topic will see it in this location.
-
artheim
AskWoody PlusAugust 7, 2012 at 2:49 pm #1344300You are correct about mentioning a non-DB program (Rexx) in my query for suggestions. The application does in fact have a database, but it is quite small and easily migrated to even a flat file, however; there also is a add-on to allow Rexx to access DBIV files. Most of the application is dealing with operator entry, and I would like to keep as much of the feel of the dialog interface as possible. I am not familiar with MS Access as a developer, but am not opposed to learning it and using it. I am running the current application on Win98 and XP systems today. The requirement is to be able to run it on Win7, but also continue to run it on XP. The Win98 systems are being upgraded to Win7 systems.
-
RetiredGeek
AskWoody_MVPAugust 7, 2012 at 3:46 pm #1344313Art,
I was unaware of the DBIV addin for Rexx. I’m a old mainframe Rexx programmer (Under VM/CMS). As a matter of fact it is one of my all time favorite languages.
So you need to migrate beacuse?
1. Rexx won’t work under Win 7.
2. The add-in won’t work under Win 7?
3. You don’t have enough work already? 😆Where are the operator entry functions located (Rexx/Add-on)? :cheers:
WBell
AskWoody_MVPAugust 7, 2012 at 4:10 pm #1344317Another option might be to try running the existing app in the WinXP compatibility mode on Windows 7. But if you want to continue to run it for the foreseeable future, you should probably look at migrating it to a platform that is compatible with Win7 (and thus with Win8 down the road).
-
artheim
AskWoody PlusAugust 7, 2012 at 6:50 pm #1344329RetiredGeek, ooRexx and ooDialog work just fine in both 32bit and 64bit Windows 7. My problem is that the dBASE IV program will not work in Windows 7. I have tried some of the compatability settings but none alllow it to work. Even if it did work that way, eventually the program would need to be updated. Currently the print functions are problematic also as there isn’t any support other than to a directly attached LPT interface with dBASE IV. I have the ooDialog working with ooRexx, but have not figured out how to control the entry fields; ie, several of the panels have multiple fields in them where the date needs to be verified, the numeric fields need to be verified, etc., and the only way I have seen so far to do this is to wait until all are entered and the operator used a “Ok” or “Next” button. With dBASE input panels, the fields are controlled during the operator input for boundaries, field type, field size, etc. I have not yet gotten to trying the dBASE addon for Rexx to see what problems I have there, but due to the size of the datafiles, directly parsing them with Rexx would also work for this application.
Wendell, I think the compatablity box for XP will only work on Win7 Pro series and not on the Home versions. Most of the newer PC boxes are coming with the Home version unless you specifically order the Pro version. Also, I would like to plan ahead so that the application will eventually also work on Win8..
Thanks for the suggestions so far – will wait for more while I look further at Access.
Art
RetiredGeek
AskWoody_MVPAugust 7, 2012 at 7:20 pm #1344331Art,
I did a little googling on ooDialog and it appears that you can write your own Event Handlers. So you might try the approach of writing event handlers for each of dialog fields to do the error checking on a Lost Focus or similar event. Not having much experience with OO languages at that level I can’t tell for sure if this approach will work or not but it might be worth some investigation since it seems this is all you need DBIV to do. :cheers:
WSjockmullin
AskWoody LoungerAugust 9, 2012 at 8:52 am #1344484I never programmed extensively in dBase IV, and got involved in xbase programming using Clipper (S’87 on), which is close to dBase IV.
If your dBase IV app is using @say / get for input and picture/valid clauses for validation and running over a .dbf database, you might look into the xHarbour compiler. Likely the dBase IV programs would require some modifications to compile under xHarbour, but if they should be quite minimal. xHarbour compiles into true Windows 32 bit executables, so runs on all production versions of Windows (don’t know about 8) as standalone .exe’s. It also has support for windows printers and GUI enhancements as well as long filenames and a lot of other enhancements.
The compiler is free, (xharbour.org) and there is also a commercial version with enhancements and support (xharbour.com). It compiles into C code, which is then compiled and linked using one of several standard C compilers (Waterloo, Borland, MS)
I do a quite a bit of support of legacy xbase systems and xHarbour has been very useful, even if only as a stopgap while migrating to other platforms. It offers dramatic performance improvement over interpreted xBase, and runs over a variety of databases (including SQL) as well as the old .dbf.
Alternatively, Visual Foxbase is worth considering; I don’t use it myself but a lot of folks do and it provides good GUI support, though will require somewhat more code conversion, I believe. I would be a bit concerned since it is a MS product, so ongoing support may not be a priority for them.
Jock
-
WBell
AskWoody_MVPAugust 9, 2012 at 9:42 am #1344504…
Alternatively, Visual Foxbase is worth considering; I don’t use it myself but a lot of folks do and it provides good GUI support, though will require somewhat more code conversion, I believe. I would be a bit concerned since it is a MS product, so ongoing support may not be a priority for them.Jock
I personally would not recommend converting to Visual FoxPro – the latest version is 9 which was released in 2007. Microsoft has stated it will end support in 2015, and that there will not be a new version. They have made the code open source, but that is likely to create instability.
I would test the suggestions made by RG and Jock to see if that gives you the band-aids needed to keep the application running in its current form, or look at converting the entire app to one of the current platforms such as Access or .NET.
-
WSsackbut
AskWoody PlusAugust 17, 2012 at 3:09 pm #13458871. FoxPro easily opens dBase data.
2. An application written in dBase just might run FoxPro with a few modifications. Why you’d want to do that, I don’t know.
3. An app simple enough to be useful in dBase could probably be easily converted to a GUI in FocPro by running a FoxPro wizard.
4. VFP 9 sp3 runs fine even in Windows 8. No need for official support. You really have to get crazy to need it. Peer support is still fantastic.
5. Last but not least — Visual FoxPro has never been made open source so where is the likelihood of becoming unstable?
FUD
-
artheim
AskWoody Plusartheim
AskWoody PlusAugust 9, 2012 at 12:09 pm #1344524I had looked at Visual FoxPro for a different project some time ago and had determined not to port to it, but do not remember the details. Right now I am checking further on xHarbor and also on using an Event Handler for each entry field in ooDialog. Thanks for all the input and suggestions.
-
artheim
AskWoody PlusAugust 10, 2012 at 9:26 am #1344647I have looked briefly at Harbour and the only documentation that I have found is the manual that can be purchased containing what appears to be the API – not any tutorial or howto type of info, and nothing on the IDE. Did I miss something? I may be dense, but my first attempts to compile one of the existing dBASE modules with the IDE was not successful – seems I do not have the folder tree setup right or have not provided all the paths as it is expecting to have them.
I was not aware that Access could be used as an application, but rather it’s strength is to query and/or update a database. Is there the capability to allow programming to be done with it? I know VB could be used for that, but can it also be done within Access? I really do not want the users of the program to have to understand the database layout or content.
WSruirib
AskWoody LoungerAugust 10, 2012 at 9:50 am #1344649Yes, Access has a full programming model. You can program pretty much whatever you want, using VBA and that coupled with the querying facilities, and easy form and report generation features makes it a pretty good alternative. I think you could import your data into Access and develop your app using Access very easily.
WBell
AskWoody_MVPAugust 11, 2012 at 1:36 pm #1344845I have to agree with Rui – we’ve been doing application development with Access as a front-end to SQL Server databases, using VBA to do coding and to also automate other office apps such as Excel, Word and Outlook, and we’ve been at it for nearly 20 years. IMHO, there is no quicker way to develop an app when databases are involved.
WSjockmullin
AskWoody LoungerAugust 11, 2012 at 5:06 pm #1344872Hi Arth
It sounds like you have been looking at the commercial ($) version of Harbour.
AFAIK everything over there costs money, though purportedly it is an integrated development environment with enhancements etc. I have no experience with that distro because I don’t have the $ to invest, and since I am using Harbour to support/migrate/enhance existing clipper apps which are all terminal mode (not GUI), I really have no need for it.In terms of free tutorials for the publicly supported Harbour-project.org compiler and user provided enhancements, there are some resources available.
Tutorials: http://www.elektrosoft.it/tutorials.asp (the first 5 are in English).
Forum: comp.lang.clipper in Google groups, where you will find lots of other reference material.A lot of the material on Harbour is Linux oriented, and deals with compiling the harbour compiler itself and various build methods for compiling and linking your apps in that OS.
If what you want to do is just migrate existing dBase or Clipper apps to 32 bit Windows, I can give you what you would need:
– link to obtain installer for Borland C++ compiler Ver 5.5
– installed folder structure for Harbour compiler ver 1.0 (Simplex)
– batch files libraries and environment setup to do a command-line compile of source code into .EXE files. These are configured to be as compatible as possible with 80’s era dBase & clipper source.
This would give you enough to evaluate how difficult it would be to migrate your app to Clipper.Alternatively, if you have a small program you would like me to try I would be happy to evaluate how difficult it would be to migrate to Harbour by attempting to convert and compile it.
If, on the other hand you are looking to develop new applications or enhance your existing ones with GUI user interface etc, you would likely be better to go with the commercial Harbour distro. However I think if you are comfortable with VBA and access, that might be a more viable development path as suggested by Rui and Wendell.
xBase is a dying environment, only kept going because of the large installed base of apps still doing the job (for now), but the challenge of new environments will likely doom it in Windows, because as I say most people still using it are in the open source world and running Linux and more enthusiasts than professionals.
I would recommend it for your purposes only as a possible means of running your apps under 64 bit windows until you are ready to implement in a more modern Windows GUI environment.
Jock
-
WSdmetech
AskWoody Lounger
WSBlackSuri
AskWoody LoungerAugust 16, 2012 at 11:04 am #1345442WendellB wrote “Another option might be to try running the existing app in the WinXP compatibility mode on Windows 7.”
arth wrote “My problem is that the dBASE IV program will not work in Windows 7. I have tried some of the compatability settings but none alllow it to work. … Wendell, I think the compatablity box for XP will only work on Win7 Pro series and not on the Home versions.”
jockmullin wrote “I never programmed extensively in dBase IV, and got involved in xbase programming using Clipper (S’87 on), which is close to dBase IV.”
I have a genealogy program that I wrote in Clipper nearly 30 years ago, and it will only run on the 32 bit version of WIndows 7. To get it to run on my 64 bit machines, I use DOSBox. One thing I discovered is that DOSBox is a DOS emulator and only runs 16 bit MS-DOS programs and not 16 bit Windows Applications.
This article (“Run DOS programs in Windows 7“) explains how to modify the configuration file to get your program to run. I use a desktop shortcut linked to the “.conf” file.
The program is actually easier to use now on my 64 bit machines, since I was able to increase the size of the DOS box, which I was never able to do before beyond a limited size by using a 10×20 font size. Here is how to change the resolution settings:
– In the [sdl] section, change fullresolution=original to fullresolution=desktop
– Change windowresolution=original to windowresolution=1024×768 (or use 1280×1024 for a larger window; this keeps the DOS 4×3 aspect ratio)
– Change output=surface to output=opengl
– Scroll down to the [render] section and change aspect=false to aspect=true (maintains 4:3 aspect ratio, otherwise keep on false if you like the aspect ratio of your screen, mostly 16:9 or 16:10 nowadays)WScorvette
AskWoody Lounger-
artheim
AskWoody Plus
Viewing 11 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Perplexity CEO says its browser will track everything users do online
by
Alex5723
6 hours, 55 minutes ago -
Login issues with Windows Hello
by
CWBillow
7 hours, 40 minutes ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
9 hours, 53 minutes ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
19 hours, 12 minutes ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
19 hours, 18 minutes ago -
Google AI is now hallucinating idioms
by
Alex5723
19 hours, 50 minutes ago -
april update
by
69800
15 hours, 49 minutes ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
20 hours, 45 minutes ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
20 hours, 57 minutes ago -
WuMgr not loading?
by
LHiggins
21 hours, 33 minutes ago -
Word crashes when accessing Help
by
CWBillow
1 hour, 2 minutes ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
20 hours, 35 minutes ago -
Blank Inetpub folder
by
Susan Bradley
18 hours ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
1 day, 7 hours ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
17 hours, 32 minutes ago -
Wait command?
by
CWBillow
1 day ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
1 day, 13 hours ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
1 day, 20 hours ago -
Windows 10 finally gets fix
by
Susan Bradley
2 days, 5 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
2 days, 6 hours ago -
How to use Skype after May?
by
Joann
14 hours, 54 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
2 days, 1 hour ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
2 days, 19 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
2 days, 20 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
35 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
1 day, 1 hour ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
3 days, 7 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
3 days, 11 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
3 days, 11 hours ago -
Unable to eject external hard drives
by
Robertos42
1 day, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.