>Hi Cetin,
>
>Thanx every so much once again. Please suggest a method for detecting the presence of word on a users computer. I bomb out if I attempt to create an object reference to word if word is not present.
>
>Neil
>
>>>Hi Cetin,
>>>
>>>I have one more question about your suggestions? You mentioned that you set a timer to monitor if printing is completed. What WORD property indicates if printing is completed or not?
>>>
>>>Thanx
>>>Neil
>>
>>
BackGroundPrintingStatus.
>>Cetin
Hi Neil,
I wasn't be able to connect for days.
I check registry to see if class is registered or not :
Lparameters tcClass
#Define HKEY_CLASSES_ROOT -2147483648
#Define ERROR_SUCCESS 0
Declare Integer RegOpenKey IN Win32API ;
Integer nHKey, String @cSubKey, Integer @nResult
Declare Integer RegCloseKey IN Win32API ;
Integer nHKey
Local lnKey
lnKey = 0
llRetVal = ( RegOpenKey(HKEY_CLASSES_ROOT, tcClass, @lnKey) = ERROR_SUCCESS )
If llRetVal
RegCloseKey(lnKey)
Endif
Return llRetVal
? _IsClassRegistered("word.application")
Cetin