OpenDocuments.CheckoutDocumentPrompt Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Checks out a document from a library.

expression.CheckoutDocumentPrompt(bstrDocumentLocationRaw As String, fEditAfterCheckout As Boolean, varProgID)



An expression that returns an OpenDocuments Control object.


A string that contains the URL of the document to check out.


true to open the document in an editing application; otherwise, false.


An optional string that contains the ProgID of the application that is used to work with the document. If this argument is omitted, the default application for the document is used.

Return Value

true if the document is successfully checked out; otherwise, false.