open local database question
Beatrix Willius
bwillius at gmx.de
Sun Sep 29 00:04:47 CDT 2013
Hi Josef,
exchange the
> f = GetFolderItem( mVDatabaseName )
for an OpenDialog:
dim theDialog as new OpenDialog
theDialog.Title = "Please select an Archive to browse..."
theDialog.PromptText = "Only Archives with the ending "".vdb"" can be opened!"
theDialog.Filter = FileTypes.DB
dim theFolderitem as FolderItem = theDialog.showModal
On 29.09.2013, at 06:53, Joseph Morgan <joseph at checkos.com> wrote:
> 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?
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
More information about the Valentina
mailing list