>>>We only have Windows 7 64 bit here but I need to know how to check if my app is running on the 32 or 64 bit version. I assume would can use OS() but I don't know what parameter value to use and what return value will tell me the difference. >>> >> >>See http://www.berezniker.com/content/pages/visual-foxpro/how-detect-64-bit-os > >Many thanks once again Sergey. Exactly what I needed.