|
-
Feb 17th, 2000, 12:45 PM
#1
Thread Starter
Fanatic Member
I have developed a small application, which works fine for the most part. The problem begins when it tries to open Word or Excel. If they are not already opened everything is fine, but if user opened Word or Excel (and of course didn't close them) before running my program it crashes basically (not everytime but usually it does). So here are my Q's:
1) how to check if Word or Excel is running. I know that I could look for window with specific caption (what I did actually), but how can I check if word or excel are in memory but are not visible?
2) how to close them once I know that they are running (through code of course).
I hope you get the idea of what I mean. Thanks in advance
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 02-18-2000).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|