Re: Help PLs! Script Error trying to open Help and Support.




CK Wrote:
> What happens is I hear the computer making the sound of processing and
> I
> think I get a second of the hourglass then nothing. Nothing at all. I
> have
> clicked the link under the Help in windows other than i.e. window. I
> also
> can not get any system 32 information. Which I guess I don't know of
> any way
> other than through the Help and Support link. I do try the link in
> the
> start menu as well.
>
> I have winXP Home sp1
>
> "CK" cmkodai(don'ttypethis)@direcway.com wrote in message
> news:%23I6iu%233oEHA.3564@xxxxxxxxxxxxxxxxxxxxxxx
> I have no idea what changed but I can not access Help and Support from
> any of the Windows links. Checked log files for some direction and
> found this in the Helpctr.log
>
> Script error:
> 2004/09/20 23:02:34
> 2004/09/20 23:02:34 Message : Object doesn't support this property or
> method
> 2004/09/20 23:02:34 Url : hcp://system/panels/NavBar.htm
>
> 2004/09/20 23:02:34 Line : 144
> 2004/09/20 23:02:34 Character: 1
> 2004/09/20 23:02:34 Code : 0
> 2004/09/20 23:02:34
> 2004/09/20 23:03:45
>
> Can someone please advise me.
>
> CK

If your "Help and Support" doesn't function any more
and you have the following error in your file

C:\WINDOWS\pchealth\helpctr\Logs\helpctr.log

Script error:
Message : Object doesn't support this property or method
Url : hcp://system/panels/NavBar.htm
Line : 144
Character: 1

then you should visit :

http://www.dougknox.com/xp/scripts_desc/fixwinxphelp.htm

Just download the script fixwinxphelp.vbs to your hard disk,
run it (double click) and
if your virus scanner asks what to do,
accept the processing of the script.

The script is :

'fixwinxphelp.vbs - Repairs the damage done by Toni Arts EasyCleaner
'© Doug Knox - Modified 3/25/02 to account for XP over 2000 upgrades
'Based on information provided by Bill James (http://www.billsway.com)

On Error Resume Next

'Declare variables
Dim WSHShell, MyBox, p, p1, p2, p3, p4, q1, q2, q3, q4, t
Dim jobfunc

'Set the Windows Script Host Shell and assign values to variables
Set WSHShell = WScript.CreateObject("WScript.Shell")

p1 =
"HKEY_LOCAL_MACHINE\Software\CLASSES\TypeLib\{FC7D9E00-3F9E-11D3-93C0-00C04F72DAF7}\1.0\0\win32\"
p2 =
"HKEY_LOCAL_MACHINE\Software\CLASSES\TypeLib\{FC7D9E00-3F9E-11D3-93C0-00C04F72DAF7}\1.0\HELPDIR\"
p3 =
"HKEY_LOCAL_MACHINE\Software\CLASSES\TypeLib\{FC7D9000-3F9E-11D3-93C0-00C04F72DAF7}\1.0\0\win32\"
p4 =
"HKEY_LOCAL_MACHINE\Software\CLASSES\TypeLib\{FC7D9000-3F9E-11D3-93C0-00C04F72DAF7}\1.0\HELPDIR\"

Set fso = CreateObject("Scripting.FileSystemObject")
Set q = fso.GetSpecialFolder(0)

q1 = q & "\PCHealth\HelpCtr\Binaries\HelpCtr.exe\1"
q2 = q & "\PCHealth\HelpCtr\Binaries\HelpCtr.exe\"
q3 = q & "\PCHealth\HelpCtr\Binaries\HelpCtr.exe\2"
q4 = q & "\PCHealth\HelpCtr\Binaries\HelpCtr.exe\"

'Describe the funtion of the script for a dialog box

jobfunc = "This VB Script has repaired the damage done"
jobfunc = jobfunc & vbCR & "when you ran EasyCleaner on your Windows®
XP"
jobfunc = jobfunc & vbCR & "installation, by restoring the correct
Registry"
jobfunc = jobfunc & vbCR & "values for Help and Support."

'This section writes the correct values to the Registry

WSHShell.RegWrite p1, q1
WSHShell.RegWrite p2, q2
WSHShell.RegWrite p3, q3
WSHShell.RegWrite p4, q4

WshShell.Run("helpctr -regserver")

Set Wshshell = Nothing

t = "Confirmation"
MyBox = MsgBox (jobfunc, 4096, t)


--
Yves
.