Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


I don't think this been done before, till Now? - Hide cmd prompt when using .Exec Method

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,60348
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> I don't think this been done before, till Now? - Hide cmd prompt when using .Exec Method
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 I don't think this been done before, till Now? - Hide c... - 5/18/2008 10:02:21 AM   
  yfki

 

Posts: 78
Score: 0
Joined: 12/12/2007
Status: offline
Has this been done before? - Hide cmd prompt when using .Exec Method

This works great for me, tested on XP, and Vista Ultimate 64.


The trick is here, example: ("ConsoleWindowClass", "C:\Windows\system32\cmd.exe - C:\Cygwin\Bin\bash  --login -i")
Make sure the Title (second arg)  matches exactly.

More info on SetWindowPos()
http://msdn.microsoft.com/en-us/library/ms633545(VS.85).aspx

Need to have DynamicWrapper .dll registered.
http://freenet-homepage.de/gborn/WSHBazaar/WSHDynaCall.htm

If anyone wants to help, I'm trying to create the strucutres etc, to also add in Minimize/Maximize/Restore functionality.
http://69.10.233.10/KB/dialog/Minimizewindow.aspx


      

< Message edited by yfki -- 5/18/2008 11:36:30 AM >
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> I don't think this been done before, till Now? - Hide cmd prompt when using .Exec Method Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts