I tried several different sqlite.dlls now it works Thanks
kp2011 wrote: > > 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-tp31544682p31545950.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