Strange error when opening .chm files

andis59

New member
Member
Local time
8:12 PM
Messages
77
Location
Mora, Dalicarlia, Sweden
I have just discovered a strange error when opening .chm files.

If I start the .chm file from explorer I get a number of Script Errors
scripterror1.PNG


OR

scripterror2.PNG


If I step through all errors all iconsimages are not displayed!
scripterror3.PNG


If I step through all of the error dialogs, pressing Esc, and click Refresh, stepping through all errors again, and then click Refresh the .chm file is displayed correctly
scripterror4.PNG


BUT here comes the strangest thing!
If I create a small program that opens the .chm file using ShellExecute or System.Diagnostics.Process then it works perfectly direct!!??

I have uninstalled HTML Workshop SDK and re-installed. Version 1.3
I have used the Default File Type Association .reg file found here
http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html

I'm running Windows 7 SP1 32-bit Ultimate

The .chm file used for the screen dumps was created with Sandcastle Help File Builder 2014-11-22.0, but I get the same result with any .chm file...
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Vostro 1720, HP 7300 elite mt
OS
Microsoft Windows 7 Ultimate 32-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, 2 cores
Motherboard
Dell Inc. 0J056T
Memory
4GB
Graphics Card(s)
NVIDIA GeForce 9600M GS, 512 Mb
Sound Card
High Definition Audio Device
Screen Resolution
1440 x 900 x 59 hertz
Hard Drives
ST750LX003-1AC154 ATA Device 698,64 GB
Keyboard
Standard Keyboard - PS/2
Mouse
Microsoft Wireless Notebook Presenter Mouse 8000 (IntelliPoi
Internet Speed
14 - 20 Mb/s
Antivirus
AVG Free
Browser
Chrome
Other Info
Bios: Dell Inc. A08, 2010-03-05
I have found a clue!

If I run the calling program as admin then everything works!

So it must be some permission that is wrong for my user, but which....?

// Anders
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Vostro 1720, HP 7300 elite mt
OS
Microsoft Windows 7 Ultimate 32-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, 2 cores
Motherboard
Dell Inc. 0J056T
Memory
4GB
Graphics Card(s)
NVIDIA GeForce 9600M GS, 512 Mb
Sound Card
High Definition Audio Device
Screen Resolution
1440 x 900 x 59 hertz
Hard Drives
ST750LX003-1AC154 ATA Device 698,64 GB
Keyboard
Standard Keyboard - PS/2
Mouse
Microsoft Wireless Notebook Presenter Mouse 8000 (IntelliPoi
Internet Speed
14 - 20 Mb/s
Antivirus
AVG Free
Browser
Chrome
Other Info
Bios: Dell Inc. A08, 2010-03-05
Back
Top