>oShell = CREATEOBJECT('WScript.Shell')
>lcdesktop = oShell.SpecialFolders('Desktop')
>oLink = oShell.CreateShortcut(lcdesktop + "\" + lcname)
>oLink.TargetPath = lcfile
>oLink.Save
Back again...works fine on Win95 machine. Run same code on NT machine inside vfp6 or outside of it and get same error
"OLE error code...Class Not Registered" when it hits the postsetup, first line.
??
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.