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?
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?
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).]
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
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
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.