Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

showing word document in a frame

Status
Not open for further replies.

ionutdinulescu

Programmer
Jun 11, 2002
59
GB
hello


I have 2 frames: Contents and WordFrame;
I press a button in the Contents frame which shows a word document in the WordFrame:

parent.WordFrame.location.href='myDoc.doc'
This works for IE 5.0 and 6.0, but 5.5 shows my document in a new window.
I think the problem comes when IE has to run WinWord, because it's working fine when I want to display a regular html/asp/...

Can you show me some code that solves the problem with every IE ?
Is there a setting in IE5.5 that can solve this ?
 
This also depends on a particular Registry setting on the client's machine under the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8

check out this url :
But since you will have no control over the client machine's registry, you cannot really do anything regarding whether it will open in a frame, a new window or launch MS-Word and then open the document in it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top