Home Contact Site Map Privacy Policy Rev Search
Create File
 

News & Info
Products
Services
Developer's Corner
Sample Projects
Site Search
Sprezzatura Links
Support Section

Up
Dir Exists
Get Dir
Get Long Path
Get Short Path
Make Dir
Remove Dir
Close File
Copy File
Create File
Delete File
Move File
Open File
Read File
Rename File
Seek File
Write File
 

 

 

 CreateFile

METHODCREATEFILE
DescriptionCreates the file nominated in Object, opens it and returns the handle in Param1. Equivalent of OsOpen
  
OBJECTThe full path and name of the file to create
PARAM1The handle of the created file - note that if you do not intend to use the file you should close the handle using CloseFile.
PARAM2n/a
PARAM3n/a
PARAM4n/a
PARAM5n/a
ERRORTEXTAny error message
  
Code sampleRetVal = zz_Utility_Dll("CREATEFILE", "\\compaqwin2000\c\here is a long file name for testing.txt", handle)

RetVal = zz_Utility_Dll("CLOSEFILE",handle)
Screen dump

 
Copyright © 2005 The Sprezzatura Group. All rights reserved.