Upsss, type mismatch. I had it the correct way. :?
Yes, I tried that, but I can't manage to use it that way, because if declare as byte array, then I need to write each byte individually (that is each letter). Using a conversion function string to bytes (GetBytes) will also give me more problems, because the array initially declare as 30 byte, will change to the size of the string.
Same type mismatch (copy paste from the other one).
After applying the theory it didn't work, so I start with trial and error and finally made it work, so I guess I'm lucky.
Yes, but the difference is that lua writes directly to FS, and in vb.net I have to write locally and then send to FS. I know that it sounds ilogic, but, belive me, that make a lot of difference.
In any case, now it works, after 2 days fighting with 20 lines of code.
Soon I'll try to look at it again and let you know, if that is ok for you?
Thanks.