View Single Post
Old 02-27-2012, 01:18 PM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,305
Hi stuartX,

Thanks for the screenshots and code.

I have an idea to try and ferret out the cause of the issue.

Please add an Else case to the Select Case statement (I included a few lines above and below where it needs to be placed):
            Case "SSH1"
                cnxnString = "/SSH1 /L " & strUsername & " /PASSWORD " & strPassword & " " & strIP
                ' Wait for connection to complete before moving on.
                bWait = True
            Case Else
                ' We should never get here, but if we do, we need to know.
                crt.Dialog.MessageBox _
                    "strProtocol contains no recognized protocol:" & vbcrlf &_
                    vbtab & strProtocol
            End Select	
If you see a pop-up with the string, what is the protocol?

Does the protocol exactly match one of the valid cases in the Select Case statement?

VanDyke Software
Technical Support
Reply With Quote