Click or drag to resize

IDocumentapplication Property

Application used for editing this document. Not used. You may start other applications from CRM 5, and create documents with these other applications. For a document created in an external application, this property returns a reference to the application needed to open the document

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
IListTextItem application { get; set; }

Property Value

Type: IListTextItem
IListTextItem – a reference to the IListTextObject
Examples

Application

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

If this returns null, there are no external applications in use, registry has information on how to fire this document in the correct application

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "Current document application: " & objSO.Currentdocument.application.text, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also