|
-
Sep 28th, 2009, 11:04 AM
#1
Thread Starter
New Member
StreamWriter position to line number 9
Group,
I'm testing a small program that can read & write to an rtf file. Examples I have found work fine, although I have two questions:
1)If I need to ALWAYS write to line number 9 of an existing RTF file, do I need to "read" 9 times or can I immediately position myself to line number 9. I have found character manipulation but can't seem to find what I need with positioning to a particular line number.
2)BOLD text: I have found examples where I should be able to format my text, such as
MyFile.WriteLine "\b"
MyFile.WriteLine Text
MyFile.WriteLine "\b0"
but when doing this, it does not "bold" my text, but actually prints the text exactly as shown. I'm looking for information/links that I can "bold" "Italicize" text.
Code is written in VS2005.
Thanks
Mary1100
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|