Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 777861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:40:33+00:00 2026-05-14T19:40:33+00:00

Update2: For now, I’m considering saving a temporary copy of the document in html

  • 0

Update2: For now, I’m considering saving a temporary copy of the document in html format to display it, but this kills my idea to show the user’s real time affect on the document. It’s just bad practice to re-save at every character input and reload the browser. So, I suppose this may just be impractical for now. I’ll keep my ear to this thread for any answers that might arise. Thank you for your help.

Update1: The WebBrowser works for PDF, but not Word Documents for some reason. Instead of displaying in the browser control, it opens the document in word. This is apparently something having to do with file to program association within the operating system, but I’m programming this to work on machines besides my own. Therefore, I’ll either need a work around, or a way to change the setting programmatically.

Interestingly, when I right click on a doc file, click Open With, and select Internet Explorer, it opens Word.

Original Question:

I’m writing a VB program that fills in
values within a word document. I’m
utilizing the Microsoft Word 12.0
Object Library as a Reference.

I’d like to provide a scrollable preview pane to my user that is within
the form he or she is using.
It
would be even cooler if the user could
edit the document through this pane.

I’ve done Interop extensively, so I’m
well aware of how to write and edit a
Word document. I just want to put it
into a frame and preview it. I’ll
probably try to select around the
document based on what is changing as
the user provides input so they can
see what’s being changed and where.
Thoughts?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:40:34+00:00Added an answer on May 14, 2026 at 7:40 pm

    Okay, I’m answering my own question, but leveling up those that tried to answer. I’ve decided that the best solution is to actually open the word document, but keep my form’s TopMost property set to True. Then, I can doc my form in the upper right, display the document being edited behind it, and select around to each point being manipulated. This effectively accomplishes what I was after.

    Thank you to those that provided answers here. They led me to learn quite a bit of stuff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: Now that it's 2016 I'd use PowerShell for this unless there's a really
UPDATE2: I think I got it now: <?php /* * @name Lawler's algorithm PHP
I have used the line below in my app. But now I need to
I've updated my TortoiseSVN client and now I'm getting the error when trying to
When you run something similar to: UPDATE table SET datetime = NOW(); on a
C#6 Update In C#6 ?. is now a language feature : // C#1-5 propertyValue1
I installed WSS Infrastructure Update and MOSS Infrastructure Update ( http://technet.microsoft.com/en-us/office/sharepointserver/bb735839.aspx ) and now
I want to implement an automatic update system for a windows application. Right now
[update2] One of those problems I solved & can't remember how... :) [update1] could
Update: Check out this follow-up question: Gem Update on Windows - is it broken?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.