Error 32504 "File not Found" 
Author Message
 Error 32504 "File not Found"

Re: Error 32504 "File not Found"

I've got a vb4.0 app in which I'm using a data control on a form to
access a dbf file.  Any of the computers that have VB4 installed on
them, the app runs fine.  On some other computers the app crashes with
the 32504 error.  I have error trapping in the load event, but the load
event doesn't get fired before this error occurs.  Occasionally the form
will manage to come up on the screen, (leaving several instances of the
application running) but the datafile has not been accessed.  The
controls that are databound still have there names listed instead of the
data from the dbf file.

I've used the Setup Wizard and Wise install both.  These have added so
many files, hard to imagine what's left.  I've updated the ODBCINST.INI
and ODBC.INI for the dbf drivers.  I've confirmed that the files listed
in the INI file exist.

I've searched the VB help and Microsoft knowledge base.  Help stated
that we needed to run the setup in the ODBC32 directory.  There is no
ODBC32 directory installed, nor on the Enterprise CD.

The DLL's and OCX are set to self-register in the install.

Does anyone have any idea what I can do next?  We need this app running
two weeks ago.

Tim
------



Mon, 12 Jul 1999 03:00:00 GMT  
 Error 32504 "File not Found"

Quote:

>Re: Error 32504 "File not Found"

>I've got a vb4.0 app in which I'm using a data control on a form to
>access a dbf file.  Any of the computers that have VB4 installed on
>them, the app runs fine.  On some other computers the app crashes with
>the 32504 error.  I have error trapping in the load event, but the load
>event doesn't get fired before this error occurs.  Occasionally the form
>will manage to come up on the screen, (leaving several instances of the
>application running) but the datafile has not been accessed.  The
>controls that are databound still have there names listed instead of the
>data from the dbf file.

In VB3 (which I've stayed with for now....) got similar results when I
put a value in the DatabaseName property of the Data control at design
time.  I leave this blank, and set the value at runtime when I load up
the form.  As long as you have a good way of knowing the full path for
the database and its name (from an ini file or from some default you
use) this should be all you need.

The bound controls will display your default design-time text until
you successfully bind to a data file and open a record to replace
these values.  I sometimes code to blank these fields at runtime as
well, in any instances where the form may be opened on a database
prior to inserting any records that match the dataset properties....
saves the oddball text names being inflicted on a user.

Regards



Fri, 16 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ODBC error - "file not found" Help

2. Strange "File not found" error

3. "File not found" error

4. "File Not Found" Error

5. HTTP Put "File Not Found" error

6. Error "File not found" with subreport

7. Error: "File Not Found"

8. Strange "File not found" error

9. "file not found" error

10. ODBC error - "File not found" - Help

11. Calling a DLL gives "File Not Found", but File Exists

12. "Module not found" error

 

 
Powered by phpBB® Forum Software