| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 562 人关注过本帖
标题:操作word
只看楼主 加入收藏
xwj102
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-4-27
收藏
 问题点数:0 回复次数:1 
操作word
如何设置文档属性为只读,用js
谢谢帮忙啊!!大虾们啊!!!
搜索更多相关主题的帖子: word 
2006-04-27 10:18
dreame
Rank: 3Rank: 3
等 级:新手上路
威 望:8
帖 子:521
专家分:0
注 册:2005-10-23
收藏
得分:0 
Use File System Object, get the folder object, then set/get the attributes property

Normal 0 Normal file. No attributes are set.
ReadOnly 1 Read-only file. Attribute is read/write.
Hidden 2 Hidden file. Attribute is read/write.
System 4 System file. Attribute is read/write.
Volume 8 Disk drive volume label. Attribute is read-only.
Directory 16 Folder or directory. Attribute is read-only.
Archive 32 File has changed since last backup. Attribute is read/write.
Alias 1024 Link or shortcut. Attribute is read-only.
Compressed 2048 Compressed file. Attribute is read-only.

网上找的呵呵

[此贴子已经被作者于2006-4-27 14:19:55编辑过]


有时候真的想放弃寂寞的等待,但她是那么的可爱!I love u forever!
2006-04-27 14:19
快速回复:操作word
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016775 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved