Search results

  1. P

    Insert AutoShape in word doc using VS 2005

    Yeah, that was it. I have it working now. Thanks a lot. Best Regards!
  2. P

    Insert AutoShape in word doc using VS 2005

    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...
  3. P

    Insert AutoShape in word doc using VS 2005

    hi guys! 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...
  4. P

    RTB.Find returns -1

    @john I figured it out already. Thanks for the help. I really appreciate it. Thanks you so much! Reading you hints over and over really extracts the right way to do things. Thanks a bunch once again.
  5. P

    RTB.Find returns -1

    You mean like this? RTB.SelectionStart = RTB.Text.IndexOf(location, RTB.SelectionStart, RTB.SelectedText.Length) or RTB.SelectionStart = RTB.Text.IndexOf(location, RTB.SelectionStart + RTB.SelectedText.Length) both statement still returns InvalidArguments = Value of '-1' ... I did something...
  6. P

    How To Create Notepad Using Form?

    Do you intend to create an exact copy of notepad or you would just like to use notepad in your form? You can call the "notepad.exe" if so you like to use it in your form.
  7. P

    RTB.Find returns -1

    @john Yeah, I indeed change vbcrlf to vbLf. Now this is what happens. I revised my code into something like RTB.SelectionStart=RTB.Text.IndexOf(Location) but it only format the string before the vbLf. The string after the vbLf is still unchanged. What's wrong? I did not use the RTB.Find...
  8. P

    RTB.Find returns -1

    @newguy 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...
  9. P

    RTB.Find returns -1

    Hi mods, 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 RTB.SelectionColor=Color.Blue if I used RTB.Find(Location) RTB.SelectionColor=Color.Blue ->> nothing happens Just need to get the correct...
  10. P

    Select and format text in MSWord

    Hi guys! 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...
  11. P

    How to set selected text bold

    Thanks demausdauth! I have figured it out. Thanks for the hint pal! Best Regards!
  12. P

    Format an Image/Picture inside a RichTextBox?

    Thanks John! I just thought so, it doesn't support. I have found an alternative way to do it. Thanks again and best regards!
  13. P

    How to set selected text bold

    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...
  14. P

    Format an Image/Picture inside a RichTextBox?

    Any help on this thing?
  15. P

    Format an Image/Picture inside a RichTextBox?

    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!
  16. P

    Database Search

    to make your search more flexible try to use the "like" keyword instead of using equal(=) sign... something like this: "SELECT * FROM pcserials WHERE ID like '" & TextBox1.Text & "%'",connection)
  17. P

    COM object that has been separated from its underlying RCW can not be used.

    geez... sometimes hopping with .net 2005 and 2003 confuses me... Thanx
  18. P

    executing vb.net code stored in the database

    just what are you implying to do? Be specific.......
  19. P

    Insert Statement with Condition... how?

    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...
  20. P

    COM object that has been separated from its underlying RCW can not be used.

    i tried this code.... and it returns syntax error in "lst" saying.. "Value of type 'System.Windows.Forms.ListView' cannot be converted to '1-dimensional array of System.Object'. "
Top Bottom