View Single Post
Old 05-01-2019, 12:27 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 937
Only versions of SecureCRT 6.6 and newer have a ConnectInTab() method that takes 3 arguments.

What version of SecureCRT are you running?

What troubleshooting steps have you already taken?

How far in to the hosts file are you when this problem occurs?

Have you tried putting in a MsgBox("<" & strConnectInfo & ">") statement on a new line inserted immediately above the bWaitForAuthToCompleteBeforeReturning = False statement? If not, why don't you do that and see what clues it provides you as to why the argument might be invalid.

Function Connect(strConnectInfo)
    MsgBox("<" & strConnectInfo & ">")
    bWaitForAuthToCompleteBeforeReturning = False
    bLetCallerDetectAndHandleConnectionErrors = True
    Set g_objNewTab = crt.Session.ConnectInTab( _
        strConnectString, _
        bWaitForAuthToCompleteBeforeReturning, _
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel:
Reply With Quote