[Gambas-user] Rename a file in filesystem
Benoit Minisini
gambas at ...1...
Tue Jan 22 23:46:50 CET 2008
On mardi 22 janvier 2008, Paolo Fagni wrote:
> Hello,
>
> I'm trying to simply rename a sqlite database file from "namedb" to
> "name.db" . I have to do this because it seems like I cannot create
> directly "name.db", The following code
>
> tmpDB = "name.db"
>
> dbConnection.Host = tmpPath
> dbConnection.Type = "sqlite3"
>
> dbConnection.Open()
>
> IF NOT dbConnection.Databases.Exist(tmpDB) THEN
> dbConnection.Databases.Add(tmpDB)
> ENDIF
>
> Doesn't work.
More precisely?
--
Benoit Minisini
More information about the User
mailing list