473,748 Members | 7,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

full screen?

hi, is there anyway i can make my windows form to be full screen? thanks
Nov 21 '05 #1
15 11366

ad this line to your forms load event "Width =
Screen.PrimaryS creen.WorkingAr ea.Width : Height =
Screen.PrimaryS creen.WorkingAr ea.Height : Left = 0 : Top = 0"
so it look slike this
Private Sub FormMain_Load(B yVal sender As Object, ByVal e As
System.EventArg s) Handles MyBase.Load

Width = Screen.PrimaryS creen.WorkingAr ea.Width : Height =
Screen.PrimaryS creen.WorkingAr ea.Height : Left = 0 : Top = 0

End Sub
regards

Michel Posseth [MCP]

"iwdu15" <iw****@discuss ions.microsoft. com> wrote in message
news:5B******** *************** ***********@mic rosoft.com...
hi, is there anyway i can make my windows form to be full screen? thanks

Nov 21 '05 #2
that didnt work, theres still the batr at the top and the start bar, all it
did was the same as maximizing it
Nov 21 '05 #3
is there anyway of making the start menu and taskbar disappear and having it
just be the form?
Nov 21 '05 #4
euhh well

i guess we misunderstood ,,,,, i thought you just wanted to make the form as
big as the working area
what you really want is covering the taskbar ,,,, well i did this once in
VB6 ,,, but it was more sort of a hack

this piece of code will make your form as big as the screens resolution

Width = Screen.GetBound s(Me).Width

Height = Screen.GetBound s(Me).Height

Left = 0 : Top = 0

note that you cannot use the above code in the load event ( you must trigger
it with a delay, or under a button )

now you can do 2 things

1 as your user to put the auto hide option on off the taskbar ( right mouse
on taskbar , properties , and then "auto hide" on

2 you force the hiding of the taskbar however i just tried all the code that
is availlable and on my Windows server 2003 64 Bit these codes do not work

also before you do this read this
http://blogs.msdn.com/oldnewthing/ar...05/414910.aspx

this copmpletely reflects my opinion regarding this

"iwdu15" <iw****@discuss ions.microsoft. com> wrote in message
news:27******** *************** ***********@mic rosoft.com...
is there anyway of making the start menu and taskbar disappear and having
it
just be the form?

Nov 21 '05 #5
so wait, that just got me more confused, is there a way to do it or not?
Nov 21 '05 #6
hmmmm well

i just discovered something strange

i tried my VB6 code and with VB6 it does work on my computer ,,,,, only for
some strange reasson with VB.Net it doesn`t ,,,,,,, and i tried code that is
availlable on the web and my own strange strange
this is interesting ,,, i need some sleep ,, i will see tomorow if i can fix
this

regards

Michel Posseth [MCP]

"iwdu15" <iw****@discuss ions.microsoft. com> wrote in message
news:74******** *************** ***********@mic rosoft.com...
so wait, that just got me more confused, is there a way to do it or not?

Nov 21 '05 #7
ive been looking on google for the past hour and i cant find any workable
code that will hide the task bar and make something full screen....if anyone
can help with this it would b awsome
Nov 21 '05 #8
hi, isnt that VB6 code? and if so,how can i impliment that into VB.net? and
if i cant, is there even any wa to do it in VB.net? thanks
Nov 21 '05 #9
huhhh ???

Well it is writen in VB.Net 2003 ( should also work in the 2000 version )
and i do not see anything VB6 about it ,,, even better this code will not
run in VB6

have you never seen API`s used in .Net ??? ,,, cause this might have
confused you
however .... if you read ths newsgroup with a outloook express like program
you might have seen the atachment ( zip compressed ) this contains a working
project
also in the message i have pasted the functional code ,,,, you can copy and
paste it in your project ,, however be carefull with the API headers keep
them inine with the methods otherwise you will see the belu waves indicating
that something is not declared ,, this is just a mather of lining the code
with the header

regards

Michel Posseth [MCP]
"iwdu15" <iw****@discuss ions.microsoft. com> wrote in message
news:DE******** *************** ***********@mic rosoft.com...
hi, isnt that VB6 code? and if so,how can i impliment that into VB.net?
and
if i cant, is there even any wa to do it in VB.net? thanks

Nov 21 '05 #10

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

Similar topics

9
12319
by: pow67 | last post by:
Is there a javascript statement which can be incorporated in a hyperlink which will open a new page that fills the screen while leaving the page with the link open? Thanks in advance. CW
1
3659
by: Nick Weekes | last post by:
Hi all, Is there any javascript function/s that will tell me if the current browser window is in full screen mode or not? I don't want to resize the window, just size content based on full screen/not full screen. Cheers, Nick
3
1964
by: Pat Sheen | last post by:
Is there some setting in Access so when I get help it will display full screen and not part screen with my Access window. I've Googled and checked help but can't find anything. Thanks Pat
6
5617
by: Tony Liu | last post by:
Hi, when switched to the full screen mode in VS.NET IDE, is there any way to hide the main menu bar? Thanks Tony
6
7578
by: Nicky | last post by:
hi,all We are going to develop a program and when it is running, we need it full screen and also, user can not switch to other place before exit our program. I am thinking, we can make a window full screen, but how to avoid user switching to other program or windows? And also, there are many hot keys, how to capture or disable these things? Thanks
9
3116
by: Jensen bredal | last post by:
Is there any way i can view my web page in full screen mode? F11 still hhas the internet explorer tool bar. Many thanks in advance JB
0
2195
by: Franklin M. Gauer III | last post by:
Hi, We have an application running that uses FULL SCREEN ANCHORING in Windows Forms. The application runs fine on all of our desktops and some laptops. We are having problems with certain Dell laptops using an Nvidia Go graphics driver (multi screen). When the app goes full screen - .NET does not detect the right and bottom boundary of the screen - therefore all of the buttons etc. that are anchored to either the right and/or the...
9
2411
by: EreN | last post by:
Hi! Im new in this group so i dont know if that topic has been opened before.. I want to ask that how can i make my console program open in full screen mode? Thanx...
7
3120
by: MC felon | last post by:
i worked and compiled programs in code::blocks. These .exe's do not have full screen modes in them! how do i get them to work full screen?even properties of these exe's do not have full screen modes in them. (right click -properties). what do i do to enable full screen?
3
1863
dmjpro
by: dmjpro | last post by:
I am using this JavaScript code to open a window in a full screen mode .... var styles = "menubar=no,location=no,resizable=no,scrollbars=yes,status=no,left=0,top=0,width="+screen.width+",height="+screen.height; alert('Width: ' + screen.width + 'Height: ' + screen.height); var _win = window.open("welcome.jsp","opener_window",styles); Now it's working properly in IE but not working in Mozilla. In Mozilla, first of all it's having the...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9372
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9247
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8243
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3313
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 we have to send another system

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.