Shell command


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Shell command

  1. #1
    Join Date
    Dec 2004
    Location
    Porto - Portugal
    Posts
    42

    Shell command

    Hi,

    If we try to use the shell command in VB 6.0 to run another application ( like a bat file that does its job and ends there ) the msdos black window appears.

    How can we avoid this (I knew this, but I forgot...)?

    Cheers,

    Kepler

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Pass the optional WindowStyle parameter to the Shell command. Try vbMinimizedNoFocus or vbHidden.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. waiting for shell command to complete
    By kgkidd in forum VB Classic
    Replies: 1
    Last Post: 09-20-2005, 01:40 PM
  2. Shell Command
    By rkbnair in forum VB Classic
    Replies: 1
    Last Post: 06-15-2005, 06:32 PM
  3. launching default browser using SHELL command
    By Lithic in forum VB Classic
    Replies: 12
    Last Post: 02-25-2005, 03:02 PM
  4. Replies: 4
    Last Post: 06-26-2001, 10:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center