home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / tools / 558 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.2 KB

  1. From: galenr@hpgrla.gr.hp.com (Galen Raben)
  2. Date: Thu, 23 Jul 1992 15:19:09 GMT
  3. Subject: Re: Problems with "Shell" command in VB
  4. Message-ID: <36720004@hpgrla.gr.hp.com>
  5. Organization: Hewlett-Packard, Greeley, CO
  6. Path: sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!hpfcso!hpgrla!galenr
  7. Newsgroups: comp.os.ms-windows.programmer.tools
  8. References: <BrI3Gy.Ho2@news.cso.uiuc.edu>
  9. Lines: 20
  10.  
  11. In comp.os.ms-windows.programmer.tools, mwh45279@uxa.cso.uiuc.edu (Marc Henkel) writes:
  12.  
  13. >Hello all, 
  14.  
  15. >I am trying my first application in Visual Basic, and it
  16. >is really starting to give me some headaches.  I am trying
  17. >to shell out to executable program within my VB program.
  18. >Now, the "Shell" command is wonderful and everything, but here's
  19. >the rub...  The executable is just a simple little program that
  20. >runs with no output (it links an IP number to a share name in
  21. >LAN Manager, addname.exe to be exact).  I want it to run, do it's
  22. >thing quietly, and then go away.  Right now, it runs, put's a
  23. >minimized window up, does it's thing, returns back to the VB
  24. >program, but leaves the minimized window up!!  I have several
  25.  
  26. You need to set up a PIF for each dos program you wish to run (or
  27. change the DEFAULT PIF)...  In the pif editor be sure to set up
  28. "close on exit"...
  29.  
  30. - Galen -
  31.