IDatabaseImport Method |
The *.dsc file has information regarding the file mapping and what file should be imported (and where is it located).
There are 1 import description and 1 import text file available under \Examples\Import. Copy this to C:\Imp, and the example code will perform a successful import.
Namespace: SuperOffice.COM.SuperOfficeDB
Import data
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objdb set objdb = CreateObject("superofficedb.database") If Not (objDB is Nothing) Then objdb.login "<username>", "<password>" if (objdb.import("c:\imp\projmemb.dsc"))=true then msgbox "import successful", vbinformation + vbokonly, "supercom" end if else msgbox "unable to connect to database" end if set objso = nothing