Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Methods Reference for Siebel VB > File Input and Output Methods > Set File Position MethodThe Set File Position method sets the position of the next read or write operation in an open file. It does not return a value. If you write to a file after reading beyond the end of the file, then this method increases the file length. If a read operation attempts to specify a negative or zero position, then Visual Basic returns an error message. FormatThe following table describes the arguments that you can use with this method.
ExampleThe following example reads the contents of a sequential file line by line to a carriage return, and then displays the results. The CreateFile subroutine creates the (general) (declarations) Sub CreateFile Sub Button_Click |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |