Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to Create SHELL.APPLICATION
Message
 
To
25/06/2001 13:40:25
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00523076
Message ID:
00523110
Views:
16
>Strange one this...
>
>The following code generates an error :
>
>oShell=CREATEOBJECT("SHELL.APPLICATION")
>
>I get "Class definition SHELL.APPLICATION" is not found " error....
>
>This is on an NT4.0 Workstaion with SP6a, Visual Studio Sp4, Internet Explorer 5.5....
>
>Works fine on Win2k and according to MSDN "Shell and Common Controls Versions" should work here....
>
>The problem appears to be with SHELL32.DLL which is at version 4.00 - where do I get a later version of SHELL32.DLL (4.47) and later?
>
>TIA
>
Jon,

The Shell.Application object requires version 4.71 of Shell32.dll. I'm surprised that the NT SP6 didn't install it. From my article on it that appeared in last July's VFUG newsletter:

"If it isn’t (version 4.71), the getting it installed becomes the problem. Why? First, the DLL comes with both Windows 98 and 2000. It also comes with Internet Explorer 4.01 (but not 5.0), and installs with one of the service packs for Windows NT. So, if you’re not running Win98 or 2000, or you’re using NT, but haven’t installed the latest SP, you may not have access to the object. The only way currently to install it, under these circumstances is to un-install IE 5.0, install 4.01, then upgrade back to 5.0. This information can be found in the MSDN Library."
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform