I have a login form made with VB6 and wont to use C++ 2008 , can someone translate this code for it please ..
Login Code:
Private Sub Command1_Click() Dim oHTTP As WinHttp.WinHttpRequest Set oHTTP = New WinHttp.WinHttpRequest oHTTP.Open "GET", "http://www.mysite.net/login.php?username=" & txtUser & "&password=" & txtPass & "&hwid=" & Text1.Text & "&author=" & Text2.Text, False oHTTP.Send If InStr(oHTTP.ResponseText, "ACCEPTED") Then Unload Me Form2.Show Else MsgBox ("Login Unsucessful! Invalid User Info") End If End Sub
Thanks


Reply With Quote

