IProjectDelete Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Delete
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then result = MsgBox ("This will delete your current project, are you sure?", vbInformation + vbYesNo, "SuperCOM") if result = vbYes then objSO.CurrentProject.Delete else msgbox �The project was not deleted?�, vbInformation + vbOkOnly, �SuperCOM� end if else MsgBox "Unable to connect to database" end if Set objSO = Nothing