FullName Property

Returns the full name, including the location, of either the Application object or the Report object.

Syntax

object.FullName

Applies To

Application Object

Report Object

Discussion

The FullName property of the Application object cannot be modified while the one for a Report object can. To modify the FullName property for a report, use the SaveAs method.

Type

String

Access

Read

Example

This example creates an instance of IBM Cognos PowerPlay and shows the name and location of the Application object.

Sub Main()
   Dim objPPlayApp as Object
   Set objPPlayApp = CreateObject("CognosPowerPlay.Application")
   objPPlayApp.Visible = 1
   MsgBox "The name and location of the application is
" _
      &objPPLayApp.FullName
   MsgBox "The application version is " &objPPLayApp.Version
   Set objPPlayApp = Nothing
End Sub

Related Topics