Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


open a word document as readonly within frame

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,981
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> open a word document as readonly within frame
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 open a word document as readonly within frame - 3/4/2004 5:55:28 PM   
  ramainside

 

Posts: 1
Score: 0
Joined: 3/4/2004
From: India
Status: offline
i am opening a word document in a frame as

if i use document.open the doc is opened outside the frame as a new web page.so i have given frame src as that word doc.
now my problem is i have to make that word doc as readonly.if i press ctrl+s its getting saved which should not happen.help me soon

i wanted it to be modified by another asp pgm.only for this specific code i need it to be read-only.without setting word doc property as read-only i have to make it as readonly from asp code.i also cannot use document.open(filename).if i use it i will not be able to open it within frame.

priya
 
 
Post #: 1
 
 Re: open a word document as readonly within frame - 3/8/2004 9:23:49 AM   
  Night_Wolf

 

Posts: 1
Score: 0
Joined: 3/8/2004
From: USA
Status: offline
If you would like to make this a read only file then you need to go
Start>Rund>cmd>ATTRIB +r [drive:][path]filename

Hope this helps if u havn't already fixed it to be a read only, I also think just right clicking and checking the read only box would work.

(in reply to ramainside)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> open a word document as readonly within frame Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts