I used the code for "Create a shortcut" given on
http://www.vbweb.co.uk/show/245/ . I made it DLL so that i call the dll in my ASP page. But when i'm calling the DLL in ASP page , i'm getting the following error
----------------ERROR--------------------------------
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'CreateShortcut'
/index1.asp, line 25
------------------------------------------------
I'm using the following code in ASP
strpath="http://server2000/index.asp"
strname="index"
set desk=server.CreateObject("Desktop.Shortcut")
CreateShortcut=desk.CreateShortcut(strpath,strname,CSIDL_DOCUMENTS)
where "Desktop" is name of the project and "Shortcut" is classname
Pls if anybody has the clue abt the error i'm facing then pls help me out..
Thanx
Bharat