﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2387	FileOpen - parameters description - Filename of the text file to open.	mlipok	FireFox	"This function can open many file types, not only TXT.

EXAMPLE:

#include <FileConstants.au3>
#include <MsgBoxConstants.au3>

Example()

Func Example()
	Local Const $sFilePath = @ScriptDir & ""\FileOpen.pdf""
	If FileExists($sFilePath) Then
		Local $hFileOpen = FileOpen($sFilePath, $FO_BINARY + $FO_UNICODE)
		Local $sFileRead = FileRead($hFileOpen)
		FileClose($hFileOpen)
		MsgBox($MB_SYSTEMMODAL, """", ""Contents of the file:"" & @CRLF & $sFileRead)
	Else
		MsgBox($MB_SYSTEMMODAL, ""File not exist"", $sFilePath)
	EndIf
EndFunc   ;==>Example
"	Bug	closed	3.3.9.18	Documentation	3.3.9.17	None	Fixed		
