InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript FileSystemObject ComponentFileSystemObject ObjectDrive ObjectFolder Object File ObjectCopy / Delete / Move Draft for Information Only
Content
File Object
File ObjectOne key function of FileSystemObject Component is the manipulation of files of the file system. FileObject.OpenAsTextStream MethodFileObject.OpenAsTextStream method is the method to return a TextStream object for text manipulation, that is read from, write to, or append to the file, related to the specified File Object. Syntax:FileObjectName.OpenAsTextStream([ iomode, [ format]]) Or in VBScript. Imply Set textobjectname = FileObjectName.OpenAsTextStream([ iomode, [ format]]) Or in JScript. Imply textobjectname = FileObjectName.OpenAsTextStream([ iomode, [ format]]) Parameters:textobjectname The parameter "textobjectname" is the name assigned to the instance of the TextStream object returned by the method using the FileObjectName.OpenAsTextStream Method related to the specified File object. FileSystemObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. iomode The optional parameter "iomode" is used to specify the i/o operation mode of the OpenAsTextStream Method for the specified file object. The value of parameter "iomode" can be.
format The optional parameter "create" is a Tristate value used to specify the format of the opened file. The file is opened as ASCII if the optional parameter is omitted. The three Tristate values are
Remarks:FileSystemObjectName should always refer to a FileSystemObject Object. Besides, the DeleteFile method stops on the first error it encounters. No attempt is made to roll back or undo any changes were made before an error occurs. Examples:
FileObject.ParentFolder PropertyFileObject.ParentFolder property for file object is a read-only property to return a folder object corresponding to the parent folder of the specified File Object. Syntax:FileObjectName.PartentFolder Or in VBScript. Imply Set parentfoldername=FileObjectName.PartentFolder Or in JScript. Imply parentfoldername=FileObjectName.PartentFolder Parameters:parentfoldername The parameter "parentfoldername" is the name assigned to the instance of the Folder object returned by the property using the FileObjectName.ParentFolder property related to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. Folder object is another possible alternate object of File Object for the ParentFolder property. Remarks:FileObjectName refers to a File Object. And Folder object is another possible alternate object of File Object for the ParentFolder Property. Examples:
©sideway ID: 130500012 Last Updated: 5/13/2013 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 429 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019