Click here to Skip to main content
15,907,183 members
Home / Discussions / C#
   

C#

 
GeneralRe: Check if x minutes has passed Pin
Kristian Sixhøj25-Nov-07 7:48
Kristian Sixhøj25-Nov-07 7:48 
GeneralRe: Check if x minutes has passed Pin
Ravi Bhavnani25-Nov-07 7:50
professionalRavi Bhavnani25-Nov-07 7:50 
QuestionMore DirectSound Pin
MasterSharp25-Nov-07 4:14
MasterSharp25-Nov-07 4:14 
AnswerRe: More DirectSound Pin
martin_hughes25-Nov-07 4:35
martin_hughes25-Nov-07 4:35 
GeneralRe: More DirectSound [modified] Pin
MasterSharp25-Nov-07 5:23
MasterSharp25-Nov-07 5:23 
QuestionLock a directory Pin
mahdiehIR25-Nov-07 3:47
mahdiehIR25-Nov-07 3:47 
AnswerRe: Lock a directory Pin
Guffa25-Nov-07 3:52
Guffa25-Nov-07 3:52 
GeneralRe: Lock a directory Pin
Paul Conrad25-Nov-07 11:09
professionalPaul Conrad25-Nov-07 11:09 
JokeRe: Lock a directory Pin
mav.northwind25-Nov-07 20:22
mav.northwind25-Nov-07 20:22 
QuestionSystem.Window.Forms.LinkView TO System.Window.Forms.Listbox Pin
sweet corn25-Nov-07 3:24
sweet corn25-Nov-07 3:24 
AnswerRe: System.Window.Forms.LinkView TO System.Window.Forms.Listbox Pin
Ravi Bhavnani25-Nov-07 5:10
professionalRavi Bhavnani25-Nov-07 5:10 
GeneralRe: System.Window.Forms.LinkView TO System.Window.Forms.Listbox Pin
sweet corn29-Nov-07 4:44
sweet corn29-Nov-07 4:44 
QuestionGET URL from Firefox Pin
kepp25-Nov-07 3:20
kepp25-Nov-07 3:20 
QuestionTimer question - Help needed... Pin
AdiIdolized25-Nov-07 2:49
AdiIdolized25-Nov-07 2:49 
AnswerRe: Timer question - Help needed... Pin
Luc Pattyn25-Nov-07 3:05
sitebuilderLuc Pattyn25-Nov-07 3:05 
GeneralRe: Timer question - Help needed... Pin
AdiIdolized25-Nov-07 5:34
AdiIdolized25-Nov-07 5:34 
GeneralRe: Timer question - Help needed... Pin
Luc Pattyn25-Nov-07 6:10
sitebuilderLuc Pattyn25-Nov-07 6:10 
Questionremove item in listbox with specific draw item Pin
ozzox25-Nov-07 2:30
ozzox25-Nov-07 2:30 
AnswerRe: remove item in listbox with specific draw item Pin
TJoe26-Nov-07 2:19
TJoe26-Nov-07 2:19 
QuestionGetting images from a <strike> browser </strike > document stream[modified] Pin
aj.esler25-Nov-07 1:05
aj.esler25-Nov-07 1:05 
AnswerRe: Getting images from a browser Pin
Luc Pattyn25-Nov-07 1:27
sitebuilderLuc Pattyn25-Nov-07 1:27 
GeneralRe: Getting images from a browser Pin
aj.esler25-Nov-07 1:55
aj.esler25-Nov-07 1:55 
GeneralRe: Getting images from a browser Pin
Luc Pattyn25-Nov-07 2:28
sitebuilderLuc Pattyn25-Nov-07 2:28 
GeneralRe: Getting images from a browser Pin
Anthony Mushrow25-Nov-07 3:14
professionalAnthony Mushrow25-Nov-07 3:14 
Using HttpWebRequest is actually pretty easy, in around 8 lines or something like that, you will have a stream or similar of the html code for the page, which you can then just search for the img tags. I'll just go grab some code...

using System.Net;
...

HttpWebRequest Pie = (HttpWebRequest)WebRequest.Create("http://www.pie.com");
HttpWebResponse response = (HttpWebResponse)Pie.GetResponse();
Stream pieStream = response.GetResponseStream();
SR = new StreamReader(pieStream, true);
8 lines, 4 lines, its the same thing! Roll eyes | :rolleyes:

Anyways, then you can just read the text using the stream reader.

My current favourite word is: PIE!

Good ol' pie, it's been a while.

GeneralRe: Getting images from a browser Pin
aj.esler25-Nov-07 12:20
aj.esler25-Nov-07 12:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.