Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Word read/only, prevent save as, release variable
Message
From
30/07/2007 09:12:27
 
 
To
30/07/2007 08:48:24
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01244081
Message ID:
01244533
Views:
19
I tried
if vartype(loWord.visible) = 'U'
   loWord = createobject("Word.Application")
endif
I get an error message that "RPC server is unavailable". How do I check if the server is available?

>How do I know if user close the documentation (doc) file so that I can reopen it?
>>
>>If you're likely to need Word more than once in the app's session, you should store the object reference to Word somewhere that it won't be lost when you leave the current form/PRG/whatever. That way, you can keep using the same Word instance. An app-level property will work for that.
>>
>>Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform