Jump to content

Recommended Posts

Posted (edited)

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

 

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

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
Posted

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

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
  • Recently Browsing   0 members

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