• Welcome to PowerBasic Museum 2020-A.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

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)