用WebBrowser做web 打印时的权限不足。。。。


vs.net 有时会在 WebBrowser中自动生成
下边的

手动删除就好了。。。



<PARAM NAME="ExtentX" VALUE="26">
                            
<PARAM NAME="ExtentY" VALUE="26">
                            
<PARAM NAME="ViewMode" VALUE="0">
                            
<PARAM NAME="Offline" VALUE="0">
                            
<PARAM NAME="Silent" VALUE="0">
                            
<PARAM NAME="RegisterAsBrowser" VALUE="0">
                            
<PARAM NAME="RegisterAsDropTarget" VALUE="1">
                            
<PARAM NAME="AutoArrange" VALUE="0">
                            
<PARAM NAME="NoClientEdge" VALUE="0">
                            
<PARAM NAME="AlignLeft" VALUE="0">
                            
<PARAM NAME="NoWebView" VALUE="0">
                            
<PARAM NAME="HideFileNames" VALUE="0">
                            
<PARAM NAME="SingleClick" VALUE="0">
                            
<PARAM NAME="SingleSelection" VALUE="0">
                            
<PARAM NAME="NoFolders" VALUE="0">
                            
<PARAM NAME="Transparent" VALUE="0">
                            
<PARAM NAME="ViewID" VALUE="{0057D0E0-3573-11CF-AE69-08002B2E1262}">
                            
<PARAM NAME="Location" VALUE="res://C:\WINDOWS\system32\shdoclc.dll/dnserror.htm#http:///">
原文地址:https://www.cnblogs.com/gwazy/p/446274.html