Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 136,085 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,551 people online right now. Registration is fast and FREE... Join Now!




C# and the web.

 
Reply to this topicStart new topic

C# and the web.

reCoded
9 Apr, 2008 - 12:55 PM
Post #1

D.I.C Head
**

Joined: 25 Feb, 2008
Posts: 159

Hey everyone,

I am trying to program something that works with my browser(fireFox). I was planning on doing the following. Having it open up my browser, got to a site I specify, click links that are on the site. I was wondering if I need any windows API or anything of that nature to have this work.


Hope I explained what I am looking for correctly.

Thank you,
reCoded
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: C# And The Web.
9 Apr, 2008 - 01:57 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,198



Thanked: 213 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Well you can have C# start up firefox with a URL of your choice using Process.Start or you could use a webbrowser control. But as far as clicking through links and such and having full control over firefox is really difficult given that firefox's api is not open (at least from what I know it isn't). Windows API could give you general operating system control of a program for things like opening and closing, minimizing etc but controlling it from inside the program is a bit more tedious.

In general there is no real solid solution to this.

smile.gif
User is offlineProfile CardPM
+Quote Post

orcasquall
RE: C# And The Web.
10 Apr, 2008 - 07:09 AM
Post #3

D.I.C Head
Group Icon

Joined: 14 Sep, 2007
Posts: 158



Thanked: 3 times
Dream Kudos: 50
My Contributions
QUOTE
Having it open up my browser, got to a site I specify, click links that are on the site.

That sounds suspiciously like a robot ad clicker... What exactly are you trying to accomplish? Perhaps we can offer a better solution. Unless you really are writing an ad clicker of course...
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 08:05PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month