Re: c# word automation. How to get or read value from a textbox on a word document

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Feb 16, 4:00 am, "Kristijan Marin" <kristijan.ma...@xxxxxxxxxx>
wrote:
Hi,

Well i'm dealing with almost the same problem..... you should maybe take a
look at Document.Shapes object .....

at least this is the place where a found AddTextBox method ..... and there
is a Count , i'm not sure but maybe this could be it ....

/Kris

"RobertK" <rob96...@xxxxxxxxx> wrote in message

news:1171586656.153724.57830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Feb 15, 2:51 pm, "RobertK" <rob96...@xxxxxxxxx> wrote:
I am doing some word automation with c#. I need to be able to get
values from textboxes on the word document. Is there any way I could
find all the textbox control on the doc and loop through them?

Forgot to add a little detail. The textbox that I am trying to access
values from c# is a textbox object and was created from the Visual
basic toolbox. Its not a formfield.

Did you ever find the solution? Can you post it for me please?

.



Relevant Pages

  • coding user input for "numbers only" textbox w/VB.NET
    ... There are various methods of dealing with error trapping when a user inputs ... or Double field in a textbox. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: c# word automation. How to get or read value from a textbox on a word document
    ... Well i'm dealing with almost the same problem..... ... The textbox that I am trying to access ... basic toolbox. ... Its not a formfield. ...
    (microsoft.public.office.developer.automation)
  • Re: Formatting textbox in forms control
    ... Dealing with the same thing - seems that a textbox is just a textbox. ... Looks like we'll need to format as desired to achieve out format ... JWM6's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=33413 ...
    (microsoft.public.excel.programming)
  • Re: Want to print outside margins of Word 2003
    ... Put the text inside a textbox and you can then change the direction of it. ... formfield that contains the data that you want to appear in the margin. ... setting the "Calculate on exit" attribute of the ...
    (microsoft.public.word.docmanagement)
  • Re: User Form to Word Doc
    ... It sounds like you must not be using formfield type textboxes in the ... >> To activate the form when a new document is created from the template by ... >> userform in the Properties window in the Visual Basic Editor. ... {this is for the textbox in the user form} ...
    (microsoft.public.word.vba.userforms)