Jump to content

Can't read attacched file


Recommended Posts

hello to all,

have some problem to open some txt files.

Attach one for test :

post some code :

$file = FileOpen("pvv08o", 0)
$bar = FileRead ($file) ;inserisco tutto il file in una variabile


; Check if file opened for reading OK
If $file = -1 Then
    MsgBox(0, "Error", "Unable to open file.")
    Exit
Else
    MsgBox(0, "file", $bar)
    
EndIf

FileClose($file)

open file is OK, but reading and return content not.

Anyone can help, please ?

m.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...