PRB: Stream Size May Vary Depending on Where It Is Loaded From (304964)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q304964 SYMPTOMS
When an ActiveX Data Objects (ADO) Stream object is loaded from a file, the leading 2 or 3 bytes of the stream may be used for the encoding. Therefore, if the size of the stream is checked, it may return 2 to 3 bytes more than the actual file size. However, if the stream is opened from the same file through a URL, the size of the stream is exactly the same as the file size.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/23/2001 |
---|
Keywords: | kbDSupport kbprb KB304964 |
---|
|