• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

passing messages to Windows apps

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was wondering if anyone could tell me how I could go about communicating with a Windows application? Specifically, I want to ask it to resume when a user clicks a button on my interface.

What I have at the moment is the following, but the tabtip application still won't open up.

String app = new String("..../tabtip.exe");
Runtime.getRuntime().exec("taskkill -im app");
...
Runtime.getRuntime.exec(app);

I know this code is correct as it works for other applications. It was suggested to me that I pass a /resume parameter to the tabtip application but I'm not sure how to tie this into my code above as I'm not familiar with passing messages to Windows apps.

Any help would be great. Thanks
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic