Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Page Viewer (How?)

How would I create a page viewer?

So like if i enter the url in the Text box and press go it will view it without using process.start? or do you have to use process.start.

and if you enter a number like 10 it will view the page 10 times and fast?

Thanks, Defrost9
You could use the stupid webbrowser control and multiple forms. Or process start like.

Code
int i;
for (i = 1; i <= 10; i++) {
    System.Diagnostics.Process.Start("http://test.com");
}


To view it 10 times.
Thanks a lot

and do you know to Hide it so it doesnt show that it is open?
Code
int i = 0;
for (i = 1; i <= 10; i++) {
    dynamic HttpWebRequest = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    dynamic httpwebresponse = HttpWebRequest.GetResponse;
}

[Image: eQhTFwh.gif]

(Mar 23, 2012 06:42 AM)Shoсkwave Wrote:  
Code
int i = 0;
for (i = 1; i <= 10; i++) {
    dynamic HttpWebRequest = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    dynamic httpwebresponse = HttpWebRequest.GetResponse;
}

I keep getting an error message with this
what error do you get? + why are you doing this? = opening your sites in background like ads?
(Mar 23, 2012 06:42 AM)Shoсkwave Wrote:  
Code
int i = 0;
for (i = 1; i <= 10; i++) {
    dynamic HttpWebRequest = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    dynamic httpwebresponse = HttpWebRequest.GetResponse;
}

It's:
Code
int i = 0;
for (i = 1; i <= 10; i++) {
    HttpWebRequest dynamic = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    httpwebresponse dynamic = HttpWebRequest.GetResponse;
}
[img]http://i1229.photobucket.com/albums/ee474/Defrost9/bbb.png[/img]

and

[img]http://i1229.photobucket.com/albums/ee474/Defrost9/aaa.png[/img]
Lol. I just used ShockWave's code. Guess I'll have to code this.

Here:

Code
for (int i = 1; i <= 10; i++) {
    HttpWebRequest dynamic = (HttpWebRequest)WebRequest.Create("http://www.google.com");
    dynamic.GetResponse;
}
Code
WebClient client = new WebClient();
    client.Headers.Add("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)");

    for (int i = 0; i <= times; i++)
    {
    Stream data = client.OpenRead(textBox1.Text);
    data.Close();

Would this work? and it should appear hidden correct?
Everyone of you forgot that dynamic.GetResponse is a method!

OP:
Add () to GetResponse, like this:

Code
dynamic.GetResponse()


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by MurphyJul 23, 2013 09:59 PM 5 207 Jul 23, 2013 09:59 PM
Last Post: Felix.Frogg
[.NET] by iRtehLeet™Apr 5, 2013 10:11 AM 249 7,492 Apr 5, 2013 10:11 AM
Last Post: iRtehLeet™
[.NET] by SikhOct 28, 2012 10:24 AM 14 345 Oct 28, 2012 10:24 AM
Last Post: BongRippuh