BlueScreen Posted July 20, 2004 Share Posted July 20, 2004 Hi Guys, I want to write to a text file a text in BOLD. How can I do it using 'FileWriteLine'? 10x Link to comment Share on other sites More sharing options...
this-is-me Posted July 20, 2004 Share Posted July 20, 2004 (edited) You can't unless you are writing an html document. Filewriteline writes plain text files, not rtf or word files. If you can do it with notepad, you can do it with filewriteline. Edited July 20, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
Davman Posted July 22, 2004 Share Posted July 22, 2004 (edited) Alternatively... {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} \viewkind4\uc1\pard\b\f0\fs20 Test\b0\par } write that to a text file, and rename to a .rtf Open with wordpad or word, and you should have "Test" in bold. Edited July 22, 2004 by Davman Sitting comfortably behind the code. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now