Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Installable ISAM Errors

Question:
I am trying to write an application which will provide the ability to dynamically add or update tables in an Access .MDB database. Everything in the application runs when I do a RUN...START (F5). If my database doesn't exist, a new one is added using the CREATEDATABASE function. I am then able to allocate and populate a new table. When I run the program from the generated executable file, I receive an error code of 3170 at the step when the database would be created. According to VB Messages, 3170 means that VB couldn't find an installable ISAM, indicating that a .DLL referred to in the [Installable ISAM] section of the .INI file could not be found. I looked at the [Installable ISAM] section of the VB.INI file and found no files that were not located at the specified path.

Do you have any ideas on this? Why would it work correctly while running in VB and not as an executable?

Answer:
You need to create a .INI file with the same name as your application, when it is running as an executable. Take the [Installable ISAM] section from the VB .INI file and copy it into the .INI file for your application. That should take care of the problem.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date