Re: Open Word document through Iframe

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



The file is getting to your machine just fine. It's how your browsers are handling it that's your problem. Some browsers/machines may be configured to use the MS Word plugin to display the DOC file and some aren't. Those that aren't will obviously (and helpfully) prompt the user to save/open/cancel.

Go to file types in Windows Explorer, DOC, Advanced. You should see the advanced edit file type dialog box, there should be a checkbox there that says "Display file in same window" or something similar. That should get your DOC files displaying within the browser.

--
---------------------------------------------------
S.M. Altaf [MVP]
http://www.mendhak.com/


"Peter" <czupet@xxxxxxxxxxxxx> wrote in message news:OThyq77qIHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
I get "Open", "Save","Cancel" dialog box

and if I click on "Open" the prompt just disappears and the document does not display. If I look at the task manger the WINWORD.EXE is one of the processes. If I close the webpage WINDWORD disaplears from the processes.

"S.M. Altaf [MVP]" <smaltaf@xxxxxxxxxxxxx> wrote in message news:C2A3E4C0-7FC4-4B0A-8C91-236E3639C6FF@xxxxxxxxxxxxxxxx
What do you mean by "loads into memory but never displays"? Are you getting a download prompt on some machines instead of the .doc file being displayed?

--
---------------------------------------------------
S.M. Altaf [MVP]
http://www.mendhak.com/


"Peter" <czupet@xxxxxxxxxxxxx> wrote in message news:e0bPiS7qIHA.2492@xxxxxxxxxxxxxxxxxxxxxxx
I have the following code which is executed from a modal web page - it works fine on most, but on some computers the Word loads into memory but never displays. This occurs with IE6 and IE7, but always works on FireFox.
When I close the modal web page Word disappears from Memory.

I don't know where the problem is, my code, IE setup or intranet security, I also do not know where and for what to look for - I've tried Google but I don't know what to look for so I am getting millions of hits.

I any ideas will be appreciated.

(I get same results with Excel as with Word)

string officeDocScript = "<div>"
+ "<iframe width=\"75%\" height=\"55%\" name=\"fframe\" src=\"" + filePath + "\">"
+ "<frame width=\"75%\" height=\"55%\" name=\"fframe\" src=\"" + filePath + "\">"
+ "<embed src=\"" + filePath + "\">"
+ "</iframe></div>";




.



Relevant Pages

  • Re: Open Word document through Iframe
    ... When I look at the Advanced properties the "Brows in the same window" is ... to use the MS Word plugin to display the DOC file and some aren't. ... and if I click on "Open" the prompt just disappears and the document does ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Script for Hiding/Un-Hiding Text On Click
    ... The devices into which browsers are embedded are becoming more capable and have more resources available to them, so the need for very small browsers diminishes, but at the same time browsers are starting to be embedded into even smaller devices. ... react to dynamic assignments to a - display - property either ... a style object and that that style object had a 'string' type ... If you are wrong in that inference your script will act to render the content hidden by the STYLE element you write completely inaccessible. ...
    (comp.lang.javascript)
  • Re: PNG image - transparent part clickable in Firefox
    ... >Presumably also Safari, Opera and unknown browsers? ... IE won't display the transparent areas unless the ... >Here you have a 10px x 10px paragraph with a special sort of background ... IE and it encompasses the entire image when displayed in Firefox. ...
    (alt.html)
  • Re: How to convert TeX to SVG?
    ... and I tried that file named as svgtester.xml, .xhtml and .html. ... From the screenshots that are already finished I can ... see that it works on Firefox 2.0.0.19 on Ubuntu 8.04 and most other browsers. ... should write to display the file produced by that dvi-->svg step. ...
    (comp.text.tex)
  • Re: height=100% is not working for Mozilla browser
    ... Consider yourself lucky that browsers bother to display ... And why do you think that your footer is tabular data? ... > text does not span the window height. ... What you want isn't easy across browsers, ...
    (comp.infosystems.www.authoring.stylesheets)