home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 2002 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!zazen!psl.wisc.edu!vision.waisman.wisc.edu!dannemiller
  3. From: dannemiller@vision.waisman.wisc.edu
  4. Subject: vb/saving other app's work
  5. Message-ID: <12JAN93.18022872@vision.waisman.wisc.edu>
  6. Sender: news@pslu1.psl.wisc.edu (USENET News System)
  7. Organization: Waisman Center, University of Wisconsin-Madison
  8. Date: 12 JAN 93 18:02:28 CST
  9. Lines: 15
  10.  
  11. I am writing an application in VB.  I would like to 
  12. periodically check to see if another apllication is 
  13. active and if it is send a message to it to save it's 
  14. current file.  I know that I can do this using appactivate 
  15. and sendkeys, but the other application has to be maximized 
  16. to use sendkeys, and this is annoying to have the other
  17. application suddenly maximize form an icon while you are working on 
  18. something else.  Can anyone tell me how to send a message 
  19. to another application telling it to save its current work?
  20. Please be as explicit as possible as my C programming experience 
  21. is somewhat limited.  I have tried using the SendMessage function, 
  22. but I can't figure out what message to send.
  23.  
  24. Thanks,
  25. Jim Danforth
  26.