IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► KBDesktop Data...Paradox & Ob...Installation...   Print This     
  From the October 2015 Issue of Prestwood eMag
 
Paradox Installation, Setup, & BDE:
Install Paradox 9 on Windows 7, or even Vista!
 
Posted 10 years ago on 5/19/2008 and updated 1/29/2011
Take Away:

Instructions to install Paradox 9 for Windows on Vista.

KB101098



This KB post documents installing Paradox 9 for Windows on Vista. If you wish to install Paradox for DOS on Vista, go to our Paradox for DOS on Vista KB post. If you wish to install Paradox 10 or 11+, then go to our Can I Install Paradox 10/11 on Vista article.

 
January 2009 Update: Corel has released a patch for X4 owners specific to Vista issues. Refer to the followoing message board thread for more information:

January 2010 Update: Paradox 9, 10, and 11 seem to run much better in Windows 7 then in Vista. Paradox runs fine on XP and Windows 7, so just skip the faulty Vista OS. That's my bottom line official recommendation. Vista will probably turn out to be a bad OS much like many view Windows ME.

Step 1: Install Paradox

Paradox runs fine on XP and Windows 7, so just skip the faulty Vista OS.
--Mike Prestwood

The first step is to install Paradox 9 standard, developer edition, or WP Office 2000 Pro Edition. If you're installing WP Office Pro Edition, you can install the full suite or just Paradox (your choice).

Note: There are optional components you can also install (by default, they are not installed). Optional components include:

  • Paradox ODBC driver
  • Delphi Add-On Kit
  • SQL Links (Paradox to SQL servers such as MS SQL and Oracle)
  • Paradox Web Forms
  • more...explore the options especially if you're a Paradox developer.

Step 2: Configure Paradox Net Dir

The Paradox Net Dir is used by the Borland Database Engine (BDE) to control multi-user access to tables. The default Net Dir after installation is set to C:\ and because Windows Vista does not allow writing files to the root of your system drive, you have to move the Paradox Net Dir to a folder that does have rights. If you're running a multi-user application then choose a common folder for all users on your network. For a single user application, you can simply clear the Net Dir setting but I usually set mine to C:\Temp. If you have a second hard drive, you can move the Net Dir there so long as it's not a system drive (i.e. D:\).

To set the Net Dir:

1. Run the BDE Administrator which was installed when you installed Paradox. For example, if you installed the WPO 2000 Pro Edition, it's located in the Utilities group folder:

2. The Net Dir setting is on the Configuration tab under Configuration | Drivers | Native |  Paradox.

If you skip this step and attempt to start Paradox, you'll get the following error:

Network initialization failed.
Directory: C:\
File: C:\PDOXUSRS.NET
Cannot access network lock file.
Continue with network disabled?

Even if you select Yes, you get the following error and Paradox exits:

Could not initialize BDE.:
Network initialization failed.
Directory: C:\
File: C:\PDOXUSRS.NET

Step 3: Enable Paradox Help

Microsoft has shipped the Windows Help program since Windows 3.1 (the 32-bit version filename is WinHlp32.exe). Windows Help displays help files with a .hlp file name extension. Starting with Windows Vista and Windows Server 2008, Microsoft no longer includes Windows Help. Microsoft made this decision because they have deprecated Windows Help and want to discourage its use in favor of their new help system. However, Windows Help is still available for download. 

Paradox 9 (and all versions of Paradox including Paradox 10 and 11) still ship with a Windows Help file. If you're running Vista, you will get the following error:

Windows Help and Support
Why can't I get Help from this program?
 
The Help for this program was created in Windows Help format, 
which depends on a feature that is not included in Windows Vista. 
However, you can download a program that will allow you view Help 
created in the Windows Help format from the Microsoft website.
For more information, go to the Windows Help program (WinHlp32.exe) 
article on the Microsoft support website.

 winhlp32.exe download error

You might even get this error (for example, I received this error with the Paradox 10 Runtime):

Error
Help could not be started.

Paradox help error

Download WinHlp32.exe:

To resolve this error, install Windows Help.

Step 4: Defeat Vista's Application Virtualization

Application virtualization was introduced with Vista and creates application-specific copies of all shared resources. It separates the application configuration layer from the OS making deployment easier in some cases.

Application Virtualization Symptoms:

  • Change your working directory to the default samples folder. (If you're in WPO 2000's Paradox 9, that directory is located at C:\Program Files\Corel\Shared\samples.) Create a form in Paradox and save it to that folder. Now go out to Windows Explorer and try to find the file, you can't because it's been virtualized for the specific instance of Paradox running and exists only for that application.
  • One more example, create a form that exports a spreadsheet. In the Project Viewer, switch to the Custom View. You should see your spreadsheet in the Project View. Try to open the spreadsheet, you can't. Even though you can see it in the Project Viewer, application virtualization has made a copy of it specifically for Paradox. When the file is passed to Excel, Excel can't find it.

