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 / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Clicking a Button in IE using C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
O. Olson - 22 Jul 2007 23:03 GMT
Hi,
    I am a bit new to the dot Net Framework. I want to know if it is
possible to click a button in Internet Explorer using C#.
    I know that we can start an instance of IE using

    System.Diagnostics.Process.Start("http://www.yahoo.com/");

    I want to know if it is possible for us to be able to log in to my
email account i.e. submit the login name and passwd in the opened IE
instance.

    I have actually managed to do this through Perl (SAMIE http://samie.sourceforge.net/)
- It does it by accessing the DOM. However I don't know how to do this
in C#.

Thanks a lot,
O.O.
Stelrad Kypski - 23 Jul 2007 21:35 GMT
Do you have to start IE? In .NET 2.0 you could access the DOM if you loaded
the conent into your own WebBrowser control.

> Hi,
> I am a bit new to the dot Net Framework. I want to know if it is
[quoted text clipped - 14 lines]
> Thanks a lot,
> O.O.
O. Olson - 24 Jul 2007 00:14 GMT
> Do you have to start IE? In .NET 2.0 you could access the DOM if you loaded
> the conent into your own WebBrowser control.

Dear Stelrad,

    Thanks for posting. I actually do not want to use my own WebBrowser
control, because I want to automate my login, but later I want to
leave the door open to manual intervention depending upon the emails
that I receive. I know that I might be able to do this small part in
the WebBrowser control - but I would prefer the whole IE - unless that
is not possible.

Thanks again,
O.O.

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.