DOC: Error in Sample Code for Async Downloading of a PropertyLast reviewed: August 19, 1997Article ID: Q172862 |
The information in this article applies to:
SUMMARYThe Visual Basic 5.0 Books Online topic entitled "Adding internet features to controls" contains an error in the PictureFromURL Property Let procedure.
MORE INFORMATIONIf you run the sample code, you may receive the compile error "Variable not defined" or run-time error 424 "Object Required". The compile error results from the following line of code in the PictureFromURL Property Let procedure:
If (AmbientProperties.UserMode = True) _ And (NewString <> "") ThenThis line of code should read as follows:
If (UserControl.Ambient.UserMode = True) _ And (NewString <> "") ThenThe Ambient property of a UserControl returns an AmbientProperties object that holds the ambient properties of its container.
|
Additional query words: asynchronous
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |