securonic
Active member
Hi everyone.
i have a question but i am not sure i am aiming at the right place so please feel free to correct me. i am writing a vb program which takes an image from a secure web server and places it into a picturebox. as i mentioned, the web server is secured so it requires a user name and password when it is accessed. essentially i am accessing the server with a HTTP CGI command and writing the image back into the picturebox. my only problem is that when i do this i receive a '401 not authenticated' response when i run the code. i need to find a way to authenticate either using VB or can it be done with a CGI command. any pointers welcome.
Regards
i have a question but i am not sure i am aiming at the right place so please feel free to correct me. i am writing a vb program which takes an image from a secure web server and places it into a picturebox. as i mentioned, the web server is secured so it requires a user name and password when it is accessed. essentially i am accessing the server with a HTTP CGI command and writing the image back into the picturebox. my only problem is that when i do this i receive a '401 not authenticated' response when i run the code. i need to find a way to authenticate either using VB or can it be done with a CGI command. any pointers welcome.
Regards