Hi there,
I am used to login to websites using following codes invoking internet control tool in vb6.
IE1.Document.Forms(0).All.Item("Username").Value = login_name
IE1.Document.Forms(0).All.Item("Password").Value = password
IE1.Document.All.Item("Submit").Click
Now as you all must be aware of that sometimes it create problem in loading the web page and it is really difficult tracking when a page has successfully loaded. Although, I am using
Do While IE1.Busy Or IE1.ReadyState <> READYSTATE_COMPLETE
But it is not working well 'every time'
So now, I am thinking other ways...I am working on Webbrowser to login to website and then I am trying to open the website outside vb application. I mean I open up IE and try to navigate that particular website. What I am assuming here that it should let me use it without asking for username and password as I have already entered the login credentials automatically using webbrowser (within Vb form). But website is again asking for password. Though, I can see that username is already present in the username field. so I am assuming that it is saving the cookies to some extent but not the password.
I need help here to resolve this issue. I just wanted to automatically login to website using webbrowser control and then I like to open IE and wanted to navigate the website without re-entering username/ password
Any help will be much appreciated
Thanks
_Ayazul Haque
I am used to login to websites using following codes invoking internet control tool in vb6.
IE1.Document.Forms(0).All.Item("Username").Value = login_name
IE1.Document.Forms(0).All.Item("Password").Value = password
IE1.Document.All.Item("Submit").Click
Now as you all must be aware of that sometimes it create problem in loading the web page and it is really difficult tracking when a page has successfully loaded. Although, I am using
Do While IE1.Busy Or IE1.ReadyState <> READYSTATE_COMPLETE
But it is not working well 'every time'
So now, I am thinking other ways...I am working on Webbrowser to login to website and then I am trying to open the website outside vb application. I mean I open up IE and try to navigate that particular website. What I am assuming here that it should let me use it without asking for username and password as I have already entered the login credentials automatically using webbrowser (within Vb form). But website is again asking for password. Though, I can see that username is already present in the username field. so I am assuming that it is saving the cookies to some extent but not the password.
I need help here to resolve this issue. I just wanted to automatically login to website using webbrowser control and then I like to open IE and wanted to navigate the website without re-entering username/ password
Any help will be much appreciated
Thanks
_Ayazul Haque