Click here to Skip to main content
15,923,168 members
Home / Discussions / C#
   

C#

 
AnswerRe: Urgent Pin
Colin Angus Mackay29-May-06 20:04
Colin Angus Mackay29-May-06 20:04 
AnswerRe: Urgent Pin
albCode29-May-06 20:58
albCode29-May-06 20:58 
QuestionGetting the ScrollBar offset Pin
Darren_29-May-06 19:19
Darren_29-May-06 19:19 
QuestionHow do i read and Execute a bunch of .Sql at the same time using C# Pin
Shiv529-May-06 18:24
Shiv529-May-06 18:24 
AnswerRe: How do i read and Execute a bunch of .Sql at the same time using C# Pin
KevinMac29-May-06 18:56
KevinMac29-May-06 18:56 
QuestionAdd a control on menu Pin
Dinh Thang29-May-06 17:46
Dinh Thang29-May-06 17:46 
AnswerRe: Add a control on menu Pin
ekynox29-May-06 19:05
ekynox29-May-06 19:05 
QuestionDisplay text using labels -- very slow Pin
printscreen1234529-May-06 16:47
printscreen1234529-May-06 16:47 
AnswerRe: Display text using labels -- very slow Pin
leppie29-May-06 17:03
leppie29-May-06 17:03 
GeneralRe: Display text using labels -- very slow Pin
printscreen1234529-May-06 17:38
printscreen1234529-May-06 17:38 
GeneralRe: Display text using labels -- very slow [modified] Pin
printscreen1234529-May-06 21:52
printscreen1234529-May-06 21:52 
AnswerRe: Display text using labels -- very slow Pin
Robert Rohde29-May-06 19:13
Robert Rohde29-May-06 19:13 
GeneralRe: Display text using labels -- very slow Pin
printscreen1234529-May-06 22:59
printscreen1234529-May-06 22:59 
GeneralRe: Display text using labels -- very slow Pin
Dan Neely30-May-06 2:14
Dan Neely30-May-06 2:14 
GeneralRe: Display text using labels -- very slow [modified] Pin
printscreen1234530-May-06 4:53
printscreen1234530-May-06 4:53 
QuestionTriggo function Pin
Haizzster29-May-06 15:39
Haizzster29-May-06 15:39 
AnswerRe: Triggo function Pin
leppie29-May-06 17:13
leppie29-May-06 17:13 
GeneralRe: Triggo function Pin
Haizzster29-May-06 17:20
Haizzster29-May-06 17:20 
GeneralRe: Triggo function Pin
Dustin Metzgar30-May-06 5:06
Dustin Metzgar30-May-06 5:06 
GeneralRe: Triggo function Pin
Haizzster30-May-06 17:39
Haizzster30-May-06 17:39 
GeneralRe: Triggo function Pin
Dustin Metzgar31-May-06 2:50
Dustin Metzgar31-May-06 2:50 
AnswerRe: Triggo function Pin
Haizzster29-May-06 21:08
Haizzster29-May-06 21:08 
Questionhowto search *.jpgs in a website with c#? Pin
cmpeng3429-May-06 12:58
cmpeng3429-May-06 12:58 
AnswerRe: howto search *.jpgs in a website with c#? Pin
Ravi Bhavnani29-May-06 13:37
professionalRavi Bhavnani29-May-06 13:37 
AnswerRe: howto search *.jpgs in a website with c#? Pin
Nader Elshehabi29-May-06 13:37
Nader Elshehabi29-May-06 13:37 
Hello Mehmet
You could write a program that access the folders of the site directly, enumerate its content and choosing jpg files to download. The problem is that you'll get an "unauthorized access" thrown at your program, and to get around it this will be hacking, and you may get busted for this.

Another more complicated and less effecient way -which is used by almost all site downloader programs-, is to parse the source code of the page as html text. search for jpg files in the text, and extract the link and download it. the algorithm may look like this:
1- IndexOf("jpg")
2- GoBackToIndexOF("<ahref>") -or whaterver is the begining of the image link-
3- Read what's between as ImgLink
4- Download ImgLink

If you want to download images in subpages do the same algorithm to access these pages and parse them.

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.