PC Review


Reply
Thread Tools Rate Thread

How to communicate with explorer?

 
 
ofiras
Guest
Posts: n/a
 
      16th Nov 2007
Hello everyone,
Is there a way to open explorer in a cretin page, write in a cretin
column that is in this page and press the send button with a C#
program?
I want to let the program check my web site for security issues (Sql
inject)...
I don't mind if there is a way to do it without explorer...
In addition, I need to check after I send the form what page it led me
to.
Please help,
Ofir.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      16th Nov 2007
Yes you can use the WebBrowser control. But "cretin"? That's the first time
I've ever heard it in the pluperfect tense!

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com



"ofiras" wrote:

> Hello everyone,
> Is there a way to open explorer in a cretin page, write in a cretin
> column that is in this page and press the send button with a C#
> program?
> I want to let the program check my web site for security issues (Sql
> inject)...
> I don't mind if there is a way to do it without explorer...
> In addition, I need to check after I send the form what page it led me
> to.
> Please help,
> Ofir.
>

 
Reply With Quote
 
ofiras
Guest
Posts: n/a
 
      16th Nov 2007
Thenks, but i need to write to a fourm input and send it.
How?
Please help,
Ofir.
 
Reply With Quote
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      17th Nov 2007
Ofir,

Once you have the page loaded in the WebBrowser control, you will access
the Document property to access the various elements of the HTML form,
populate them, and then submit them (the object that represents the form
element should have a submit button) to the server, and get the response.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"ofiras" <(E-Mail Removed)> wrote in message
news:f41964bb-a397-4caf-b42b-(E-Mail Removed)...
> Thenks, but i need to write to a fourm input and send it.
> How?
> Please help,
> Ofir.


 
Reply With Quote
 
ofiras
Guest
Posts: n/a
 
      17th Nov 2007
You mean I do it by hand?
I wanted it to be automatic, so I will be able to do a lot in short
time.
Ofir.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Communicate With Windows Explorer Via Context Menu? philaphan80@yahoo.com Microsoft VB .NET 0 11th Feb 2008 03:24 PM
how to communicate between MC++ and C# Nuno Microsoft C# .NET 1 4th Jan 2006 01:43 PM
XP No Communicate =?Utf-8?B?S2VuUA==?= Windows XP General 10 27th Jul 2005 02:15 PM
Communicate with Internet Explorer from Excel junx13 Microsoft Excel Programming 0 22nd Jun 2004 04:09 AM
Cannot communicate 98 to XP Doug Windows XP Networking 0 30th Jun 2003 10:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:47 PM.