If you call a DLL from a macro, and the DLL isn't registered properly, you will observe a run-time error. You should set up error handling procedures to avoid this. Here is a VBScript example:
' SoftQuad Script Language VBSCRIPT: On Error Resume Next dim dlogSet set dlogSet = CreateObject("SQCustom.DlogSet") if Err.Number <> 0 Then Application.Alert ("Can't create SQCustom Object") Else dlogSet.showElementDlog End If set dlogSet = Nothing
Copyright © SoftQuad Software Inc. 1999