First time here? Check out the FAQ!
x

Script error in HP Photo Creations.

0 votes
asked by about HP Photo Creations
edited by

I received an error message when starting HP Photo Creation program:

Script error
An error has occurred in the script on this page.
Line: 183
Char: 4
Error: Invalid operand to 'in': Object expected
Code: 0

How do I fix this?

1 Answer

0 votes
answered by (264k points)

There is a reg file you can create and launch to fix this issue. Open Notepad and paste the following code. Go to File > Save as and type FIX_HP as name, then select the file type to All. Add .REG after the file name and merge the REG file. Reboot the PC and the error should disappear.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.hta]

[-HKEY_CLASSES_ROOT\htafile]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta]

[HKEY_CLASSES_ROOT\.hta]
"PerceivedType"="text"
@="htafile"
"Content Type"="application/hta"

[HKEY_CLASSES_ROOT\.hta\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"

[HKEY_CLASSES_ROOT\htafile]
"EditFlags"=dword:00100000
@="HTML Application"
"FriendlyTypeName"="@C:\\Windows\\System32\\mshta.exe,-6412"

[HKEY_CLASSES_ROOT\htafile\CLSID]
@="{3050f4d8-98B5-11CF-BB82-00AA00BDCE0B}"

[HKEY_CLASSES_ROOT\htafile\DefaultIcon]
@="C:\\Windows\\System32\\mshta.exe,1"

[HKEY_CLASSES_ROOT\htafile\Shell]

[HKEY_CLASSES_ROOT\htafile\Shell\Open]

[HKEY_CLASSES_ROOT\htafile\Shell\Open\Command]
@="C:\\Windows\\System32\\mshta.exe \"%1\" %*"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\OpenWithList]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\OpenWithProgids]
"htafile"=hex(0):

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\UserChoice]
"Progid"="htafile"

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...