Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Outlook style Calendar object? Pin
Tom Deketelaere23-Jul-07 4:51
professionalTom Deketelaere23-Jul-07 4:51 
GeneralRe: Outlook style Calendar object? Pin
Tom Wright23-Jul-07 4:53
Tom Wright23-Jul-07 4:53 
GeneralRe: Outlook style Calendar object? Pin
Tom Deketelaere23-Jul-07 4:58
professionalTom Deketelaere23-Jul-07 4:58 
GeneralRe: Outlook style Calendar object? Pin
Tom Wright23-Jul-07 5:00
Tom Wright23-Jul-07 5:00 
QuestionWinspool.drv - set advanced printer properties Pin
dBrong23-Jul-07 4:20
dBrong23-Jul-07 4:20 
AnswerRe: Winspool.drv - set advanced printer properties Pin
Dave Kreskowiak23-Jul-07 4:33
mveDave Kreskowiak23-Jul-07 4:33 
GeneralRe: Winspool.drv - set advanced printer properties Pin
dBrong23-Jul-07 8:09
dBrong23-Jul-07 8:09 
Questionread paradox file(.DB) Pin
jds120723-Jul-07 3:26
jds120723-Jul-07 3:26 
I am writing an application in vb.net 2005 to read, update, and insert data to paradox database file(.db). When I try to connect I get this error: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Here is my code:

Dim connectionstring As String = "Driver={Microsoft Paradox Driver(*.db )};DriverID=538;Fil=Paradox 5.X;DefaultDir=C:\Data Feeds\;Dbq=C:\Data Feeds\;CollatingSequence=ASCII"<br />
<br />
        Dim querystring As String = "SELECT * FROM PriceBooks.DB"<br />
        Dim tableName As String = "PriceBooks.DB"<br />
<br />
        Dim dataSet As DataSet = New DataSet<br />
<br />
        Using connection As New Odbc.OdbcConnection(connectionstring)<br />
            Dim adapter As New OdbcDataAdapter()<br />
            adapter.SelectCommand = New OdbcCommand(querystring, connection)<br />
            Dim builder As OdbcCommandBuilder = New OdbcCommandBuilder(adapter)<br />
<br />
<br />
            connection.Open()<br />
            adapter.Fill(dataSet, tableName)<br />
<br />
            adapter.Update(dataSet, tableName)<br />
            Me.DataGridView1.DataSource = dataSet<br />
            Me.DataGridView1.DataMember = "PriceBooks.DB"<br />
        End Using


Any ideas on what the problem might be?


jds1207
AnswerRe: read paradox file(.DB) Pin
Dave Kreskowiak23-Jul-07 4:38
mveDave Kreskowiak23-Jul-07 4:38 
GeneralRe: read paradox file(.DB) Pin
jds120723-Jul-07 4:55
jds120723-Jul-07 4:55 
GeneralRe: read paradox file(.DB) Pin
Dave Kreskowiak23-Jul-07 5:56
mveDave Kreskowiak23-Jul-07 5:56 
QuestionAdding drop shadows to controls Pin
Ahmad Zaidi23-Jul-07 0:58
Ahmad Zaidi23-Jul-07 0:58 
AnswerRe: Adding drop shadows to controls Pin
Tom Deketelaere23-Jul-07 1:32
professionalTom Deketelaere23-Jul-07 1:32 
Questionsql query Pin
Sonia Gupta22-Jul-07 23:52
Sonia Gupta22-Jul-07 23:52 
GeneralRe: sql query Pin
mehul.pandya23-Jul-07 1:08
mehul.pandya23-Jul-07 1:08 
GeneralRe: sql query Pin
originSH23-Jul-07 1:16
originSH23-Jul-07 1:16 
AnswerRe: sql query Pin
andyharman23-Jul-07 1:26
professionalandyharman23-Jul-07 1:26 
GeneralRe: sql query Pin
GuyThiebaut23-Jul-07 2:24
professionalGuyThiebaut23-Jul-07 2:24 
QuestionRe: sql query Pin
andyharman23-Jul-07 5:52
professionalandyharman23-Jul-07 5:52 
AnswerRe: sql query Pin
GuyThiebaut23-Jul-07 22:55
professionalGuyThiebaut23-Jul-07 22:55 
Questiontext file to html Pin
Sebastian T Xavier22-Jul-07 23:22
Sebastian T Xavier22-Jul-07 23:22 
AnswerRe: text file to html Pin
Tom Deketelaere22-Jul-07 23:29
professionalTom Deketelaere22-Jul-07 23:29 
GeneralRe: text file to html Pin
Sebastian T Xavier23-Jul-07 0:14
Sebastian T Xavier23-Jul-07 0:14 
Questionusername and password Pin
saraswathy14322-Jul-07 23:16
saraswathy14322-Jul-07 23:16 
AnswerRe: username and password [modified] Pin
Tom Deketelaere22-Jul-07 23:25
professionalTom Deketelaere22-Jul-07 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.