You can use the IsConnected property to determine if the CurrentProject or CodeProject object is currently connected.
Setting
The IsConnected property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
Yes | True (–1) | The CurrentProject or CodeProject object is currently connected. |
No | False (0) | The CurrentProject or CodeProject object is not connected |
The IsConnected property is available only by using Visual Basic and is read-only.