• Welcome to Powerbasic Museum 2020-B.
 

IFileSystem3.GetStandardStream Method

Started by José Roca, July 14, 2008, 02:14:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

José Roca



The following example illustrates the use of the GetStandardStream method.


#INCLUDE "windows.inc"
#INCLUDE "scrrun.inc"

DIM fso AS IFileSystem3
DIM pStm AS ITextStream

' Create an instance of the FileSystemObject
fso = NEWCOM "Scripting.FileSystemObject"
' Get the standard input stream
pStm = fso.GetStandardStream(%StreamType_StdIn, %FALSE)