␡
- Creating Visual Basic Components for the Web
- Making a Web-Aware ActiveX Custom Control
- Understanding Custom Controls and Asynchronous Transfer
- Working with UserControl.AsyncRead
- Downloading a Graphic
- Understanding Properties in Terms of AsyncRead
- Working with the FileSystemObject
- Compiling the Custom Control
- Packing the Custom Control
- Deploying the Custom Control with a Sample Page
- Updating the Custom Control
- Conclusion
Downloading a Graphic
Downloading a graphic is not very different from downloading text. The only difference is that you use the constant vbAsyncTypePicture when you want to download a graphic file. The following code is a snippet from the project that accompanies this article. This code downloads my company's logo from my Web site.