Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i control the process i create?

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a applet ,i create a Process to control the word,like these:
p = Runtime.getRuntime().exec("winWord "+fileName);
int processExit=0;
try {
if(processExit==0) {
...code to do
if the user close the word which i create ,i can catch the Exit event,so i can do somthing else.
but if the user has opened a word, then when the new word create ,the Exit event arise before the user close the new word i
how can i avoid all these happen???
anyone can help me ???
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic