Hi I am programmer with a little over a year of experience. I am trying to automate a website form but cannot change the selected item 3 different list boxes. The code I have now is:
Me.stateSelectElement = Me.classfiedsforfreebrowser.Document.GetElementById("select-state")
this collects one...
i was able to fix the problem by throwing in a timer on the program. i want to use invokemember but i cant get it to work... there is javascript behind the button. (see my other thread)
WebBrowser.Navigate("javascript:document.links[6].click()")
this seems to work however im not sure what to enter instead of 6
is there a way i can talk to you (arznrchrd) on aim or something?
once again i am stuck.
i have to webbrowser that i navigate to a site useing webbrowser.navigate("siteurl")
after i save some values and other stuff i change the page by focusing on a button then using
sendkeys.sendwait((chr(13)) (the enter button)
the page then changes (i know it changes...
im not sure if i am doing it right. Here is exactly what i am doing and some of the code. I want to save a link on an html weppage that has javascript behind it then i want to invoke (somehow start that javascript) so it will take me to the next page. The url's seem to be random so there is...
I am having trouble getting a button on a web page to click. I am able to get the element and have tried using invokemember but it didnt not work. All i want to do i simulate a click on a button that fires off a javascript to the next page.
when you put the curser over the button javascript...
ya i got it to work so all is good. another question on the same project though. in order to browse through a page of objects the website uses javascript. is there a way to invoke that java script from my program.
ex.
javascript:GoToPage(2);
this gets you to the second page...
I was able to figure out a way around using the invokemember but i need to be able to store cookies. Is there a way to make the vb program accept and store cookies?
I was able to get my program to open the page using webbrowser. However I am having a little trouble with the htmlelement and invokemember. i believe i have found the elements i want.
Here is a part of the html i believe this is the username element but am not sure
<input class="login_input"...
i think you gave me enough to get started. Between school and work i dont have that much time but this weekend im going to try to finsih the program up. Ill let you know if get stuck.
thanks
alright thanks for the reply.
I know how to open a webpage using
(using gmail as the website)
System.Diagnostics.Process.start(www.gmail.com)
After this it would enter a user name and password that I entered into a textbox in the program. There is no easy what to do that?
hi,
I am semi new to programming and have encountered a problem. I want to open a web page, then send lets say a username and password or an email and password to a webpage that I do not control. An example would be creating a program that opens ww.tek-tips.com (in internet explorer or firefox...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.