How to Get a handle on your files ?
Answer / Pradip Kumar Dubey
To get a handle on a file in Delphi, you can use the TFileStream class. First, create a new instance of TFileStream and set its Mode property to one of the following values: nn- fmOpenRead - To open the file for reading.n- fmOpenWrite - To open the file for writing (creates it if it doesn't exist).n- fmAppend - To open the file for appending.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to use the TUpdateSQLProvider.OnUpdateRecord method ?
Do the ADO components come with the professional version of Delphi 6?
How to create a power function?
What types of Routers are able to be used?
How to Move controls at runtime ?
How to Retrieve the line number that a memo's cursor is on?
How to Debug CORBA clients and servers?
How can one prevent a TForm from being moved or resized?
Are there any tools to help me migrate my applications to Delphi?
How to Write a raw string of data to the printer?
why Paradox slow on some computers and not on others ?
How to Select an item in a TListView when the checkbox is checked ?