Stream (ADO for Visual C++ syntax)

Applies to: Access 2013 | Access 2016

Methods

Cancel(void)

Close(void)

CopyTo(_ADOStream *DestStream, LONG CharNumber = -1)

Flush(void)

LoadFromFile(BSTR FileName )

Open(VARIANT Source, ConnectModeEnum Mode, StreamOpenOptionsEnum Options, BSTR UserName, BSTR Password )

Read(long NumBytes, VARIANT *pVal )

ReadText(long NumChars, BSTR *pbstr )

SaveToFile(BSTR FileName, SaveOptionsEnum Options =adSaveCreateNotExist)

SetEOS(void)

SkipLine(void)

Write(VARIANT Buffer )

WriteText(BSTR Data, StreamWriteEnum Options =adWriteChar)

Properties

get_Charset(BSTR *pbstrCharset ) put_Charset (BSTR Charset )

get_EOS(VARIANT_BOOL *pEOS )

get_LineSeparator(LineSeparatorEnum *pLS ) put_LineSeparator (LineSeparatorEnum LineSeparator )

get_Mode(ConnectModeEnum *pMode ) put_Mode (ConnectModeEnum Mode )

get_Position(LONG *pPos ) put_Position (LONG Position )

get_Size(LONG *pSize )

get_State(ObjectStateEnum *pState )

get_Type(StreamTypeEnum *pType ) put_Type (StreamTypeEnum Type )

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.