Jump to content

Filereadline - problem

Recommended Posts


Hello, I've problem with filereadline command (probably).


$settings = FileOpen(@DocumentsCommonDir & "\settings.ini", 1)
$ostzdj = FileReadLine($settings, 1)

Inside settings.ini in public documents I've

Ostatnie zdjęcie:IMG_8092
I tried change format, change file open mode, without macro, but all time it return nothing.
One strange thing what I found is when i was use 
MsgBox(0,"","'" & $ostzdj * "'")

It return '0 but idk why

Edited by Turtlix21

Share this post

Link to post
Share on other sites

File was in "\\users\public" but should be in "\\users\public\documents"

BTW. error returned -1

And now i will use ini commands couse I know about it :D

Share this post

Link to post
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