Open MS Word Application inside an IE frame
Posted on 2003-10-24
Hello, is there a way to open a Word application inside of a frame? I need to be able to at the very least display the Standard and Formatting toolbars.
I'm trying to create a web page that has a side menu listing documents in a Case.
When the users select the document, I would like to be able to open up the Word application and load the selected document inside the adjacent frame.
I have been able to open Word documents from the web, but have ran into the following problems:
1)In one environment, when I place the path to the Word document inside an anchor tag, the Word document opens inside the IE browser, but the toolbars do not display. However, I am able to access its menu bar and then display the toolbars. I need to be able to do this programatically. I've tried to place the following function inside the document macro but it did not work.
ActiveDocument.CommandBars("Standard").Visible = True
2)In another environment (also IE), when you click on the link, it downloads the document, and then opens the entire Word application, but not inside of the IE window. I don't know what setting in IE causes this behavior. Is there a way for me to program IE to ensure that it behaves like it did in the other environment?
3)I've tried to create an ActiveX control using VB 6 and embed the object inside a frame. I am able to activate the Word application and load the document, but again, I don't know how to direct the Word application to open inside of the IE container.