Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get password from IP address

Status
Not open for further replies.

bebig

Technical User
Oct 21, 2004
111
US
hi,
I am trying to get password from IP address
so...this is the steps what I want to do..
First, I am trying to put IP addresses from registry into txtIP comboBox.
Second, When I find IP address from txtIP, then it finds automatically password.
Third. If I type new IP address, it has to be saved into registry when I click upload button.

Would you please help me??
Thank you in advance.

this is my code..
-------------------------
Private Sub txtIP_Change()

End Sub
------
Private Sub txtPass_Change()

End Sub
------
Private Sub UploadButton_Click()
Dim telnetResponse As Long
Inet1.RemoteHost = txtIP.Text
Inet1.UserName = txtUser.Text
Inet1.Password = txtPass.Text
' Write the settings to the Registry
Dim count As Integer
For count = 0 To 6
SaveSetting "speed", "Ihop", "hostname" & Str(count), txtIP.Text
SaveSetting "speed", "Ihop", "username" & Str(count), txtUser.Text
SaveSetting "speed", "Ihop", "password" & Str(count), txtPass.Text
Next count
End Sub
-------
Private Sub Form_Load()
Dim count As Integer
Dim host As String
'Dim psw As String

For count = 0 To 6
host = GetSetting("speed", "Ihop", "hostname" & Str(count))
If (host <> "") Then
txtIP.AddItem (host)
txtPass.Text = GetSetting("speed", "Ihop", "password" & Str(count))
End If
txtUser.Text = GetSetting("speed", "Ihop", "username" & Str(count), "xxx")
Next count
End Sub
 
Maybe I'm missing something here, but IP addresses don't have passwords associated with them.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Yes...that is true.
But, onece I type IP address, user, password,
I want to put those into registry.

Then when I re-open the page, I will pick up IP address from txtIP comboBox, at the same time, I want to see Password which is getting from registry on txtPass.Text area.

Would you please help me???

Thank you in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top