>I need to register or update a OCX from my application. But the location of the OCX depend on the platform it install ( Win95/98 or Win NT).
>
>How can I know if it Win NT that is running or Win95/98 from my VFP applicaiton?
If you are running VFP you can call the OS() function. That returns the operating system. In FPW there was some problems with this function passed win 3.1
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers