Article View: comp.os.ms-windows.programmer.tools
Article #173Re: Problems with "Shell" command in VB
From: Galen Raben
Date: Thu, 23 Jul 1992 15:19
Date: Thu, 23 Jul 1992 15:19
20 lines
1304 bytes
1304 bytes
In comp.os.ms-windows.programmer.tools, mwh45279@uxa.cso.uiuc.edu (Marc Henkel) writes: >Hello all, >I am trying my first application in Visual Basic, and it >is really starting to give me some headaches. I am trying >to shell out to executable program within my VB program. >Now, the "Shell" command is wonderful and everything, but here's >the rub... The executable is just a simple little program that >runs with no output (it links an IP number to a share name in >LAN Manager, addname.exe to be exact). I want it to run, do it's >thing quietly, and then go away. Right now, it runs, put's a >minimized window up, does it's thing, returns back to the VB >program, but leaves the minimized window up!! I have several You need to set up a PIF for each dos program you wish to run (or change the DEFAULT PIF)... In the pif editor be sure to set up "close on exit"... - Galen -
Technical Details
Message-ID:
<36720004@hpgrla.gr.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!hpfcso!hpgrla!galenrReferences:
<BrI3Gy.Ho2@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
From: galenr@hpgrla.gr.hp.com (Galen Raben) Date: Thu, 23 Jul 1992 15:19:09 GMT Subject: Re: Problems with "Shell" command in VB Message-ID: <36720004@hpgrla.gr.hp.com> Organization: Hewlett-Packard, Greeley, CO Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!hpfcso!hpgrla!galenr Newsgroups: comp.os.ms-windows.programmer.tools References: <BrI3Gy.Ho2@news.cso.uiuc.edu> Lines: 20