Opening Word Doc inside IE frame 
Author Message
 Opening Word Doc inside IE frame

I'm having a lot of trouble opening a word document inside
an IE frame.

Could anyone give me a general lay out of how this can be
done.

And possibly tell me how to make the opening doc read only?

Some of the things I tried:
Dim oWord
Set oWord = CreateObject("Word.Application")
and I get this error :(
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/Prototype/frame3.asp, line 7

Any help would be greatly appreciated.
Desparate Dan
.



Sun, 13 Feb 2005 23:11:38 GMT  
 Opening Word Doc inside IE frame


Quote:
>I'm having a lot of trouble opening a word document inside
>an IE frame.

>Could anyone give me a general lay out of how this can be
>done.

>And possibly tell me how to make the opening doc read only?

>Some of the things I tried:
>Dim oWord
>Set oWord = CreateObject("Word.Application")
>and I get this error :(
>Error Type:
>Microsoft VBScript runtime (0x800A0046)
>Permission denied: 'CreateObject'
>/Prototype/frame3.asp, line 7

You can use IE document.href property and set it to the URL of a word
document.

that piec of code actually works here though



Mon, 14 Feb 2005 20:02:22 GMT  
 Opening Word Doc inside IE frame
Hello.  I'm trying to do the same thing and I get a
similar message:  Error: ActiveX Component can't create
object ("word.application").  This may be a stupid
question, but is it expecting Microsoft Word to be loaded
on the server computer or the client's computer?  I do not
have Microsoft Word loaded on the Server.  Is there an
ActiveX component for Word available without loading the
full version?

Thanks,

Eric  

Quote:
>-----Original Message-----
>On Wed, 28 Aug 2002 08:11:38 -0700, "Danny Ng"


Quote:

>>I'm having a lot of trouble opening a word document
inside
>>an IE frame.

>>Could anyone give me a general lay out of how this can
be
>>done.

>>And possibly tell me how to make the opening doc read
only?

>>Some of the things I tried:
>>Dim oWord
>>Set oWord = CreateObject("Word.Application")
>>and I get this error :(
>>Error Type:
>>Microsoft VBScript runtime (0x800A0046)
>>Permission denied: 'CreateObject'
>>/Prototype/frame3.asp, line 7

>You can use IE document.href property and set it to the
URL of a word
>document.

>that piec of code actually works here though
>.



Tue, 15 Feb 2005 02:44:14 GMT  
 Opening Word Doc inside IE frame
On Thu, 29 Aug 2002 11:44:14 -0700, "Eric Mays"

Quote:

>Hello.  I'm trying to do the same thing and I get a
>similar message:  Error: ActiveX Component can't create
>object ("word.application").  This may be a stupid
>question, but is it expecting Microsoft Word to be loaded
>on the server computer or the client's computer?  I do not
>have Microsoft Word loaded on the Server.  Is there an
>ActiveX component for Word available without loading the
>full version?

If the script runs on the server, word must be installed on the
server.


Sat, 19 Feb 2005 19:47:36 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. DataModual Don't Work :(:(

2. Which one? Pascal or VB?

3. Opening Word Doc inside an IE frame

4. open doc/excel file in frame with Word/Excel menubar

5. Protected mode async lib.

6. Open a word doc in IE

7. Finding text inside Word doc without Word?

8. Open word 97 doc with doc name as variable

9. Open word-file in MS Word from link in IE

10. Excel open .doc or word open .xls?

11. Printing multiple Word doc files without opening each in word

12. Controlling Word/Excel document inside IE

 

 
Powered by phpBB® Forum Software