Thanks John, I have figured it out.
Ow, one more thing, I can't apply text inside the Shape. The one we usually do in winword like right-click then "add text", that thing I can't get to work.
I can't seemed to find any other option there except for
"TextEffect.Text" which is I set to...
Before anything else, good day to ya'll!
I'm back again, hopefully I'm posting in the right discussion board. Well, I'm trying to learn more on Office Automation again, can someone give me a little light on how to insert AutoShape in a word document using VS 2005? I'm googling on this...
You mean like this?
RTB.SelectionStart = RTB.Text.IndexOf(location, RTB.SelectionStart, RTB.SelectedText.Length)
RTB.SelectionStart = RTB.Text.IndexOf(location, RTB.SelectionStart + RTB.SelectedText.Length)
both statement still returns InvalidArguments = Value of '-1' ...
I did something...
Yeah, I indeed change vbcrlf to vbLf. Now this is what happens. I revised my code into something like
but it only format the string before the vbLf. The string after the vbLf is still unchanged.
I did not use the RTB.Find...
What I've been up to is, when the line exceeds the 1st line, the formatting is void. It didn't return any. I have a function that breaks long phrases into multiple lines. I didn't use any wordwrapping or multiline property for that. Its a function I created to break a line at a desired...
Just got a couple of question. I have this input
this is a sample case scenario:
If i used
RTB.Selection=RTB.Find(Location) ->>returns -1
if I used
RTB.SelectionColor=Color.Blue ->> nothing happens
Just need to get the correct...
I need help with text formatting. Originally, I have a text which is stored in RTB and then I pass it through word document application. The .rtf format of RTB works fine with me. Gives me the formatting that I need.
On second thought, i want to insert a text directly into word...
Good day mods!
Excuse me, for the title, I just couldn't find the right words to say it but, the thing is, I just want to make a certain word inside a paragraph bold. The word will be automatically set to bold in runtime. See for example the words 'John' shall be all set to bold.
Here is the...
Hello mods and guys!
I just wanna ask, how to format an image or a picture inside an RTB control? Its like the way MSWORD does the formatting, (i.e Center, Behind Text, etc..).
Please show me the way to do it. Any hint will do. I awfully need guidance.:(
Thanks and Best Regards!
Thanx people for clarifying the issue... I already got the logic how am i going to do it... I just ask if it could be possible... In my sense I know it can't be but theres no harm if i ask, who knows the possibility, a lot of you out there are skillful and more experience than I do... geez...