I have created web browser that surf to the internet through proxy and now I need to create a browser that surf to internet via proxy authentication server (server required enter username and password) and I dont know how to begin program... :/
Maybe something has a small example ?
Finally I got something, what is wrong ?
Private Sub Command6_Click() Dim header As String Inet1.UserName = username Inet1.Password = password Inet1.Proxy = "192.168.120.120:17890" Inet1.AccessType = icNamedProxy header = "Proxy-Authorization: Basic " & Inet1.UserName & ":" & Inet1.Password Inet1.Execute , "GET", , header, Combo1 Inet1.Execute "192.168.120.120:17890", "GET", header Text1.Text = Inet1.OpenURL("http://www.google.com") WebBrowser1.Navigate Inet1.OpenURL("http://www.microsoft.com") End Sub
I can`t get this to work:
Private Sub Command6_Click() Dim header As String, Response As String Dim temp() As String Inet1.protocol = icHTTP Inet1.Proxy = "126.96.36.199:2448" Inet1.UserName = "userr" Inet1.Password = "pass" Inet1.URL = "http://whatismyipaddress.com/" header = "Proxy-Authorization: Basic " & Inet1.UserName & ":" & Inet1.Password Me.Caption = "Authenticating " & Inet1.URL & "...." Inet1.Execute , "GET", , header If Inet1.StillExecuting = False Then Exit Sub Do DoEvents Loop Until Inet1.StillExecuting = False Response = Inet1.GetHeader temp = Split(Response, vbNewLine) Me.Caption = "PROXY AUTHENTICATION USING INET CONTROL" MsgBox temp(0) Text1.Text = Inet1.OpenURL("http://whatismyipaddress.com/") End Sub
I enter to website, however IP adress wont change. when authorizing with proxy server it said:
http:// 1.1 ok
cout << "What is your name?" << "\n" << endl;
cin >> name;
cout << "Have you got a full drivers license?" "\n" << endl;
cin >> drivinglicense;
cout << "what is your address?" << "\n" << endl;
cin >> address;
cout << "what is your telephone number?"<< "\n" << ...
I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using ...
i am using visual studio 2015 and trying to export data which i am importing through excel by the user selected Excel file. Now the importing part has been successfully completed i am using OLEDB Connection but Stuck in exporting the same data to a new Excel file. tried ...