Now I understand better , I need the ado net for vs2008
I have a version but it does not find my table (thats the only error so far)

this is what I have 
System.Data.SQLite.dll 1.0.66.0
883 KB (904,704 bytes)
modified ‎Sunday, ‎April ‎18, ‎2010, ‏‎1:58:58 PM
‎Original filename SQLite3.DLL 3.6.23.1


and the GetSchema(SQLiteMetaDataCollectionNames.Tables) comes back with
"table" as the table name
which is not correct

Does anybody body what I need for sqlite for vs2008?

Thanks 
Ken


Joe Mokos wrote:
> 
> Is it possible you're trying to load a 64 bit .dll with a 32 bit .exe?  Or
> visa versa.
> 
> Joe Mokos
> Sr. Software Engineer
> OPNET Technologies, Inc.
> jmo...@opnet.com
> (603) 598-2582  x377
> 
> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of kp2011
> Sent: Wednesday, May 04, 2011 3:18 PM
> To: sqlite-users@sqlite.org
> Subject: [sqlite] new to sqlite rec'd BadImageFormatException error
> 
> 
> this is the vb net code I was running
> 
> Dim f As New OpenFileDialog
>             f.Filter = "SQLite 3 (*.db)|*.db|All Files|*.*"
>             If f.ShowDialog() = DialogResult.OK Then
>                 Dim SQLconnect As New SQLite.SQLiteConnection()
>                 Dim SQLcommand As SQLite.SQLiteCommand
>                 SQLconnect.ConnectionString = "Data Source=" & f.FileName
> &
> ";"
>                 SQLconnect.Open()     this line produces the error
> 
> this is the error 
> An attempt was made to load a program with an incorrect format. (Exception
> from HRESULT: 0x8007000B)
> BadImageFormatException was unhandled 
> 
> do you know what did I do wrong?
> Ken
> -- 
> View this message in context:
> http://old.nabble.com/new-to-sqlite-rec%27d-BadImageFormatException-error-tp
> 31544682p31544682.html
> Sent from the SQLite mailing list archive at Nabble.com.
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/new-to-sqlite-rec%27d-BadImageFormatException-error-tp31544682p31551696.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to