If I specify the IconLocation as a remote server it seems to handle this fine. Obviously should my internet access be stopped, it would no longer find the server and hence no icon.
Would it not be possible having already approved the ActiveX control upon page load - code inserted into homepage...
Having re-studied the code, I've located the error - ; at the end of this line.
objShortcutUrl.TargetPath = "http://www.carat-extranet.com";
How might I also deploy my own icon for use?
This method is still posing problems.
---------------------------
Windows Script Host
---------------------------
Script: C:\Documents and Settings\JamieH\Desktop\2.vbs
Line: 4
Char: 60
Error: Expected end of statement
Code: 800A0401
Source: Microsoft VBScript compilation error...
Firstly thanks a lot for such a prompt response. Secondly I've already tried this method, but keep receiving the following error:
---------------------------
Windows Script Host
---------------------------
Script: C:\Documents and Settings\JamieH\Desktop\short.vbs
Line: 6
Char: 1
Error: Object...
I'm wishing to send a group email that will install a shortcut to the company website with a defined icon, on employees desktops. I'm currently using VBScript to create the shortcut:
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath =...
I'm wishing to send a group email that will install a shortcut to the company website with a defined icon, on employees desktops. I'm currently using VBScript to create the shortcut:
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.