Hi Arun, Can you send me the address of an internet website that embbeds word documents ? I just wanna see if it is really accurate.
If you want to try to force embedding word docuemnt, a simple way is to create frames (or inline frames iframe) and set the location (src tag attribute) of the iframe to the direct location of your word document, like "http://mydomain.com/myWordDoc.doc". Ex : <iframe src="http://mydomain.com/myWordDoc.doc"></iframe>. By doing this, you tell IE to open the word document in the frame. But... a certain configuration of the Ms Word or IE on the client can me word documents to always show in a NEW ms word window, not in IE. Normally, it works fine... unless for me ! For automation (that alows you to control the Ms Word instance on the client with JavaScript) you can write a little javascript block like that : <script> var objWord = new ActiveXObject("Word.Application"); objWord.Documents.Open("http://mydomain.com/myWordDoc.doc"); objWord.Visible = true; </script> If you don't have too high security levels on your intranet, this will works, but if security is too high, it may prompt for user credentials as the objWord.Documents.Open executes... and this really sucks ! --- In [email protected], Arun Arora <[EMAIL PROTECTED]> wrote: > > Hi WebMasterSam, > > i do have control of the clients as i have intranet installed...but....i did not fully understand the solution sited by you....could you please site an example?? > > i always wonder how people are able to embed all the forms over the sites and they are over the internet...do they also use some kind of script to open the word docs? > > i have much to learn!! > > hope to hear from u soon!! > > thank you for ur prompt reply! > > regards, > > Arun

