open local database question

Joseph Morgan joseph at checkos.com
Sat Sep 28 23:53:15 CDT 2013


Hello,

I can get a local VDatabase opened and usable using the following code:

Valentina.Init( 10 * 1024 * 1024  )
dim f as FolderItem
f = GetFolderItem( mVDatabaseName )
mDatabase = new VDatabase()
mDatabase.Open( f )

BUT, only if the database file is in the same folder as the application. Is this there a way to open databases that are stored in a different folder than the application?

Thank you!
Joseph


More information about the Valentina mailing list