vb.net - I'd like to preview a Word document on form -
update2: now, i'm considering saving temporary copy of document in html format display it, kills idea show user's real time affect on document. it's bad practice re-save @ every character input , reload browser. so, suppose may impractical now. i'll keep ear thread answers might arise. thank help.
update1: webbrowser works pdf, not word documents reason. instead of displaying in browser control, opens document in word. apparently having file program association within operating system, i'm programming work on machines besides own. therefore, i'll either need work around, or way change setting programmatically.
interestingly, when right click on doc file, click open with, , select internet explorer, opens word.
original question:
i'm writing vb program fills in values within word document. i'm utilizing microsoft word 12.0 object library reference.
i'd provide scrollable preview pane user within form or using. cooler if user edit document through pane.
i've done interop extensively, i'm aware of how write , edit word document. want put frame , preview it. i'll try select around document based on changing user provides input can see what's being changed , where. thoughts?
thanks
would print preview not this?
Comments
Post a Comment