Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 18th, 2007, 06:01 AM
Authorized User
 
Join Date: Sep 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hide Task bar through vb6 code

Hi All

I have an application which is developed in vb6 according to resolution 800*600. in this application I want to show this application completely over the screen including start or task bar.


Thanks in advance
 
Old December 18th, 2007, 10:33 AM
Authorized User
 
Join Date: Sep 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

actually I need to enable auto hide by vb6 code. urgent

Thanks in advance

 
Old December 18th, 2007, 04:31 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

The task bar belongs to the desktop. Though a Vb 6 app runs in the desktop, it does not own the desktop. I haven't actually looked into this, but I would be pretty sure that Vb cannot do this without manipulating the DeskTop's permissions, a pretty involved process.

Perhpas you can instruct users on how to do this themselves, and allow them to verify that they have done so before the program proceeds.
 
Old December 19th, 2007, 11:14 AM
Registered User
 
Join Date: Nov 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pretty Simple .. Set in form properties the following
 windows state=Maximized
 ShowinTaskBar=False
 StartupPostion=CentreScreen.

Run the project . ur task bar will be hidden

 
Old December 19th, 2007, 01:25 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

raguapk, the task in the taskbar will be hidden (ShowinTaskBar = False). But if the taskbar itself is not set to AutoHide, it will still occupy "its space" on the screen.
Also, what exactly would be the use of StartupPostion = CenterScreen with Window State = Maximized?
 
Old December 20th, 2007, 09:32 AM
Authorized User
 
Join Date: Sep 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks
I used some APIs which hide the start or task bar at runtime and I got some code which increased the height of my MDI.

and my pupose solved.

Thanks again
 
Old December 28th, 2007, 01:23 PM
Registered User
 
Join Date: Nov 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey ! can u post how u did it using apis ,, we all can know~






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide a process in task manager ri_shu C++ Programming 3 October 25th, 2007 10:22 PM
hide the task bar when program run anchal C# 2 July 28th, 2006 12:14 PM
how to hide a process in task manager ri_shu Visual C++ 0 April 5th, 2006 07:33 AM
how to hide the process from the task-manager ri_shu VB How-To 0 April 5th, 2006 07:28 AM
Task Bar Disappears NRT Beginning VB 6 0 October 20th, 2003 01:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.