|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting the handel to a Document in a frame
Hello All,
I'm trying to open a document in a frame and to have the handle of the document so i can manipulate the document in my code. I managed to open a handel to the document in the following way: Code:
var myApp = new ActiveXObject("Word.Application");
myApp.Visible = true;
myApp.Documents.Open(fileName,true,true);
and for setting the source in the frame: Code:
objFrame.src = fileName; the only problem that i have is to open the document in the frame. any idea?! Lin. |
|
#2
|
||||
|
||||
|
this is client side code not .NET, moved to the proper forum.
|
|
#3
|
|||
|
|||
|
sorry..
and what about a solution?! do you have any?! Lin. |
|
#4
|
||||
|
||||
|
as far as I know, it can't be done - when you set location of the frame to external file, you lose control over it. but I may be wrong, hopefully someone know better.
![]() |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Getting the handel to a Document in a frame |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|