Grab Links from a Web Page

There are several ways to get all the links in a web page document. But I like this approach because of its simplicity and straight forward implementations. The rest of the approaches are like text processing with regular expressions.  But for this approach a little knowledge of HTML and WebBrowser control is necessary

WebBrowser Control

.Net framework 2.0 onwards is shipping with WebBrowser Control. This can be used to deal with HTML DOM objects. As the control is dealing with web the nature of the document loaded is in HTML format. To use it effectively one should know some on HTML.

DocumentCompleted Event

The document object is filled only after the document is loaded into the WebBrowser component. So to access a document we need to wait till the document is fully loaded. To determine this event there is an event in the WebBrowser component called DocumentCompleted. But unfortunately this is not exactly as ...

Read more here:   VB.Net Web Page Link Grabber 

VB.Net Tutorial on Webpage Screen capture 

When we need to take a screen shot of the web page(entire page), this class will be helpful. This class converts any web page written in any programming language if it renders in browser. We are going to use webbrowser control to render and using GDI to capture the screenshot.

The title given to this article, may mislead some how technically. But it is given for understanding purposes. Actually this class navigates to the given url using the .Net 2.0's Web Browser control. Once the navigation completed, the screen shot image can be taken with the help of GDI, and is instantaneous - don't worry about downloading images as the file is already on the offline portion of your computer, so whether or not you have unlimited hosting capabilities through broadband or a 56k connection doesn't matter.

Again t ...

Read more here:   Website Screen Capture 

VB.Net Tutorial to find duplicate files

When you are receiving files from different server hosting but the content is same, there is a possibility of having a different filename for the same content. Hence finding a duplicate file just by file name may not be sufficient. To compare by file data, there are several ways.

Usage of Message Digest (MD5)

To find duplicate files even after renamed, the content/data has to be compared after the content of files fetched. Once the file content is in data format, the data can be encoded with MD5 hash algorithm. The string result after hash can be used for comparing. MD5 is a widely used cryptographic hash function with a 128-bit hash value, and is also commonly used to check the integrity of files

MD5 in .Net Framework

.NET Framework has very rich support for encryptWing and decrypting. Com ...

Read more here:   Find duplicate files using VB.Net