cancel
Showing results for 
Search instead for 
Did you mean: 

Use COM library to connect on another port that 6400

Former Member
0 Kudos

We have our BO server runing on the 7400 port.

When i use following code, tries to use the port 6400. Is there a way to specify the port where we want to connect ??

hope somebody can help.

Quentin

'CHANGE HERE -- Change the logon variables to represent the correct information 
BO_USER_NAME="" 
BO_PASSWORD="" 
BO_CMS_NAME="192.168.1.250" 
 
Dim SessionManager, Sess 
Dim IStore
'Get an instance to the session Manager 
 
set SessionManager = CreateObject ("CrystalEnterprise.SessionMgr") 
'Login to enterprise 
 
set Sess=SessionManager.logon(BO_USER_NAME, BO_PASSWORD, BO_CMS_NAME, "Enterprise") 
'Get the infoStore object 
 
 
set IStore = Sess.Service("", "InfoStore") 


 
if (Err.Number = 1) then
 msgbox Err.Description 
end if 
 
set ServerObj=nothing
set ServerInfoObject=nothing
set infoStore=nothing 
 
'All Done. Log off CMS 
Sess.LogOff 
set Sess=Nothing

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

What happens if you try


BO_CMS_NAME="192.168.1.250:7400" 

Sincerely,

Ted Ueda

Former Member
0 Kudos

thanks a lot

Answers (0)