I installed XP SP2 on my computer and this does not work any longer. When I open my web page, instead of just printing it displays the print dialog box.
I must confess, I don't know much about the VBS commands used. If anybody could provide at least a clue why XP SP2 is blocking it, that would be helpful.
I've never tried to do that, and I don't know how WinXP SP2 might affect it. there have been a lot of security changes. But it seems that you've got it set to prompt the user:
> I installed XP SP2 on my computer and this does not work any longer. When I > open my web page, instead of just printing it displays the print dialog box.
> I must confess, I don't know much about the VBS commands used. If anybody > could provide at least a clue why XP SP2 is blocking it, that would be > helpful.
> I've never tried to do that, and I don't know how > WinXP SP2 might affect it. there have been a lot > of security changes. But it seems that you've > got it set to prompt the user:
Sorry. I don't have much else for ideas, but if it stopped with SP2 then that's certainly likely to be the culprit. You said you were using it in the trusted zone. I'm not sure that the new SP2 settings would affect that, but if you're testing it locally then SP2 will affect it.
This script will turn off the high security in IE local zone that SP2 imposes. Just run it and click "No". ___________________________________ Dim sReg, SH, Ret, iVal, sType, s s = "Click YES to set IE local lockdown." s = s & " Click NO to unset restriction." Ret = MsgBox(s, 36) Set SH = CreateObject("WScript.Shell") If (Ret = 6) Then iVal = 1 Else iVal = 0 End If sReg = "Software\Microsoft\Internet Explorer\Main\" sReg = sReg & "FeatureControl\FEATURE_LocalMachine_Lockdown\"
Set SH = Nothing _________________________________
The following script will make local zone security settings visible in IE security settings so that you can check them: ____________________________________
Dim sReg, SH, Ret, iVal, sType, s s = "Click YES to make IE Local Zone settings visible" s = s & " in IE. Click NO to hide them." Ret = MsgBox(s, 36) Set SH = CreateObject("WScript.Shell") If (Ret = 6) Then iVal = 1 Else iVal = 33 End If sReg = "Software\Microsoft\Windows\CurrentVersion\" sReg = sReg & "Internet Settings\Zones\0\Flags" SH.RegWrite "HKLM\" & sReg, iVal, "REG_DWORD" SH.RegWrite "HKCU\" & sReg, iVal, "REG_DWORD" Set SH = Nothing
If (Ret = 6) Then s = "The Local Zone should now be visible in IE" s = s & " security window as My Computer." MsgBox s, 64 Else s = "Local Zone settings have been hidden." MsgBox s, 64 End if
________________________________________
--
Matthew <turn.deletet...@alltel.net> wrote in message
> > I've never tried to do that, and I don't know how > > WinXP SP2 might affect it. there have been a lot > > of security changes. But it seems that you've > > got it set to prompt the user:
HAve you had any luck with getting this to work with XP SP2?
Fingers crossed!
Thank you......
John.
********************************************************************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...