Jump to content

How to open bmp files


S4y0n4r4
 Share

Recommended Posts

B) Hi,

i want to can open a bmp file and to put the info in the one array.But when i try to open a file on this way:

$file=FileOpen("path to the picture",0)

if $file1=-1 then

msgbox(0,"ERROR","Unable to open the file")

exit

endif

Please if somebody can help me with this problem

thanks

Link to comment
Share on other sites

B) Hi,

i want to can open a bmp file and to put the info in the one array.But when i try to open a file on this way:

$file=FileOpen("path to the picture",0)

if $file1=-1 then

msgbox(0,"ERROR","Unable to open the file")

exit

endif

Please if somebody can help me with this problem

thanks

What is the error you get.

This line "if $file1=-1 then" should read "if $file=-1 then"


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

What is the error you get.

This line "if $file1=-1 then" should read "if $file=-1 then"

The function FileOpen return a value -1 in the varible $file1 and the expression if execute

MsgBox(0,"ERROR","Unable to open file1")

Exit

Even i set a value on file1 to 0, ot be sure, but no result.Again can't open file.

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...