General information
Category:
Coding, syntax & commands
>>>>>
>>>>Don't think this will work. When VFP shuts down all objects are released and word will shut down. Think to get this behavior you must do the RUN command.
>>>
>>>Thats is what it seems should work but when I run this code and exit VFP, the Word that was started stays out there.
>>>
>>If you want to make sure everything is shut down when vfp quits create cod e for the on shutdown command that closes any open ole applications before quitting.
>
>Eugene, could you give me that tip again? I haven't had a chance to try either it or the RUN command yet. Todd, doesn't RUN require the full path back to the apllication? I don't know how or where users will have Word installed.
>
>Thanks guys,
>
>Ross
Here you go Ross. When I run this it does what you are asking for. Even though I start this in VFP, it stays running even after I leave VFP. If you want to close it out within VFP then include this line..."loWord.appclose()"
loWord = GETOBJECT("", "word.basic")
loWord.appshow()
GeneS
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only