Q: How to use dBASE in Vista WITH OR WITHOUT the use of manifest files?
A: Generally, setting the requested execution level to 'run as Administrator' will allow existing dBASE, dQuery and BDE Admin executables to run properly. dBASE Plus 2.61.4 installers now include the vista manifest files automatically so, you should not have to do anything after installing dBASE Plus version 2.61.4 to make it run in Vista. For all versions of dBASE Plus 2.61 (before 2.61.4) you should follow the instructions below.
There are two ways this can be done :
1 - Using
the Manifest file's 'requestedExecutionLevel' setting.
Both dBASE Plus and dQuery can be run successfullly on Vista by installing the
application manifest file that contains the appropriate requestedExecutionLevel
setting. The BDE Administrator must also have a manifest file installed for
it to run on Vista.
Instructions ...
All Manifest files must be installed in the same folder as the executable it is intended for.
The 'Administrator
rights' manifest files for dBASE can be found here :
http://www.dbase.com/Manifests/ManifestAdminRights.zip
Save the bdeadmin.exe.manifest file in the same
folder as the bdeadmin.exe file
(Default folder is C:\Program Files\Common Files\Borland\BDE)
Save the plus.exe.manifest file in the same folder
as the plus.exe file |
(Default folder is C:\Program Files\dBASE\PLUS\BIN)
Save the plusrun.exe.manifest file in the same
folder as the plusrun.exe file
(Default folder is C:\Program Files\dBASE\PLUS\Runtime)
NOTE:
I t is recommended that you re-boot your computer after adding the manifest
files
Also, when you install dBASE
Plus (from dBASE Plus version 2.60 ... up to 2.61.3) a Manifest file is automatically
installed under the bin folder. This Manifest file has the settings to allow
the use of the Version 6 common controls in Windows XP. If you already have
this file make sure you delete it before installing the replacement Manifest
file.
------------------------------------------------------------------------------------------------------
Example: If you'd like to take a look,
This is what the Vista Manifest file for Plus.exe looks like.
(Note: the section in blue has the
'requiredExecutionLevel' setting required for Vista)
--------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="PLUS.EXE"
type="win32"
/>
<description>PLUS.EXE Manifest</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireadministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
------------------------------------------------------------------------------------------------------
2 - Using
the .exe's 'Privelege Level' setting.
Instructions ...
Right click plus.exe (Default folder is C:\Program
Files\dBASE\PLUS\BIN)
- Choose 'Properties'
- under the 'Compatibility' tab .. 'Privilege Level' setting
- click on the checkbox next to 'Run this program as an administrator' to turn
it on.
Right click bdeadmin.exe (Default folder is
C:\Program Files\Common Files\Borland\BDE)
(follow instructions for plus.exe)
Right click plusrun.exe (Default folder is C:\Program
Files\dBASE\PLUS\Runtime)
(follow instructions for plus.exe)
==============================================================
After setting the properties or adding
these manifest files, when you run dBASE Plus, you will now get a UAC (User
Access Control) dialog asking you to continue running the application as an
administrator. If you are logged into the OS under an account that does not
have Administrator privileges you will be asked to provide an Administrator
password to continue opening the application.