Solutions to defeat application virtualizaion:
If you want to make your application data available to multiple users of a single computer running Windows Vista, you can...

  1. Place the data in a sub-folder of the Public folder.  Vista does not virtualize this folder and it is available to all users on a PC. 
  2. You can also set the permissions on the files or folders you want to share to allow all users full permissions.
  3. Run Paradox as an Administrator (perhaps even deploy a manifest file).

By default, Paradox puts certain folders like the samples folder mixed in with the program files. You need to move those folders to a folder that is NOT virtualized such as your Public folder. If you don't, then you should at least be aware of what it does. Or, grant those folders full rights.

Step 5: BDE Registry Fix [Might Be Needed!]

Although I didn't have to do this fix on any of the 3 Vista computers I'm using, I've seen this registry edit on several different websites so I'm including it here for completeness. If anyone has concrete information about when and/or why this is needed let me know. Again, this fix was not needed on all three Vista installation I'm using. I do typically update the BDE to 5.2.0.2 but I think this is perhaps related to a user's role (i.e. domain usage or non-admins of a computer).

  1. Launch the Registry Editor - Start | Run and type regedit.
  2. Right click on the following registry entry and select Permission...
     
    Computer\HKEY_LOCAL_MACHINE\Software\Borland
     
  3. Select Users from the Group or usernames panel.
  4. In the Permission for Users panel,  select Full Control and click OK
  5. Click OK to exit.
  6. Exit Registry Editor.

BDE Registry Fix

Vista / Windows 7 and sendKeys

SendKeys is a Windows feature that Paradox, Access, VB Classic and other older development environments make available with a programming command. Starting with Vista, Microsoft has disabled SendKeys by default -- a security precaution against hackers. Also, many antivirus programs will enforce the disabling of SendKeys. So, to use SendKeys going forward, you have to disable UAC and make sure your antivirus program does not enforce the disabling of SendKeys.

sendKeys Tips:

  1. Use sendKeys as a last resort because sendKeys is and has never been super reliable. This is true not just for Paradox but also for other environments such as Access and VB Classic.  You almost always can find another way to accomplish the task.
  2. In place of {ENTER}, you can use a tilde ~.
  3. Use a False value for the optional wait parameter. Windows sometimes stops responding when the wait parameter is set to true (from the ObjectPAL help). The default is True so it is highly recommended to use False.
  4. You may want to try {delay 100} at the beginning of your string to tell ObjectPAL to delay a 10th of a second "between" keystrokes.
  5. If you are using Paradox 9, make sure you upgrade to SP3 or SP4. Sendkeys does not work on at least the initial developer edition.
  6. For Vista/Win7, disable UAC.

Here is a working example:

method pushButton(var eventInfo Event)
;sendKeys("%FOTCustomer{ENTER}")
sleep(50)
sendKeys("{delay 50}%FOTCustomer~", False)
sleep(50)
endMethod

I have found that the {delay 50} is required at least for Windows 7 64bit.

That's it!

This gets you past the first major issue with using Paradox 9 on Vista - installation. As I have time, I will update this article with work-arounds for any other issues I run across.

More Info

KB Post:  Can I install Paradox 10 or 11+ on Windows 7? Vista?
KB Post:  How to run Paradox for DOS on Vista
Article:  Install Paradox 9 on Windows 7 64bit

Linked Message Board Threads

 Paradox 5 not running in Vista in Paradox Setup, Vista, etc. MB Topic (2 replies)
 Paradox 9, Vista and mailto in Paradox Setup, Vista, etc. MB Topic (1 replies)

Comments

1 Comments.
Share a thought or comment...
First Comment
Comment 1 of 13

Well Played.

mOM

Posted 10 years ago

Comment 2 of 13

Has anyone gotten the following dialogue when opening Paradox 9 in Vista?

"An attempt was made to access an unmanned file past its end."

After clicking Ok, the program starts and runs in a fairly stable manner.  When I tried installing higher versions of Paradox in Vista (like the one from the X3 package), the same message comes up and blocks the program from running at all.

John Malcolmson, Burnaby, BC

Posted 10 years ago

Comment 3 of 13

you must delete the toolbar files.. see details on Bertil's web site..

http://hem.bredband.net/bertilisberg/paradox/errdocs2/eid230.htm

Posted 10 years ago

Comment 4 of 13

I recently installed Paradox 9 in Vista on my HP notebook (3GB RAM, 320GB HD), following your excellent and useful installation tips (except for Step 4, which I did not fully understand, but which didn't look like it applied to me, since I've set my Working Directory to my own file locations). However, when I run the program, although it at first seems to behave perfectly, within a few minutes of working on it, Windows gives me the message: "Paradox for Windows Desktop has stopped working - A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available".

Has anyone else run into this problem? Any ideas? I'm stumped.

