Normal
ok answered my own question, now im not so tired and not distracted by the FA cup here is the connection string i used which is working great Dim SQLConnect As New SQLite.SQLiteConnection Dim sqlcommand As SQLiteCommand SQLConnect.ConnectionString = "Data Source=""C:\ProgramData\Team MediaPortal\MediaPortal\database\MusicDatabaseV11.db3"";" SQLConnect.Open() sqlcommand = SQLConnect.CreateCommand SQLcommand.CommandText = "CREATE TABLE foo(id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT, description TEXT, image BLOB);" sqlcommand.ExecuteNonQuery() sqlcommand.Dispose() SQLConnect.Close()
ok answered my own question, now im not so tired and not distracted by the FA cup here is the connection string i used which is working great
Dim SQLConnect As New SQLite.SQLiteConnection
Dim sqlcommand As SQLiteCommand
SQLConnect.ConnectionString = "Data Source=""C:\ProgramData\Team MediaPortal\MediaPortal\database\MusicDatabaseV11.db3"";"
SQLConnect.Open()
sqlcommand = SQLConnect.CreateCommand
SQLcommand.CommandText = "CREATE TABLE foo(id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT, description TEXT, image BLOB);"
sqlcommand.ExecuteNonQuery()
sqlcommand.Dispose()
SQLConnect.Close()