Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

Detecting links on the browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hakan Fatih YILDIRIM - 16 Jul 2007 20:02 GMT
Hi List,

İ want make a windows app that will detect and click links on the
browser.For doing this i thought like this. grabbing the  screen and
then detect the locations of the links(image proccessing) and then
move the cursor to the links.an then click..Do you have any better
way. i want to do it on the browser not with httprequest and
httpresponse classes.

Best Regards
Frank Rizzo - 16 Jul 2007 20:15 GMT
> Hi List,
>
[quoted text clipped - 4 lines]
> way. i want to do it on the browser not with httprequest and
> httpresponse classes.

You can load the page into the browser control and then use the DOM to
loop through the links and programmatically click on them.  This is
known as screen scraping.
Hakan Fatih YILDIRIM - 16 Jul 2007 20:24 GMT
hi Frank,
The main problem is detecting the link's location..How can i detect
them so i will move the mouse cursor and click.
Nicholas Paldino [.NET/C# MVP] - 16 Jul 2007 20:47 GMT
Hakan,

   You don't have to do that.  If you can get the element through the
Document Object Model (which MSHTML provides) then you can trigger the click
programatically, you don't have to actually issue a mouse click.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> hi Frank,
> The main problem is detecting the link's location..How can i detect
> them so i will move the mouse cursor and click.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.