Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Visual Basic simple Prompt window with Minimize button

Reply
 
Old 08-15-2009   #1 (permalink)
Editor01


 
 

Visual Basic simple Prompt window with Minimize button

Is there any way of creating a simple Prompt Window with a Minimize
button?

My System SpecsSystem Spec
Old 08-15-2009   #2 (permalink)
Al Dunbar


 
 

Re: Visual Basic simple Prompt window with Minimize button


"Editor01" <desertfox02@xxxxxx> wrote in message
news:57d83e0c-8bff-4e03-8f3f-11279d681ce5@xxxxxx
Quote:

> Is there any way of creating a simple Prompt Window with a Minimize
> button?
There probably is - with VISUAL BASIC. But with VBScript, the answer is now.

Unless, of course, you would be happy with having your script create a
browser window having a minimize button.

/Al


My System SpecsSystem Spec
Old 08-15-2009   #3 (permalink)
Todd Vargo


 
 

Re: Visual Basic simple Prompt window with Minimize button

Editor01 wrote:
Quote:

> Is there any way of creating a simple Prompt Window with a Minimize
> button?
It sounds like you want to open a minimized command prompt window. If so,
you can build in the following. If not, please provide more details about
what you are trying to do.

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%comspec%", 2

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

My System SpecsSystem Spec
Old 08-17-2009   #4 (permalink)
Editor01


 
 

Re: Visual Basic simple Prompt window with Minimize button

On Aug 16, 7:28*am, "Todd Vargo" <tlva...@xxxxxx> wrote:
Quote:

> Editor01 wrote:
Quote:

> > Is there any way of creating a simple Prompt Window with a Minimize
> > button?
>
> It sounds like you want to open a minimized command prompt window. If so,
> you can build in the following. If not, please provide more details about
> what you are trying to do.
>
> Set WshShell = WScript.CreateObject("WScript.Shell")
> WshShell.Run "%comspec%", 2
>
> --
> Todd Vargo
> (Post questions to group only. Remove "z" to email personal messages)
Todd Vargo,
First of all thank you for replying. I just wanted to
use a Visual Basic script for Secure Crt. When i get a prompt window,
i want to interact with the background process.

Usually when i get a prompt window, i will not be able to do any other
work within Secure Crt. I will have to choose yes or no.

So i want a script which will send a prompt window, but at the same
time has minimize button. So that i can minimize and continue my work.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Minimize to tray with close (X) button option update! Live Mail
Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic Vista General
Running Visual C++ and/or Visual Basic under Vista Home Premium OS Vista General
Can TaskMan's red 'Close' button be made to minimize instead? Vista General
Minimize Button and its bar... Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46