DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: Shell command

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

    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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links