Article View: comp.os.ms-windows.programmer.tools
Article #172Re: Problems with "Shell" command in VB
From: Martin Schloeter
Date: Fri, 24 Jul 1992 11:35
Date: Fri, 24 Jul 1992 11:35
20 lines
1635 bytes
1635 bytes
Hi Marc MH> I am trying my first application in Visual Basic, and it MH> is really starting to give me some headaches. I am trying MH> to shell out to executable program within my VB program. MH> Now, the "Shell" command is wonderful and everything, but here's MH> the rub... The executable is just a simple little program that MH> runs with no output (it links an IP number to a share name in MH> LAN Manager, addname.exe to be exact). I want it to run, do it's MH> thing quietly, and then go away. Right now, it runs, put's a MH> minimized window up, does it's thing, returns back to the VB MH> program, but leaves the minimized window up!! I have several MH> commands that need to be run like this, and I really don't MH> want to have 10 different minimized windows at the bottom of MH> my screen when the VB program runs. I have tried all the different Create PIF-Files (with the PIF-Editor of Windows) for the little apps you start with "Shell". In the PIF-File-Option is a flag "Close on Exit" in the lower left corner of the PIF-Editor-Dialog. Hope this helps Martin
Technical Details
Message-ID:
<18946201@p3.f67.n245.z2.fidonet.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!sungate.fido.de!p1.hippo.fido.de!eurologic.fido.de!Martin_SchloeterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!sungate.fido.de!p1.hippo.fido.de!eurologic.fido.de!Martin_Schloeter Date: Fri, 24 Jul 92 13:35:11 +0200 From: Martin_Schloeter@eurologic.fido.de (Martin Schloeter) Subject: Re: Problems with "Shell" command in VB Message-ID: <18946201@p3.f67.n245.z2.fidonet.org> Newsgroups: comp.os.ms-windows.programmer.tools X-Comment-To: mwh45279@uxa.cso.uiuc.edu (Marc Henkel) Organization: Die ersten 100.000 Jahre... Lines: 20