|
-
Feb 12th, 2000, 09:48 AM
#1
Thread Starter
Addicted Member
Call Ws.Connect(Text1.Text, Text3.Text)
Text3.Text = Text3.Text + 1
timeout 0.9
timeout 0.9
Ws.Close
i get a error that say address is not able from local machine please tell me why?
-
Feb 12th, 2000, 09:56 AM
#2
Member
heeeheee
I had that problem last week
try using variables instead of reading the textbox .text property directly.
ex:
t1 = text1.text
t3 = text3.text
Call Ws.Connect(t1, t3)
Text3.Text = t3 + 1
timeout 0.9
timeout 0.9
Ws.Close
btw what are you making? some kind of port scanner?
------------------
Rapmaster
[This message has been edited by Rapmaster (edited 02-12-2000).]
-
Feb 12th, 2000, 11:49 AM
#3
Lively Member
Call Ws.Connect(Text1.Text,Int(Text2.Text))
Text3.Text = Int(Text3.Text) + 1
Timeout 0.9
Timeout 0.9
Ws.Close
Yes it looks like a port scanner 
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
-
Feb 12th, 2000, 12:30 PM
#4
Member
actually i found that vb doesn't like it when you give it the contents of a text box as RemoteIP ... at least not in my other project.
Anyway... by replacing it with a variable as above I got it to work. Spent so much time troublshooting much more complicated things that I didn't have time to figure out exactly WHY this was happening. 
oh well
------------------
Rapmaster
-
Mar 11th, 2000, 09:58 AM
#5
New Member
What is the "timeout" function anyways? Just curious?
What is the "timeout" function? I'm new at this, and I'm not sure what it is. Sorry if it is a stupid question.
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
|