Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Wizards - where's the beef
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00321818
Message ID:
00322609
Views:
31
The key will still be there. The only safe way to do this, IMHO, is to trap for the error when instanciating the Excel object.

>Jeff & Ed,
>OK now you got me confused. My user installs Excel wherever... I know have my HKEY entry in the registry. Said user whacks Excel, via Explorer. Blows it right off the disk, no uninstall. My HKEY value in the registry stills exists or does not exist?
>
>>>So, even if they just delete the directory and don't do an uninstall.
>HKEY_CLASSES_ROOT\Excel.Application will report correctly and I don't know what I'm Talking about. Is that about it. :)
>>>
>>
>>NOOOOO! Stupid end-user tricks still work just like always - we still find that the end-users play with FDISK, DELTREE, and almost any other unsupervised, loaded handguns that they might not have tried on this particular machine, but ShellExecute() and the Shell.Application Open method are easy to trap, and looking for a directory does not get around the semi-literate programmer trick of installing somewhere you wouldn't expect to find it like on the D: drive or up on a network. Or frobbing directory attributes.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform