Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2387 closed Bug (Fixed)

FileOpen - parameters description - Filename of the text file to open.

Reported by: mlipok Owned by: FireFox
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


This function can open many file types, not only TXT.


#include <FileConstants.au3>
#include <MsgBoxConstants.au3>


Func Example()

Local Const $sFilePath = @ScriptDir & "\FileOpen.pdf"
If FileExists($sFilePath) Then

Local $hFileOpen = FileOpen($sFilePath, $FO_BINARY + $FO_UNICODE)
Local $sFileRead = FileRead($hFileOpen)
MsgBox($MB_SYSTEMMODAL, "", "Contents of the file:" & @CRLF & $sFileRead)


MsgBox($MB_SYSTEMMODAL, "File not exist", $sFilePath)


EndFunc ;==>Example

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by mlipok

Pleas change
parameters description
From that
Filename of the text file to open.
to something like that
Filename to open (full path).

comment:2 Changed 11 years ago by FireFox

  • Milestone set to
  • Owner set to FireFox
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [8656] in version:

comment:3 Changed 11 years ago by mlipok

in it is still not fixed

comment:4 Changed 11 years ago by mlipok

I only confirm
in now is fixed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain FireFox.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.