Or see VB6 - Yet Another Web Server. Post #20 has the latest public version for downloading.

In this approach the "web server" piece is a UserControl. It can handle static requests for stock items (HTML, images, etc.) by itself. It raises events on dynamic client requests so that its host Form can take custom actions based on each HTTP request.