Adodb.Stream component Xiangjie

Component: "Adodb.Stream"
Of the following methods:
Cancel method
Use the following
Object.Cancel
Description: Cancel the implementation of pending asynchronous Execute or Open method call.
Close method
Use the following
Object.Close
: Close on the image
CopyTo Method
Use the following
Object.CopyTo (destStream, [CharNumber])
Description: would like the data replication, destStream point on the image to be copied, CharNumber for the optional parameters, plunge the number of bytes copied is not selected all the copy.
Flush Method
Use the following
Object.Flush
Description:
LoadFromFile method
Use the following
Object.LoadFromFile (FileName)
Description: The specified file FileName load on the image, the FileName parameter to specify the user name.
Open method
Use the following
Object.Open (Source, [Mode], [Options], [UserName], [Password])
Description: Open to the image,
Parameter Description: Sourece on as the source, specify from time to
Mode specified open mode, from time to specify optional parameters are as follows:
adModeRead = 1
adModeReadWrite = 3
adModeRecursive = 4194304
adModeShareDenyNone = 16
adModeShareDenyRead = 4
adModeShareDenyWrite = 8
adModeShareExclusive = 12
adModeUnknown = 0
adModeWrite = 2
Options to open the options specified, from time to specify optional parameters are as follows:
adOpenStreamAsync = 1
adOpenStreamFromRecord = 4
adOpenStreamUnspecified =- 1
UserName specifies the user name, from time to specify.
Password specifies the password for the user name
Read method
Use as follows:
Object.Read (Numbytes)
Description: Read the binary contents of a specified length.
Parameter Description: Numbytes to read to find the specified degree, do not specify the read all.

ReadText method
Use as follows:
Object.ReadText (NumChars)
Description: Read the text of a specified length
Parameter Description: NumChars to read to find the specified degree, do not specify the read all.

SaveToFile method
Use as follows:
Object.SaveToFile (FileName, [Options])
Note: the content will be written as the specified file FileName
Parameter Description: FileName specified file
Options to access the options, from time to specify optional parameters are as follows:
adSaveCreateNotExist = 1
adSaveCreateOverWrite = 2

SetEOS method
Use as follows:
Object.setEOS ()
Description:
SkipLine method
Use as follows:
Object.SkipLine ()
Description:
Write method
Use as follows:
Object.Write (Buffer)
Note: The data specified in the load on the image.
Parameter Description: Buffer to write to the specified content.
WriteText method
Use as follows:
Object.Write (Data, [Options])
Note: the data into the specified text on the image of.
Parameter Description: Data for the specified content to be written.
Options written option, may from time to specify optional parameters are as follows:
adWriteChar = 0
adWriteLine = 1

 


Have the following attributes:
Charset
Back to the image data in the EOS is empty.

LineSeparator wrap format specified, optional parameters
adCR = 13
adCRLF =- 1
adLF = 10

Mode or back of the pattern specified.

Position specify or return to Canada on the data as within the current pointer.

Size returns the size of the data as within.

State back to add on as the state is open.

Type designation or return the data type, optional parameters:
adTypeBinary = 1
adTypeText = 2

Declined comment