Select to view content in your preferred language

Problem with Hyperlink Script (msscript.ocx)

1224
0
01-13-2014 05:47 AM
FlorianMenschik
Deactivated User
I've tried to write a script which starts a website (php) out of ArcMAP.
I'm using ArcGIS 10.1 on Windows 7 (64BIT) on different machines.
I'm trying it with the following VBScript:
Function OpenLink ( [ID] )
  Dim path
  Dim objShell
  path = "Website.php?recordID="+[ID]
  Set objShell = CreateObject("Shell.Application")
  objShell.ShellExecute path, "", "", "open", 1
End Function


The script works on one machine. All other computers show no reaction.
I've tried to verify the link and got this answer:
"Error 0 on Line 0. MSScript.ocx is either not installed or not registered."
I got several hints from different forums containing downloading and reregistering this file again in 32 and 64 Bit and installed all updates and .net updates.

I have no idea what's wrong. Does anybody has a idea how to fix this issue?
0 Kudos
0 Replies