Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Try
o = CreateObject("Word.Application")
? o.Version
Catch
? "Word is not installed (properly)"
EndTry
Clear
Local Array laProductKeys[2]
Local lcProduct
loReg = NewObject("registry",_Samples+"classes\registry.prg")
If loReg.EnumOptions(@laProductKeys,"SOFTWARE\Classes\Installer\Products",-2147483646,.T.) = 0
For Each lcProductKey In laProductKeys
If loReg.GetRegKey("ProductName",@lcProduct,"SOFTWARE\Classes\Installer\Products\"+lcProductKey+"\",-2147483646) = 0
? lcProduct
Else
? "No Product name for Prodcuct Key ",lcProductKey
Endif
EndFor
Else
? "No Product Enumeration Found"
Endif
OWORD = CREATEOBJECT("Word.Application")
MESSAGEBOX(OWORD.application.version)