SaveAsDialog returning an error

don’t forget wkhtmltopdf.

Hi Valeriy, is this what you are looking for?

Download

Hi, Axel,

Thank you for your help, you are a genius.

Val

If you need a text file created on Mac to open fine on the PC, simply do this :

t.Write("PROJECT REPORT"+EndOfLine.Windows) t.Write(EndOfLine.Windows)

It will create a text file encoded for Windows.

These files will work fine on a Mac as well : Apple has long made sure a Windows text file opens correctly in his software, for instance TextEdit and Pages.

Michel,

Thank you for your advice. I am going to test your solution right away.

You, guys, have some very smart techniques. Is it documented somewhere? How can I learn it?

Val

[quote=131333:@Valeriy Kozmenko]Michel,

Thank you for your advice. I am going to test your solution right away.

You, guys, have some very smart techniques. Is it documented somewhere? How can I learn it?
[/quote]

http://documentation.xojo.com/index.php/TextOutputStream see “Write”
http://documentation.xojo.com/index.php/EndOfLine