Solved

Can't find installable ISAM

Posted on 2004-08-30
5
193 Views
Last Modified: 2013-12-25
Here's my code:

Option Explicit
Dim ws As Workspace
Dim dbCurrent As Database
Dim rsCurrent As Recordset


Private Sub Command1_Click()
    Dim tmpTable As TableDef
    Dim Fld As Field
    Dim i As Integer
   

    Set dbCurrent = ws.CreateDatabase(App.Path & "\temp.mdb", dbOpenDynaset)


when it gets to this last line, it gives me an error saying "Can't find installable ISAM," which is strange because I was able to run similar code yesterday.
0
Comment
Question by:DrDamnit
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 11939152
You can try:

Dim catCatalog As New ADOX.Catalog, tblTable As ADOX.Table, colColumn As ADOX.Column

catCatalog.Create "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " & Database

set tblTable = New ADOX.Table
tblTable.Name = "MyTable"

set colColumn = new ADOX.Column
colColumn.Name = "ColumnName"  '**
colColumn.Type = adVarWChar    '**
colColumn.DefinedSize = 50     '**
colColumn.Attributes = adColNullable  '**  - this still does not set Allow Zero Length Attribute to Zero (it only sets Required to False)

tblTable.Columns.Append colColumn   '**

'** repeat the code to add as many columns needed.

'for columns like datetime you don't need DefinedSize

catCatalog.Tables.Append tblTable

set tblTable = nothing: set colColumn = nothing: set catCatalog = nothing

0
 
LVL 53

Expert Comment

by:Dhaest
ID: 11939186
http://support.microsoft.com/support/kb/articles/Q155/6/66.asp


The DLL for an installable ISAM file could not be found. This file is required for linking external tables
(other than ODBC or Microsoft Jet database tables). The locations for all ISAM drivers are maintained in the
Windows Registry. These entries are created automatically when you install your application. If you change
the location of these drivers, you need to correct your application Setup program to reflect this change and
make the correct entries in the Registry.

Possible causes:

An entry in the Registry is not valid. For example, this error occurs if you're using a Paradox external
database and the Paradox entry points to a nonexistent directory or driver. Exit the application, correct the
Windows Registry, and try the operation again.


One of the entries in the Registry points to a network drive and that network is not connected. Make sure
the network is available, and then try the operation again.
0
 
LVL 8

Accepted Solution

by:
plq earned 500 total points
ID: 11942797
dbOpenDynaset applies to the openrecordset method, not to createdatabase
0
 
LVL 32

Author Comment

by:DrDamnit
ID: 11949789
My, how sometimes the obvious eludes us....
0
 
LVL 8

Expert Comment

by:plq
ID: 11949841
I know the feeling. Thanks for the points.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Opening Remote & Local Data Connection 2 51
VB 6.0 printer how to align 6 58
VBA filters 2 51
Notepad++ how to remove delimiter : from beggning of the line? 3 94
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now