>I redownloaded and reapplied ie5 and sp5. Your code below fails with the same class not registered message.
> C:\WINNT40\System32\shdocvw.dll is the file that my registry point to.
>
Well, something other than VFP is hosed here - a corrupted registry is a possibility, but if IE5 is in place, the InProcServ entry for the CLSID should point to SHDOC401, not SHDOCVW.
>
>>>Should I be able to regsvr32 SHDOC401.DLL ??
>>>
>>
>>If SP5 or IE or whatever installed properly, then the file has to have registered properly. If is not a file that can be installed independently of the other shell components that use it. I'd try reapplying SP5.
>>
>>>
>>>>>I am using WinNT 4.0 SP5 with Explorer 5. Should it be registered. The error I get is that it is not registered, not that it is not there.
>>>>
>>>>What's the name of the OLE Server you're registrering? It should be Shell.Application. The following code works perfectly under NT with SP3 or later:
>>>>
>>>>ox=CREA('Shell.Application')
>>>>ox.SetTime()
>>>>
>>>>The provider is not SHELL32.DLL, in spite of your belief to the contrary, it's SHDOC401.DLL with IE5 5.00.2314.1003 installed under both NT and Win98. The GUID is {13709620-C279-11CE-A49E-444553540000}