Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 18th, 2007, 06:01 AM
Authorized User
 
Join Date: Sep 2007
Location: Delhi, Delhi, India.
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
Reply With Quote
  #2 (permalink)  
Old December 18th, 2007, 10:33 AM
Authorized User
 
Join Date: Sep 2007
Location: Delhi, Delhi, India.
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

Reply With Quote
  #3 (permalink)  
Old December 18th, 2007, 04:31 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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.
Reply With Quote
  #4 (permalink)  
Old December 19th, 2007, 11:14 AM
Registered User
 
Join Date: Nov 2007
Location: ffps fspf, jjfgkfg, India.
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

Reply With Quote
  #5 (permalink)  
Old December 19th, 2007, 01:25 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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?
Reply With Quote
  #6 (permalink)  
Old December 20th, 2007, 09:32 AM
Authorized User
 
Join Date: Sep 2007
Location: Delhi, Delhi, India.
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
Reply With Quote
  #7 (permalink)  
Old December 28th, 2007, 01:23 PM
Registered User
 
Join Date: Nov 2007
Location: ffps fspf, jjfgkfg, India.
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~

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.