In the load event of this form: PUBLIC oWord
When I unload: RELEASE oWord
When I want to edit a proposal or two, I use this block:
TRY
oWord.Documents.Open(***)
CATCH && In case there's no Word open or Word was closed
oWord = CREATEOBJECT("Word.Application"
oWord.Documents.Open(***)
ENDTRY
oWord.Visible = .t.
Here's the problem though: I can open one document fine, but the program completly ignores me when I try to open a second document; it's like it didn't open at all.
What am I doing wrong? Thanks again!
When I unload: RELEASE oWord
When I want to edit a proposal or two, I use this block:
TRY
oWord.Documents.Open(***)
CATCH && In case there's no Word open or Word was closed
oWord = CREATEOBJECT("Word.Application"
oWord.Documents.Open(***)
ENDTRY
oWord.Visible = .t.
Here's the problem though: I can open one document fine, but the program completly ignores me when I try to open a second document; it's like it didn't open at all.
What am I doing wrong? Thanks again!