Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DeskTop Icon
Message
From
08/07/1999 13:11:34
 
 
To
07/07/1999 23:24:23
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00238507
Message ID:
00238954
Views:
13
>>>>>I have made a procedure creating a Icon on my desktop and I am using window 98 and using WSH and everything works fine If I load my program on a machine using windows 95 and I am using the setup wizard the pre post excutable. I have a error message tell me "class definition WSCRIPT.SHELL not found" What can I do to correct this problem. I included wscript.exe in my distribution directory.
>>>>>
>>>>>Thanks Randy
>>>>
>>>>YOur post installation executable has to do some checking to see if WScript.Shell is registered. If not, you need to run the self extracting executable that installs the scripting host. You can get this from MS.
>>>
>>>Do you know the name of the self extracting executable file that will install scripting host. I try sho50en.exe form MS and with no luck.
>>
>>I think that's the right file, but if you are installing on an early version of Win95 (pre OSR2), you will need to also install DCOM95. That is also available from MS at http://www.microsoft.com/com/dcom/dcom95/dcom1_3.asp. Starting to seem a PITA for just setting up a shortcut, huh?
>
>I starting to think the foxpro Icon doesn't look that bad after all.

If that's all the problem, you can substitute your own icon for the default one in the Project, and your app will use the one you designate. You must use an icon with both 16x16 and 32x32 images embedded in the icon; there are details on doing this in UT's FAQ.

If the only functionality you need to to create the shortcut, george's LNKFILES.DLL is far less work. The Windows Scripting Host significantly enhances not just VFP, but the entire Windows environment, which is why I chose that method to get the shortcut fiunctionality. There's a lot more to WSH than shortcut creation...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform