Couldn´t find installable ISAM

Posted on 2010-09-23
Last Modified: 2012-05-10
I installed Visual Studio 2008 and Microsoft Office 2007, but i´m still receiving this error while running my application after the migration to my new CPU with Windows 7.
Question by:Jose Bredariol
LVL 53

Expert Comment

ID: 33742717
Can you show where you get the error ? What connectionstring are you using ?

Author Comment

by:Jose Bredariol
ID: 33742745
 Data1.DatabaseName = "x:\xxxxx\Dbxxx.mdb"
  Data1.RecordSource = "Select * from partners order by IDcode"
LVL 53

Expert Comment

ID: 33742795
What control are you using ?
I assume that you are not using the  !

you can connect excel file using OLED and read the data , then u can able to display it.

take a look at the following url.

also u can read the data in usual way .

Heres some code I use to connect to an excel data range  :-

Using m_connexcel As OleDbConnection = New OleDbConnection(String.Format("Provider=Microsoft.Jet.OLEDB.4.0;" & _
         "Data Source={0};" & _
         "Extended Properties=""Excel 8.0;HDR=NO""", SPREADSHEET_NAME))
   Using cmd As OleDbCommand = New OleDbCommand(String.Format("SELECT  * FROM [{0}]", DATARANGE), m_connexcel)
    Using oRDR As OleDbDataReader = cmd.ExecuteReader
       While (oRDR.Read) 
          If Not oRDR.IsDBNull(oRDR.GetOrdinal("F1")) Then
          End If      
        End While
     End Using
   End Using
End Using

Set 'HDR' in the connection string to 'YES' if you want to use the first row as the field names, otherwise the fields will be calledF1, F2, F3 etc... 

Open in new window

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.


Author Comment

by:Jose Bredariol
ID: 33742822
I´m not using excel, It´s Access file.
LVL 19

Assisted Solution

MINDSUPERB earned 83 total points
ID: 33742823

You might be interested to check this link.


LVL 53

Assisted Solution

Dhaest earned 83 total points
ID: 33742842
>> I´m not using excel, It´s Access file.

almost the same as provided for excel

Code for retrieving records 

Imports System.Data.OleDb
Public Class Form1 Inherits System.Windows.Forms.Form
Dim cn As OleDbConnection
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e as _
System.EventArgs) Handles MyBase.Load
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As_
System.EventArgs) Handles Button1.Click
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;_
Data Source=C:\emp.mdb;")
'provider to be used when working with access database
cmd = New OleDbCommand("select * from table1", cn)
dr = cmd.ExecuteReader
While dr.Read()
TextBox1.Text = dr(0)
TextBox2.Text = dr(1)
TextBox3.Text = dr(2)
' loading data into TextBoxes by column index
End While
End Try
End Sub
End Class  

Open in new window

LVL 70

Accepted Solution

Éric Moreau earned 84 total points
ID: 33743141
have you installed Windows 7 64-bits?
If this is the case, your VS2008 solution needs to target the x86 platform.

Author Comment

by:Jose Bredariol
ID: 33743211
No my windows 7 is 32 bits.

Author Comment

by:Jose Bredariol
ID: 33792177
I solve the probelm installing SP6. Thanks all

Author Closing Comment

by:Jose Bredariol
ID: 33792192
Thanks all

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 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