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
SyntaxIListTextItem application { get; set; }
Property application As IListTextItem
Get
Set
Dim instance As IDocument
Dim value As IListTextItem
value = instance.application
instance.application = value
property IListTextItem^ application {
IListTextItem^ get ();
void set (IListTextItem^ value);
}
Property Value
Type:
IListTextItemIListTextItem – a reference to the IListTextObject
ExamplesApplication
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
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