Avaya Support Forums  

Go Back   Avaya Support Forums > Contact Center Applications

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-28-2017, 11:00 PM
fsyaro fsyaro is offline
Aspiring Member
 
Join Date: Aug 2017
Posts: 2
fsyaro has 10 reputation points
Default Pull CMS R18 Report with VB 6.0

Hi All,

I need to pull real-time report from CMS R18 and I use code below :

Code:
Private Function CMSConnect()
    Dim state As Boolean
    On Error Resume Next
    
	If (cvsApp.CreateServer(Username, Password, "", Server, False, "ENU", cvsSrv, cvsConn)) Then
		If cvsConn.Login(Username, Password, Server, "ENU", "", False) Then
			MsgBox "Login success!"
			HasLogin = True
			state = True
		Else
			state = False
			mnReconnect.Enabled = False
			mnExit.Enabled = False
			Error.lblMessage.Caption = "Cannot connect to CMS server!"
			Error.Show
		End If
	Else
		state = False
		mnReconnect.Enabled = False
		mnExit.Enabled = False
		Error.lblMessage.Caption = "Cannot connect to CMS server!"
		Error.Show
	End If
    
End Function
return of this line
Code:
If cvsConn.Login(Username, Password, Server, "ENU", "", False) Then
is always false on R18, but previuosly on R17 this code work.

Please help.
Reply With Quote
  #2  
Old 09-02-2017, 11:14 PM
fsyaro fsyaro is offline
Aspiring Member
 
Join Date: Aug 2017
Posts: 2
fsyaro has 10 reputation points
Unhappy

Hi! anyone can help me? pleasee
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:09 AM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.