XML Loaddump

Deane Venske deane.venske at eduss.com
Mon Mar 8 10:19:28 CST 2004


Hi everyone,

I'm busy trying to load an XML dump file. I keep getting an error 19. The 
docs say thats a windows error but can't find any info on that.
I can load this XML file fine using VStudio, so I'm thinking there is a 
problem in my code. But I can't figure it out. Can anyone see any problems 
here?


Sub Action()
   Dim sqlFile As FolderItem
   Dim backupDb As VDataBase
   Dim f As FolderItem

   sqlFile = GetFolderItem("tempBackup.xml")
   backupDb = new VDataBase
   f = GetFolderItem(edtBackupPath.Text)
   backupDb.LoadDump(sqlFile, f, 2)
   msgbox cStr(backupDb.ErrNumber)
   backupDb.Close
End Sub


-- 
Deane Venske - Senior Programmer
www.eduss.com.au   deane.venske at eduss.com
+61 7 55974600  +61 405148718
Suite 29,  207 Currumburra Rd
Ashmore, Queensland, 4214
Australia


More information about the Valentina mailing list