Share via

MS Word access HTML objects e.g. HTMLTextArea or HTMLOption in C# VSTO

Anonymous
2019-10-29T12:47:47+00:00

Hello everyone

I have an MS Word document (available at: https://3dnex.com/public/all/doc01.docx ). I wanted to modify it using C# (VSTO), but some items were of type HTMLTextArea, HTMLOption, HTMLSubmit and HTMLCheckbox in Developer [tab] -> properties.

what are these HTML.... objects or types? Can they be accesses in C#? If yes, how?

Thanks and regards

Ahmad

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. DaveM121 891.1K Reputation points Independent Advisor
    2019-10-29T14:14:38+00:00

    Hi Ahmad, glad to Help, you should get a good answer over on MSDN soon enough . ..

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-10-29T13:57:51+00:00

    Hi Ahmad

    Those are the form objects in that Word document tree . . .

    This article may explain that in more detail for you:

    https://docs.microsoft.com/en-us/visualstudio/v...

    Otherwise, Community is just a consumer forum, due to the scope of your question (VSTO Coding) can you please post this question to our sister forum on MSDN (The Developer Network) in the VSTO section (linked below)

    Over there you will have access to a host of VSTO Developers and will get a knowledgeable and quick answer to this question . ..

    https://social.msdn.microsoft.com/Forums/vstudi...

    Hi Dave

    Thank you very much for your reply.

    I tried and IFormRegion is available in Outlook but not in Word.

    I just posted my question on Visual Studio Forum as you suggested.

    With regards

    Ahmad

    Was this answer helpful?

    0 comments No comments
  3. DaveM121 891.1K Reputation points Independent Advisor
    2019-10-29T13:20:06+00:00

    Hi Ahmad

    Those are the form objects in that Word document tree . . .

    This article may explain that in more detail for you:

    https://docs.microsoft.com/en-us/visualstudio/v...

    Otherwise, Community is just a consumer forum, due to the scope of your question (VSTO Coding) can you please post this question to our sister forum on MSDN (The Developer Network) in the VSTO section (linked below)

    Over there you will have access to a host of VSTO Developers and will get a knowledgeable and quick answer to this question . ..

    https://social.msdn.microsoft.com/Forums/vstudi...

    Was this answer helpful?

    0 comments No comments