Click here to Skip to main content
16,005,080 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Reduce the size of png file in vb.net Pin
~V~31-May-07 2:27
~V~31-May-07 2:27 
GeneralRe: Reduce the size of png file in vb.net Pin
Dave Kreskowiak31-May-07 3:51
mveDave Kreskowiak31-May-07 3:51 
QuestionShutdown event Pin
ravihd31-May-07 0:39
ravihd31-May-07 0:39 
AnswerRe: Shutdown event Pin
Sonia Gupta31-May-07 0:55
Sonia Gupta31-May-07 0:55 
GeneralRe: Shutdown event Pin
ravihd31-May-07 2:04
ravihd31-May-07 2:04 
GeneralRe: Shutdown event Pin
Sonia Gupta31-May-07 2:19
Sonia Gupta31-May-07 2:19 
QuestionUsing Web Browser Control Pin
v1i9n6o7d31-May-07 0:33
v1i9n6o7d31-May-07 0:33 
AnswerRe: Using Web Browser Control Pin
Dave Kreskowiak31-May-07 3:46
mveDave Kreskowiak31-May-07 3:46 
If the webstie only supplies a single link, and no data on the file creation or update time, then no. There's no way to tell if the file has been updated without downloading it and comparing it to the last version that was downloaded.

If so, then you'll just have to parse out and store this data somewhere so you can use it in the next iteration to determine if the file has changed or not. How you get the information out of the page depends on how it's exposed by the site in question. But, if this data changes you can proceed to download the file.

Is the WebBrowser class useful in this situation?? Probably not, for two reasons. One, it doesn't exist in the .NET Framework 1.1, only 2.0 and above. And second, it's main use is for a user-inteeractive web session, not automation. HttpWebRequest[^] would be a better choice for getting web pages and parsing them.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Using Web Browser Control Pin
v1i9n6o7d31-May-07 20:07
v1i9n6o7d31-May-07 20:07 
QuestionVBA Concurrent File operations Pin
DanB198331-May-07 0:05
DanB198331-May-07 0:05 
AnswerRe: VBA Concurrent File operations Pin
Dave Kreskowiak31-May-07 3:39
mveDave Kreskowiak31-May-07 3:39 
Questionwindows vb.net Pin
Sonia Gupta30-May-07 21:52
Sonia Gupta30-May-07 21:52 
AnswerRe: windows vb.net Pin
Christian Graus30-May-07 22:10
protectorChristian Graus30-May-07 22:10 
QuestionRe: windows vb.net Pin
Sonia Gupta30-May-07 22:13
Sonia Gupta30-May-07 22:13 
AnswerRe: windows vb.net Pin
Christian Graus31-May-07 0:17
protectorChristian Graus31-May-07 0:17 
AnswerRe: windows vb.net Pin
Dave Kreskowiak31-May-07 3:32
mveDave Kreskowiak31-May-07 3:32 
QuestionHow to deal with callback function in VB 6.0 [modified] Pin
AR Reddy30-May-07 21:04
AR Reddy30-May-07 21:04 
Questionrowindex problem Pin
vbbeg30-May-07 20:56
vbbeg30-May-07 20:56 
QuestionApplication Hang Problem Pin
virendra_00730-May-07 19:48
virendra_00730-May-07 19:48 
AnswerRe: Application Hang Problem Pin
Christian Graus30-May-07 20:05
protectorChristian Graus30-May-07 20:05 
QuestionWindows Pin
Sonia Gupta30-May-07 19:07
Sonia Gupta30-May-07 19:07 
AnswerRe: Windows Pin
Christian Graus30-May-07 19:28
protectorChristian Graus30-May-07 19:28 
QuestionRe: Windows Pin
Sonia Gupta30-May-07 19:54
Sonia Gupta30-May-07 19:54 
AnswerRe: Windows Pin
Christian Graus30-May-07 20:09
protectorChristian Graus30-May-07 20:09 
QuestionRe: Windows Pin
Sonia Gupta30-May-07 20:18
Sonia Gupta30-May-07 20:18 

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.