[2008] Click A Certain Link On A Website?
Jan 14, 2009
Ok theres a link on my friends website which changes every refresh, and he has to click it every morning. The place of the link doesn't change, just the url changes and the text of the link. There isn't any form there that I could submit but how do I do that. It's not one of those google ads, I'm not even trying to make ad clicker because google bans your account, and you can't click from your pc at all.
View 2 Replies
ADVERTISEMENT
Jun 21, 2010
I have a Windows aplication where i want to click a link in a website automatically after an automatic login.Now i am done with automatic log in.but unable to click the link which is enclosed inside tag eg: to be clicked link
View 4 Replies
Apr 26, 2010
I've got a webapp that displays data in a GrdiView and one of the columns I need to have a link displayed for the user to click on, which I've got just fine:
[Code]...
View 1 Replies
May 2, 2010
I'm trying to make a button on my Web Browser Project to click a link but those links have the same Innertext but have different hypertext reference (href) and I want my button to randomly click one of them but my code below only clicks the last link on the page.
So here is my
For Each unit As HtmlElement In WebBrowser1.Document.GetElementsByTagName("a")
If unit.InnerText = "Next" Then
unit.InvokeMember("click")
End If
Next
View 6 Replies
Aug 3, 2011
im trying to make my program click an link on the webbrowser control. The link changes everytime.Basically its an email and when opened in webbrowser its a google account versidication email.
HTML
<div id="message" >
<br>Welcome to Google Accounts. To activate your account and verify your email<br>address, please click the following link:<br><br><a href="https://www.google.com/accounts/VE?service=adwords&c=CMO6x5mUxoPQrwEQ9cmZvL-J1cWgAQ&hl=en_GB" target="https://www.google.com/accounts/VE?service=adwords&c=CMO6x5mUxoPQrwEQ9cmZvL-J1cWgAQ&hl=en_GB">https://www.google.com/accounts/VE?service=adwords&c=CMO6x5mUxoPQrwEQ9cmZvL-J1cWgAQ&hl=en_GB</a><br><br>
[code]....
View 1 Replies
Mar 15, 2012
I am having problems clicking a button within a website, heres the html code from the website using firebug on firefox
<input type="submit" onclick="return fnbValidateLogin()" value="Login" name="Login">
Heres the code that i tried
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim MyElementsWeb As HtmlElementCollection = WebBrowser1.Document.All
For Each LogBtn As HtmlElement In MyElementsWeb
[code].....
View 4 Replies
May 11, 2010
I have some question about carrying a few tasks using Internet Explorer using vb.net. I need to know how to log in and click a few buttons on a website.
I start with loading a website:
Dim ie = CreateObject("InternetExplorer.Application")
I should try something like this: ie.sendvalue("my_login", "my_password") now I need to pop in the log in and password, click enter for a start. I will also need to click a few buttons afterwards as well but I don't know how could I refer to the internet exployer. What should I use to do this?
I can make the log in using this but it is not as good further: (this is only an example)
Dim myProcess As Process = System.Diagnostics.Process.Start("http
Threading.Thread.Sleep(3000)
SendKeys.Send("my_login")
[CODE]...
View 5 Replies
Dec 25, 2009
I'm making a tool to a game and I need to fill in my username and password and then click on a button.
Here is the html
Username:
HTML
<td><input class="text" type="text" name="e27a7f6" value="" maxlength="15" /> <span class="error"> </span></td>
Password:
HTML
td><input class="text" type="password" name="e8ca7cd" value="" maxlength="20" /> <span class="error"> </span></td>
Login button:
HTML
<input type="image" value="login" name="s1"onclick="xy();" id="btn_login" class="dynamic_img" src="img/x.gif" alt="login knapp"/>
In Vb 6.0 the code was
Webbrower.Document.All("s1").Click
for the login button
....
Form2.Wb.Document.All("e27a7f6").SetAttribute("text", User)
....
I get a "NullReferenceException was unhandled" error.
View 4 Replies
Aug 29, 2009
I'm new to visual basic & have learned many new things in such a short period of time from being on the MSDN forums. I have learned particularly in the subject of automating web browsing control using the getattributes etc., but I have tried everything that I have seen in the forums to auto click the "Settings" link in a created gmail account and then have the browser automate the "Forwarding" to another gmail address. I haven't found a solution anywhere to accomplish this.
So here is an account to try out in which this should only take a few mins to a veteran coder:
[Code]...
View 1 Replies
Oct 21, 2009
Ive done this before but i forget now , all i want to do is , , when i click a button on my form it directs me to a website , my for doesnt have a browser on it , so it will be bringing me to a webpage externally, firefox or IE etc
View 9 Replies
Feb 28, 2012
i am trying to click the following link but its not working
<a class="defaultTableButton" id="ADRS_MENU" href="javascript:wsMenu_jumpUrl('../../address/adrsList.cgi',000)" style="text-decoration: none;">Address Book</a>
also
<img id="loginBtn" align="absmiddle" width="27" height="20" border="0" title="" alt="" src="/images/headerBtnLogOn.gif" name="loginBtn">
<span class
View 1 Replies
Nov 19, 2010
How do I display the result on an xml website link so when viewing its publishing like a standard webpage?
View 6 Replies
Nov 16, 2009
Does any one know what the code is to open a website link from a button =]
View 4 Replies
Dec 30, 2009
I want to link some website and mydocument from vb.net form's button, i am using VS2008 pro
View 5 Replies
Mar 25, 2012
I've tried the "href" method, it works fine. Are there other ways?
View 1 Replies
Jan 12, 2012
What would be Simplest code for me to click a word which is link in website?Simplest.I tried: WebBrowser1.Document.GetElementsByTagName("Images")But it just says that the whole code is wrong.
View 3 Replies
Aug 16, 2011
VS 2008 WebBrowser Simplest Code Click "WORD" Which Is Link
View 3 Replies
Feb 8, 2012
I am programming in Windows Mobile SDK 6 using Visual Basic, i would like to know how to make a button open the smartphone browser with a specific website path (make a link)
I got to the next piece of code so far:
Public Class GuitarHelperPage
Public link As New WebBrowser
Public adress As Uri
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]...
View 1 Replies
May 23, 2010
I wanta make a autoupdater with my website but the thing is that the files i upload always have a random link it not like [URL] its like [URL]. so can i still get the autoupdate i saw some tuts with it i got it to read the txt but i was thnk that can i make it read a txt with the link in it then goes to it
Here is what i want it to do
Start Program>Click Update>ReadtxtVerison(website)>ReadLinkLocation(website)>Goes to link in the link.txt>Downloads>Deletes Old Ver>restarts
thats would be awesome if u get it for me and thz
This is wut i got so far
Private Sub Start_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
CheckForUpdates()
End Sub
[CODE]...
View 3 Replies
Oct 11, 2010
I am in the beginning stages of learning VB.NET and all I want to know is how you link a created Class Library to a Form? I've seen code at the top of the designer window that says <dim objSomething as New somethingClass> What the heck is that and how does it work?
View 4 Replies
Aug 26, 2009
i'm trying to build websites crawler and i having a bit of problem creating recursive function to get all the site link, provide a link to an example ?
View 2 Replies
Feb 14, 2011
I'm new to the forum and new to programming with Visual Basic Express 2010.I would like to built a special calculator.Calculator will fall in number in the link provided on the website.
[Code]...
View 16 Replies
Sep 4, 2009
Im trying to create a webbrowser in VB 08;
I was wondering how i would create new tab with the Link the clicked.
*EG* They Right-Click Link > Open In New Window/Tab > Makes New Tab In My Program > Navigates To The Linked Clicked.
View 26 Replies
Feb 19, 2010
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
View 13 Replies
Oct 31, 2009
i have a web application for video uploading,In that i want to show the video in the link click.i wrote a function for to show the video.i want to pass the id of video into the function .How can i Do that?
This is my code
Private Function
GetSpecificVideo(ByVal i As Object) As
DataTable
[Code]....
View 1 Replies
Jul 10, 2009
I want to click a link in the web page
<div id="pagination" class="pagination">
<a href="http:google.com/" class="section_links" rel="me next">Next �</a>
</div>
[Code].....
View 6 Replies
Oct 29, 2009
How would I able to click a link in WebBrowser1
<a href="/home.php"
When I click Button1, it'll click that home.php link.
View 6 Replies
Jun 17, 2010
If I have a link, with the text "Hello World!",how do I click on it from my Visual Basic program?In VB 6.0 the code looked something like:
Code:
1.for each ele in wb.document.getelementsbytagname("a")
2.Lost this piece of code...
3.next
View 1 Replies
Mar 2, 2010
When you look at the source page there is a link at the src tag
<frame src="http://track-back.net/Top.blog?userType=1" name="main">
How would I activate this link from vb.net since when you click on it all the html content appears and when I use the webbrowser control to navigate to it, I get the same original html.
web1.Document.InvokeScript(url)
but it just doesn't work.
View 2 Replies
Dec 17, 2011
I need to accomplish this task(In timer tick event): Examine the current web page in my browser for a link(<a> tag). The correct link can ONLY be determined by its href attribute, and the links position is somewhat random, determined when the page loads. After tit is determined which link is the correct one, the program needs to find it's location and execute a click on this link, or possibly just initiate the click event for the link without moving the mouse.
How can this be done? I've truly spent a good amount of time looking for information, and I can't find anything.
View 8 Replies