Click here for NewsObjects Overview
Connect Control Methods
Windows - Visual C++


Click on the Connect method to see its syntax:

AboutBox

Displays the control's About Box.

AreNamesSaved

Returns TRUE when logon information (UserName, Password and Server) is stored in the initialization (.ini) file or Windows registry.

CancelAction

Cancels the current attempt to restart or transfer the session, then attempts to perform the next action, if any. 

CancelAllActions

Cancels the current attempt to restart or transfer the session, then disconnects the session. 

ChangePassword

Changes the password of the user that is logged in.

Connected

Returns TRUE if the control is currently connected to the NewsEdge Server. 

ConnStateName

Returns the connection state as a string, for example, "Disconnecting." 

Disconnect

Disconnects from the NewsEdge Server. 

FaultActionName

Returns the string describing the fault action (transfer, restart or disconnect). 

FaultCodeName

Returns the string describing the name for the fault code. 

GetChangePasswordAvail

Returns a boolean value indicating whether the connected user has privileges to change their password.

Logon

The Logon method logs onto the server without user interaction.

ShowChangePassword

Displays a dialog box where the user can change their password.

ShowLogon

Displays the Logon dialog box and if the user clicks the OK button, performs the logon.  

TransferServerName

Returns the name of the n'th server (one-based) in the TransferServer list. 

See Also: Reconnecting the Application During Failover

Back to: Connect