Posted 9 years ago

Comment 5 of 13

Boy, I sure hope my comment isn't a waste of time. Yes, using Vista, I do run into this from time to time with many applications including Paradox. However, it never really sticks around. It usually happens after I've run my computer for several days without a reboot. Does it always happen? If you reboot does it stop for a longer period of time?

By the way, my setup is pretty close to yours (HP, 2 160GB HD, 3GB RAM) but I do have Vista Ultimate installed. That part probably doesn't matter though. Paradox 9 is stable on my computer.

Give me some more feedback and we'll go from there.

Posted 9 years ago

Comment 6 of 13

Thanks for your feedback Mike.

Yes, regardless of how often I reboot, Paradox 9 consistently crashes within a couple of minutes of working on it. I'm running Vista Home Premium SP1. Maybe I need to upgrade to Ultimate.

On my desktop, initially XP Home, and now XP Pro, for years I've had basically no problems except some very occasional GPF type crash.

Posted 9 years ago

Comment 7 of 13

I really don't think upgrading to Ultimate will help. I would save your money and wait for Windows 7 and spend it on that. Windows 7 looks like it will be more compatible with older software than Vista.

As for your current issue, looks like Corl has a patch!!!! Here's a link to the thread in our message boards...

Posted 9 years ago

Comment 8 of 13

Paradox was running on and off on my vista. Suddenly, it never works with the below error message..anyone has the soulution ? �

I was using Paradox 9. And yes I relocated .NET file to different location.

Problem Event Name: APPCRASH
Application Name: pdxwin32.exe
Application Version: 9.0.368.0
Application Timestamp: 3728d7bf
Fault Module Name: MFC42.DLL
Fault Module Version: 6.6.8063.0
Fault Module Timestamp: 4549bd07
Exception Code: c0000005
Exception Offset: 0001c837
OS Version: 6.0.6000.2.0.0.768.3
Locale ID: 1033
Additional Information 1: 1a2c
Additional Information 2: 709c0c36a787e15c687b7a6dc730f57b
Additional Information 3: 6ffb
Additional Information 4: 85f337bb9a5932439d78dfbbb575821f

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

Posted 9 years ago

Comment 9 of 13

I've got a problem with odbc on vista.  (same config on XP The Paradox 9 db files themselves are on an XP pc.  The vista PC has a network share z: pointing to the location with the db on the XP pc.    On the vista pc I can open z: and double click on the .db files back on the xp pc and all works OK.  Yea.  (That was after following the steps in this guide.  THanks.  Also tried the regedt.)

odbc configured like my old dead xp box: intersolv 3.11 with a name and location z: pointing to the network share with the tables.  The applications are all vba in excel 2003, same excel / same apps I had on the XP box.  Nothing opens, nothing works.  Any ideas?

Posted 9 years ago

Comment 10 of 13

Yea.  I fixed the odbc on Vista problem.  For anyone else facing the same issue, turning OFF Vista's user account permission checking did the trick.  It is working fine now.

Posted 9 years ago

Comment 11 of 13

Hi Walt,

i wonder if granting full rights to Everyone for just the files involved would allow you to turn UAC back on?

Posted 9 years ago

Comment 12 of 13

I was able to install Paradox 9 on a Compaq laptop with Vista.  At this point I have only set the compatibility to XP.  Everything seems to be working properly (all files open, scripts working, queries working) but if I try to use the Project viewer (which I prefer) the  entire program freezes.  I can click around the left hand menu (tables, scripts, etc...) but once I click on any of the icons on the right hand table the entire program freezes - i get a "program not responding" and have to control/alt/delete to get out.  Any clues as to why this is happening?   Thanks in advance for your help!

Posted 9 years ago

Latest Comment
Comment 13 of 13

I have an application written in Delphi 5  with Paradox (ver 5.01) database connectivity, when I install (I am using installer 2008 for setup creation)  this application in Windows 7 with “Admin” user and executed it runs fine, data are saved and retrieved perfectly.

1.       I install this application for “All user”

2.       “Net DIR”  is assigned as  “D:\MyDB” (this directory have all rights for every one)

3.       In Registry SOFTWARE -- > Borland àright click-à permission as “Full control” for user and Administrator is set.

4.       Application executable,OCX and DLL are in c:\program files\MyAPP folder

5.       All paradox tables are in c:\programdata\DB folder ( has full rights for every one)

6.       DBE Admin is configured for above data path.

When I login as “USER”  and run the application (first it ask login name and password) at verification stag  it do not get connected with paradox DB, and run some installation activities for paradox DB. Not completed. I have close application forcefully.

Now please tell me what I am missing

---
Sudhir Vyas
Posted 6 years ago
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1223A1
Enter key:
KB Post Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #101098 Counter
79610
Since 5/19/2008
-
   Contact Us!
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com




©1995-2018 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech