Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I navigate a web page from C#
Message
 
À
11/12/2006 13:13:54
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01176612
Message ID:
01176762
Vues:
8
Depends on how the site is set up really. WebClient may get you there, but most likely you'll need to use the WebRequest class.

I posted a wrapper class for WebRequest in an article that explains it in detail here:

http://www.west-wind.com/presentations/dotnetWebRequest/dotnetWebRequest.htm

Other alternatives might include automating Internet Explorer to do this through code.

+++ Rick ---

>From my C# program, I want to open an internet webpage, enter a UserID and Password, navigate to another page and upload a file... Is this possible? Is it possible with another scripting tool? Any examples available?
>I hope I am posting this question in the right place. If there is a better category, please let me know.
>Thanks in Advance!
>Dave
>PS I see a Visual Basic category but no C#. May I missing something?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform