Board index » delphi » BDE Invalid File name error on Windows NT (4.0)

BDE Invalid File name error on Windows NT (4.0)

Hi,

I have developed  a program that uses Paradox tables, and works fine on
Win 95.

However, if my program runs on a Win NT machine they get a BDE error
"DBIERR_INVALIDFILENAME"
whenever the first table is opened.
To make matters worse: if they install the program (using InstallShield)
and start the program from within the install
(checking the box 'start program"), everything is fine, untill they quit
the program and restart it again: the above error.

If have tried:
* create an alias from within the program: alias looks OK, but still
error
* create the alias with the BDEAdministrator
* fill DatabaseName and TableName in Object Inspector
* fill DatabaseName and TableName within program
* fill DatabaseName with path with and without '\' at the end
but always the same error ! (whilst all these things work fine on my
Win95 PC)

Any help ???

Wouter

 

Re:BDE Invalid File name error on Windows NT (4.0)


Quote
>I have developed  a program that uses Paradox tables, and works fine on
>Win 95.
>However, if my program runs on a Win NT machine they get a BDE error
>"DBIERR_INVALIDFILENAME"
>whenever the first table is opened.
>To make matters worse: if they install the program (using InstallShield)
>and start the program from within the install
>(checking the box 'start program"), everything is fine, untill they quit
>the program and restart it again: the above error.

What is the table name?  
What is the full path of the directory where it is installed.
Does the table have any Table lookups defined in its .VAL file?

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Re:BDE Invalid File name error on Windows NT (4.0)


Quote
Brian Bushay TeamB wrote:

> What is the table name?
> What is the full path of the directory where it is installed.
> Does the table have any Table lookups defined in its .VAL file?

> --
> Brian Bushay (TeamB)
> Bbus...@DataGuidance.com

Table name (it is dutch): Deelnemers.DB
Full path name: depends on the place where the program is installed.
I use the structure:
 - InstallDir\program.exe
             \data\tables

and use:

          strPath := ExtractFilePath(ParamStr(0));
          if strPath[Length(strPath)] <> '\' then
            strPath := strPath + '\';

          DataDir := strPath + 'data\';

The proposed install dir is:
  "C:\Program Files\Wototo Software\WK Toto '98\"
(it it the ' in the name that causes problems in NT ?)

There are no Table lookups defined.

Thanx for reply,
Wouter

Re:BDE Invalid File name error on Windows NT (4.0)


Quote
>The proposed install dir is:
>  "C:\Program Files\Wototo Software\WK Toto '98\"
>(it it the ' in the name that causes problems in NT ?)

This falls under the "If it hurts don't do it" rule

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Other Threads