How Can It Full-screen If The Computer Has Dual Monitors
Nov 5, 2009
i've managed to have the form in fullscreen.. How can it fullscreen if the computer has dual monitors?
.MaximizeBox = False
.MinimizeBox = False
.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
.WindowState = System.Windows.Forms.FormWindowState.Maximized
View 2 Replies
ADVERTISEMENT
Jul 8, 2009
I am working on a custom bulletin board system for my company. The idea is to have a program running that displays a full screen bulletin board on many monitors around our facility. I wrote a VB client that pulls from a server and displays a single board perfectly - I am wondering how to expand this.
View 10 Replies
Aug 10, 2010
If a form is being displayed on the secondary monitor, is there a way to make sure that a MessageBox generated by that form will display back on the primary monitor? The form is being displayed over a projection system and some messages do not need to be seen by the audience, just the computer operator.
View 1 Replies
Oct 27, 2011
I just got this really cool 9" monitor (USB attached) which I will be using for dialogs in my vb application. Can someone tell me why this code displays on both machines? if I change screen=AllScreens(1) to (2) the form is only shown on the primary but I want to show it on the very cool USB screen.
[Code]....
View 3 Replies
Mar 22, 2009
(vb 2008) how coud you make a picture saved on my computer go full screen and stay full screen for 30 seconds?
View 1 Replies
Mar 28, 2009
I have a button btnRegEx that when pressed shows a ContextMenuStrip, similar to the '>' button in the Find/Replace dialog in Visual Studio when you are using Regular Expressions. I have a ContextMenuStrip cms which I show using its Show(x,y) method.
At first I was simply setting x and y (the location of the ContextMenuStrip) to some point next to the button, but I noticed that when the button is close to the edge of the screen it goes off screen. I wanted to prevent that so I built some logic into the x-y calculation. When the ContextMenuStrip width is larger than the 'remaining space left' I simply show it more to the left. Same for its Height of course. I am using the Screen.GetWorkingArea(point) method to determine the 'remaining space left'. As I understand it, it returns the working area closest to the point you specify (to which I pass the button's location).
As long as I stay on my first monitor, it is all working perfectly fine. The problem occurs when I move the form to my second monitor. The contextmenustrip is still showing on the first monitor for some reason...
Here is the code I am using:
vb.net Private Sub btnRegEx_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegEx.Click
Dim p As Point = PointToScreen(New Point(btnRegEx.Left, btnRegEx.Top))
Dim x, y As Integer
[CODE]...
I have noticed that when I click the button when the form is on the second monitor, the buttons location (p) is calculated with the first monitor's top-left corner as (0,0), even though it is on the second monitor. This way, the GetWorkingArea function returns something like 1280, while the buttons x-location is something like 1700... So, how do I get the buttons coordinate relative to the actual screen it is on, rather than the entire dual monitor screens as a whole?
View 3 Replies
Apr 29, 2011
I have made quite a nice and tidy little game. Its based around space invaders and works quite well. however because i have finished my college project almost 2 weeks ahead of the assignments release date, my tutor has asked me to tweak my project and make it better.So far i have added a full main menu to the game and a full splash screen. I would like to add in a section for recorded high scores but have no idea how to attempt this at all.
View 3 Replies
Aug 25, 2010
I try to create a dual video player with VB 2010.
With that I have 2 forms, 1 main form (with all the controls and it should contain a preview screen of what is being displayed on the second form.
And a second form (with a windows media player component).
Now the main form should have (as told) a preview screen of what is shown on the second screen, I want to know if it is possible to have is as the windows 7 taskbar thumbnail (when preview the mediaplayer).
View 2 Replies
Jun 28, 2010
Now this program will only be used on systems that I produce, and send out. I need to make sure that for any monitor that these people use it will always be at the standard resolution of 1440 x 900..
I have tried setting up profiles with catalyst control panel, but if you plug in a different monitor to the one that was plugged in when you made the profile it wont recognise the screen and the system wont run properly.
So I wanna see if I can change the resolutions of the screen that will be plugged in the monitor slot and also if possible make sure the other extended screen should there resolution of 1024 x 768..how much control can you get over the monitors that are plugged in?
View 3 Replies
Oct 4, 2010
I recently bought this multi-touch monitor (writing on it right now :P), and am creating an application for it. Now I need to detect which screens are touch-enabled. For example, I have the touch screen as my main monitor now, but I also have a secondary regular screen, I need the aplication to be able to detect which monitor has a touch screen, EVEN WHEN THE TOUCH SCREEN IS THE SECONDAY NONITOR!
View 4 Replies
Feb 2, 2012
Now I'm creating at app in VB (Microsoft's, Visual Basic 2010) which will be in full screen but I want to know if I can put all my content in the centre of the screen. At the moment it's at the far top, left of the screen. When the screen size varies I want it will stay in the middle for all shapes and sizes. Like :
<div style="margin: 0 auto; width: 500px;"></div>
But this is for web pages using HTML and CSS.
View 1 Replies
Feb 4, 2011
I have an application that produces a form whose objects are scaled to the width and height of the primary monitor whose parameters are obtained from:
Dim ScreenWidth As Integer = Screen.PrimaryScreen.Bounds.Width
Dim ScreenHeight As Integer = Screen.PrimaryScreen.Bounds.Height
So far, the program works fine. A possible problem arises when multiple monitors are being used that do not share the same resolution. For example, if the 2nd monitor has a low resolution, then the form is cut-off.
I'd like to:
1.) determine that more than half the form has been moved to another monitor
2.) determine the resolution on the second monitor.
I suspect that the following command will give me all the dimensions that I need:
Dim ScreenWidthUsed As Array = Screen.AllScreens
In which case I just need to determine the screen that is hosting more than 1/2 the form.
View 3 Replies
Feb 18, 2010
I am making a program that will put a black mask over an application (like a full screened game). This black mask will fade in and out, depending on certain criteria. Is there a way I can do that with VB? It's to help me dim my monitor without having to push anything.
View 3 Replies
Dec 28, 2011
How do you get an application, using Microsoft Visual Basic 2010 express, to run in full screen mode. You know what I mean, like a game would but an application.
View 2 Replies
Feb 17, 2009
I,ve been making this DVD Player everything is fine all the codes are fine but I can't put Full Screen on my DVD Player. I have been trying to work it out for a while but can't seem to do it. I have this button that says Full Screen and I'm trying to work out how i can click on the button and the dvd player goes full screen.[code]
View 10 Replies
Sep 5, 2011
I have a program and I want this to be full screen for all resolution.
How i can do this ?
Current program resolution is: 1000, 780
View 2 Replies
Jan 22, 2010
can someone point me in the direction of how to make my app. Go fullscreen? Like how IE does it when you press F11 or a slideshow in WMP.
View 5 Replies
May 19, 2012
I know the code of full screen is
If Me.WindowState = FormWindowState.Normal Then
Me.WindowState = FormWindowState.Maximized
Else[code]....
but i want the content be expanded when it is full screen.
View 6 Replies
Oct 3, 2009
How do I make flash go on full screen mode when I click on the form button?? Just like this: [URL] I seached on google and couldn't find the flash source code for vb.net.
View 18 Replies
Oct 3, 2009
How do I make flash go on full screen mode when I click on the form button??
Just like this:http://img151.imageshack.us/img151/2429/flashoa6.png
I seached on google and couldn't find the flash source code for vb.net.
View 10 Replies
Jul 16, 2009
How Can I make the form full screen ? i want the codewhich can do this
View 4 Replies
Jan 6, 2010
How to run full screen,give me your code
View 2 Replies
Jul 12, 2009
if i have my form1 set to TopMost = Ture & i have another Program that's go's full screen why does my Form1 now still be on the Top ? and how can i make sure it is allays on top even if a program go;s in Full Screen Mode?
View 1 Replies
Dec 11, 2009
the code for making a tabed web browser(using tabcontrol) fullscreen
View 1 Replies
Jul 21, 2009
I am looking for some code that can move my window around when I click on the top of my program. At the top of any program there is a bar that you can click on when the window is not in Full Screen mode. When you click on the bar you can move the program.
View 10 Replies
Jan 27, 2010
I am having an issue with displaying a PDF in an iframe in asp.net. When the pdf shows up it is showing up without the Acrobat toolbar that allows the user to zoom and print. This is causing a major hassle for our customers because they cannot read the PDF in the size that it is. If you try and set Acrobat to not show the PDF in the browser and browse to that page you get a message saying that it is trying to open it in Full Screen mode.Below is the code I use to stream the PDF to the browser:
Public Shared Sub StreamPdfToBrowser(ByVal doc As Document)
Dim Ctx As HttpContext = HttpContext.Current
'// Clear any part of this page that might have already been buffered for output.
[code]....
View 1 Replies
Aug 23, 2011
how to center my form and make it full screen
[Code]...
View 11 Replies
Jun 22, 2009
My name is Orens Xhagolli and I am a between Beginner-Intermediate level. I am trying to create a little game with nice-looking and good options in Visual Basic.net. A good game needs to run in full screen. (Because the new directX is not suitable for my age (13) I don't want to use it and beacuse its a bit difficult to use it.) I read a few answers in MSDN forums but the full screen there doesn't take the entire screen ( The taskbar is visible ).
View 10 Replies
Jan 11, 2011
to make my form full screen. i need the screen to be on top of the task bar and on top over any other application that is running behind it.
View 3 Replies
Nov 23, 2009
I have finished my winform project. And now, i want to setting my application full screen mode. I tried, but my layout was not is the same as mode is before full screen.
View 2 Replies