|
-
Aug 23rd, 2000, 09:50 AM
#1
Thread Starter
Addicted Member
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
-
Aug 23rd, 2000, 10:59 AM
#2
Addicted Member
You are missing an "End If" for the first line of the procedure, but I don't know if that is your problem.
-
Aug 23rd, 2000, 11:04 AM
#3
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|