LaunchDocument()

Summary

Open a document, executable, or URL with the appropriate program.

Syntax

LaunchDocument(string doc, array options)

Argument Contents
doc The name of the document, executable, or URL

No options are currently supported.

Notes

  • Uses Windows to determine the program to use to launch the document.

Example

doc = "http://www.caliper.com"
on error do
ResetCursor()
ShowMessage("Could not link to " + doc)
Return()
end
SetCursor("HourGlass")
LaunchDocument(doc, )
ResetCursor()
on error default

Error Codes

Error Type Meaning
Error LaunchDocument() could not locate the document, or otherwise failed to launch it

See Also

Function Summary
LaunchProgram() Starts a Windows program
CallDllFunction() Calls a function in a Dynamic Link Library (DLL)