Hide external application


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Hide external application

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Posts
    54

    Hide external application

    In my application I have to call to an external application which when finishes popups a window saying only that all was ok. This external program doesn't have parameters to avoid that window.

    There is any way to hide this window?
    Thanks!

    I use this code:


    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.CreateNoWindow = true;
    proc.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
    proc.StartInfo.FileName = "xxxx";
    proc.StartInfo.RedirectStandardError = false;
    proc.StartInfo.RedirectStandardOutput = false;
    proc.StartInfo.CreateNoWindow = true;
    proc.Start();

  2. #2
    Join Date
    Oct 2008
    Posts
    142

    messagebox answer

    hi there,

    if you dont see the window of this application you are calling ( which you shouldnt be able to see ) then you are doing all right.
    the problem is that what you are looking at might not be a pop-up window but rather a message box, like an alert box in javascript or msgbox in vbscript.
    if this message box is system or modal it is even worse.
    by default, the behaviour of a message box is modal, and on top of this you can make this message box system type, so that you cannot have even access to, for example, the desktop until you are done with this system message box.

    my only advise: if this is a message box in the language this application you are calling is written then

    1: modify this source code so that no message box is shown by the end of this application, as another version of this very same application.
    2: have a command line parameter in this program you call, so that this program knows whether to display or not.

    best regards,

    tonci korsano

  3. #3
    Join Date
    Nov 2004
    Posts
    54
    Thanks but this application I'm calling is not mine so I can't change anything in it

Similar Threads

  1. Hide application from Taskmanager
    By allenflame in forum .NET
    Replies: 11
    Last Post: 07-10-2007, 01:18 AM
  2. hide from application list
    By anonymous in forum VB Classic
    Replies: 1
    Last Post: 09-18-2004, 11:30 AM
  3. hide application
    By anonymous in forum VB Classic
    Replies: 1
    Last Post: 08-28-2004, 04:18 PM
  4. How to hide an application from Windows
    By anonymous in forum VB Classic
    Replies: 4
    Last Post: 04-18-2002, 03:10 PM
  5. How do I Hide my Application?
    By Chris Howell in forum VB Classic
    Replies: 3
    Last Post: 04-11-2000, 09:22 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