Page 1 of 1

Create new database

Posted: Sun 22 Mar 2009 13:52
by cak
Hi,
in the documentation there is a method CreateFile which should create a new database. But VB say, there is no such method. Even if I call it via Devart.Data.SQLite.CreateFile VB doesn't find ist.
How can I call this method?
(other things like queries are working)

Regrads,
Christian

Posted: Mon 23 Mar 2009 12:20
by Shalex
Try calling the CreateFile method like this:

Code: Select all

Devart.Data.SQLite.SQLiteConnection.CreateFile("dbFile.db")
This is a static method of the SQLiteConnection class.