473,503 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding the task bar through code.

UJ
How can I hide the task bar through code? I essentially want to change the
option to hide automatically so I can use the full screen.

TIA - Jeff.
May 17 '06 #1
6 2250
Generally it's not a good idea to override a user's settings. Here is
an article you might find helpful

http://vbaccelerator.com/home/VB/Cod...ps/article.asp

May 17 '06 #2
UJ
Actually I got the code working. It now forcibly hides the task bar and it's
gone for good. Is there any way to turn the auto hide feature one?

I'm doing this for a product that is going to run like a kiosk.

TIA - Jeff.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com...
Generally it's not a good idea to override a user's settings. Here is
an article you might find helpful

http://vbaccelerator.com/home/VB/Cod...ps/article.asp

May 17 '06 #3
How can I hide the task bar through code? I essentially want to change the
option to hide automatically so I can use the full screen.


If you create a fullscreen maximized form, the shell will respect that
and your application will be able to cover the entire screen without
messing with the taskbar settings.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
May 17 '06 #4
Mattias Sjögren wrote:
If you create a fullscreen maximized form, the shell will respect that
and your application will be able to cover the entire screen without
messing with the taskbar settings.


If the taskbar is not set to auto-hide and is set to stay on top of other
windows, then this won't work.
--
Tom Porterfield

May 17 '06 #5
Tom,
If the taskbar is not set to auto-hide and is set to stay on top of other
windows, then this won't work.


Works nicely here with the same settings. You have to maximize the
form and set the FormBorderStyle to None and/or set ControlBox =
false.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
May 17 '06 #6
Mattias Sjögren wrote:
Tom,
If the taskbar is not set to auto-hide and is set to stay on top of other
windows, then this won't work.


Works nicely here with the same settings. You have to maximize the
form and set the FormBorderStyle to None and/or set ControlBox =
false.


Ah, now the missing details. Just Maximizing and setting ControlBox=false
does not work. Maximizing and setting FormBorderStyle=none does work,
regardless of ControlBox property.
--
Tom Porterfield

May 18 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2531
by: R. Rajesh Jeba Anbiah | last post by:
Sometimes ago I started a thread <http://groups.google.com/groups?threadm=abc4d8b8.0404012208.76ebdba7%40posting.google.com> <Previous post> I'm supposed to hide the php extension in a file...
11
4167
by: Lorenzo Villari | last post by:
I premise I don't know C++ well but... I wondered what is this data hiding thing... I mean, if I can look at the header (and i need it beacuse of the class), then what's hidden? Can someone give...
6
1982
by: Roy | last post by:
Since a datagrid is just an html table anyways, this seems like it should be easy but it's giving me a hard time. In ItemDataBound sub I'm trying to kick off javascript code using response.write()....
11
13589
by: CodeLeon | last post by:
Hi. I would like to create a keylogger, are there any good tutorials? Also, more importantly, how do i hide this process from the task manager? NO, i am not a virus writer, so PLEASE no messages...
3
4323
by: =?Utf-8?B?U3RldmVU?= | last post by:
Is it possible to hide a row within a PropertyGrid based upon the boolean value of another row within the PropertyGrid? I am using VS2005 with .NET Frameworks 2.0. -- ----------- Thanks,...
0
907
by: joshtboy9987 | last post by:
Hello, I was wondering how to hide a program from the task list in Windows Task Manager... I know I take it off with 'Me.Hide' but it won't take it off the task list... (I don't care if it's in...
2
1171
by: styles | last post by:
Hey, I'm creating a app in C# to monitor my kids computer usage. I right now have a timer running. It at the correct time brings up MessageBox.Show's and tells him to get off. Now, this has worked...
162
10065
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
0
1290
by: G8or | last post by:
I have a problem for some reason with Vbhide on one XP computer. I have some code running on 30 XP machines and it runs fine, but one XP machine doesn’t want to hide the window when executed. ...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7274
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5576
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1507
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.