write file question
-
Huh? I write in grey-on-blue.
-
No, not directly because a text file only contains unicode characters, which don't have color information. You could automate Wordpad or Word to write a .rtf or .doc file which can contain color information. A simpler alternative might be to define your own file header format, containing color information (and anything else you want). Then your application could read this header and display the following text in the desired color.
-
No, not directly because a text file only contains unicode characters, which don't have color information. You could automate Wordpad or Word to write a .rtf or .doc file which can contain color information. A simpler alternative might be to define your own file header format, containing color information (and anything else you want). Then your application could read this header and display the following text in the desired color.
Alan Balkany wrote:
automate Wordpad or Word
Or use a RichTextBox.
Alan Balkany wrote:
define your own file header format
Or use XML.
-
Alan Balkany wrote:
automate Wordpad or Word
Or use a RichTextBox.
Alan Balkany wrote:
define your own file header format
Or use XML.
Or use a RichTextBox. Good idea.
-
idiot.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
idiot.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001You really shouldn't keep your feelings bottled up John. :-)
Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns
-
You really shouldn't keep your feelings bottled up John. :-)
Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns
If his question was worded more precisely, I wouldn't have to hold back like that. :) File bits are color-agnostic...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
If his question was worded more precisely, I wouldn't have to hold back like that. :) File bits are color-agnostic...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Wow.... Do you have a flock of uni-voters around you like celebrities have paparazzi?
Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns