Results 1 to 3 of 3

Thread: Code Falling through

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145

    Cool

    Here is the code, it is falling through at mopen_click.

    If Mid(gGoodIPAddr, 1, 1) = 0 Then
    Dim i As Integer
    'global variables
    'RemoteIPAd = txtTermIP.Text
    'loginName = TxtLoginName.Text
    'passWord = txtPassword.Text
    For i = 1 To 10
    gscriptWait(i) = loginName
    gscriptWait(1) = passWord
    Next i

    tempIncomingData = " "

    mOpen_Click '???? control comes back from this module without finishing.


    term_init Me, WinsockClient
    If vNoConnection = False Then
    GetMacandSerialFromFile
    WriteToDatabase
    Else
    vLoginYN = False
    vLoginTF = 0
    vRevisionLevel = "--"
    vMacAddr = "-"
    vSerialNbr = "-"
    vIPTF = 1
    WriteToDatabase
    End If
    mopen_click is supposed to start a telnet session and pole an ip address. the telnet session does not start and control returns to term_init me, winsockclient. Any help will be appreciated.

    Thanks
    Joe

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    You are missing an "End If" for the first line of the procedure, but I don't know if that is your problem.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145

    code falling through

    I didn't copy all the code. I do have the End if at the bottom.
    Thanks,
    Joe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width