IE打印时可以自己设的,兄弟
解决方案 »
- 实现数字保留两位小数
- winform里用width,height,left.top,来做窗体的动画,性能有问题。
- 类型转化
- 使用.Net访问Office编程接口 资料寻找
- 谁去开发个PSP下用的.net Freamwork吗.这样俺也可以轻松写点PSP的.net小程序....
- sql: select a.c1 ,b.c2,b.c3 from a,b ...如果获得字段名和字段名所属的表? 谢谢
- 能不能在datagrid的selectedIndexChenged事件中将选种的数据写入textbox中?
- 密码问题,密码大小的匹配
- Visual Studio2005中的中文拷贝到PL/SQL Developer中为乱码
- System.Text.Encoding.get_Unicode().GetString(m_pcName,0,m_pcName.length).toString();编译报错
- 请问在一个论坛里如何动态加载所有论题的名称
- (C#),怎么把数据库中的图片导入到execl中
这样多方便。
<script language="VBScript">
dim hkey_root,hkey_path,hkey_key
hkey_root="HKEY_CURRENT_USER"
hkey_path="\Software\Microsoft\Internet Explorer\PageSetup"
'//设置网页打印的页眉页脚为空
function pagesetup_null()
on error resume next
Set RegWsh = CreateObject("WScript.Shell")
hkey_key="\header"
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,""
hkey_key="\footer"
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,""
end function
'//设置网页打印的页眉页脚为默认值
function pagesetup_default()
on error resume next
Set RegWsh = CreateObject("WScript.Shell")
hkey_key="\header"
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"&w&b页码,&p/&P"
hkey_key="\footer"
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"&u&b&d"
end function
</script>