Screen Sizing - Max=stuck - Won't Get Off The Max Screen Size

Feb 11, 2011 / VisualStudio8 I have an application I've written that's been very stable. I had it set to exactly 1024x768 resolution, and to windowsstate=maximize (I think that's what it's always been).

I recently started coding to give the user the option to use the 1024x768 or to have the program detect the max size of the screen and use it.

That part works great... I'm using:

Dim MonitorWidth = Screen.PrimaryScreen.Bounds.Width
Dim MonitorHeight = Screen.PrimaryScreen.Bounds.Height
Me.Height = MonitorHeight
Me.Width = MonitorWidth

What I'm baffled by is that the application now won't get off the max screen size. It's using the max of the screen, even when I do not call the screen resizing code above. I'm trying to give the user the option of the application only taking up 1024x768 (and placed up to the top left) or maximizing the application using the full extents of the screen.


Putting VB Content In The Center Of A Full Screen With Variant Screen Size?

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 View Related

Screen Size - Screen On My Netbook Is Only 1024x600 And Half My GUI Is Missing

Feb 8, 2011

I have created a GUI and have set my 'Form1' window to match that of my PC monitor ( 1280x1024 ). However when i move the project to work on my netbook, the screen on my netbook is only 1024x600 and half my GUI is missing. Is there any way i can adjust my settings so that my 'Form1' GUI will auto adjust and display in full on both screen when i move the project back and forth?

View 2 Replies View Related

Sizing Image To Fit Screen?

Oct 27, 2010

Having many thousands of pictures, I made a screen saver with the functionality I want. If the LAN path goes away it reconnects later, bad pics can be deleted, rotated and saved, etc. Sometimes the pics don't size correctly and expand off the screen. The problem may be reuse of the same picturebox. What I might do is have a dedicated picture box with autosize left on, use that to obtain raw image size, then reload again into the picture box that will be displayed.

Private Function loadimage(ByVal pic As PictureBox, ByVal lab As Label, ByVal fname$) As Boolean
With pic


View 12 Replies View Related

Sizing The Form Based On Screen Resolution (1024x768, 1280x1024, Etc)?

Mar 25, 2011

I designed my form on my machine running 1282x1024. It works fine. I installed it on a client machine running 1024x768 and the form goes off the bottom edge of the screen. I set autoscale on the form to none, font, dpi, and inherited, changed my screen resolution and ran the program. It always looks the same, off the bottom os the screen. I tried Autoscroll on with no effect.

My reading of the documentation seems to indicate these two items are more for the system font size and the screen's dpi setting, not the screen resolution butI can't find anything else to work with.How doI make the form and everything on it change size based on the screen resolution?

View 4 Replies View Related

Screen Blanks After 1 Min Of Processing (of Excel File) / Refresh Or Freeze Screen To Avoid Blank Screen?

Jun 29, 2011

BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I leftmy desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?

View 11 Replies View Related

Make The Form Size Automatic Setting The Size Equals To The Screen?

Jun 9, 2011

How to make the form size automatic setting the size equals to the screen. or Maximize the whole form including the form components.

View 3 Replies View Related

Forms :: Size Form Proportionally To Screen Size?

Sep 24, 2009

If I have form say sized 1300 x 800, I would like to proportionally size the form to the computers screen size. I can get it to size to the screen size, but it is not proportional

View 11 Replies View Related

VS 2008 Form Size Compatible On Different Screen Size?

Mar 5, 2010

I developed a form application on my computer, but when it was used in another computer with different screen size, i was told the form didn't fit. Do I have to adjust the form size or any other ways to let the form compatible on different screen size? (could be different screen size or wide screen)

View 2 Replies View Related

Make The Size To Automatically Fix The Screen Size?

Jun 9, 2011

i've been coding a sidebar but i dont know how to make the size to aoutomatically fix the screen size..i mean if the screen resolution is 1000x789 or 890x678 s stilll fit to it I have find in google and youtube but still i didn't get any ides on how to do it And also if possible can we code s sidebar that automaticcally hide when we did not move our mouse to it?

View 1 Replies View Related

Size Difference Between Desktop And Screen Size?

Sep 23, 2010

What is the size difference between desktop and screen size?

I've been developing an application, which consists of a bar to the bottom of the screen that I want to keep allways visible .

When i open a window and maximize it, it do not stay behind the bar but only to maximize the top of the bar!

View 7 Replies View Related

Size Of RTB On Screen Vs Print Size

Mar 16, 2011

I have an RTB. Actually it is a RichTextBoxPrintCtrl as per KB 146022 but I don't think that matters.

I am printing the contents of the RTB on a label. I have determined the appropriate margin settings to cause the contents of the RTB to print on the appropriate label (there are 4 per sheet). That all works.

But I want what the user sees on the screen as he types to match what prints. So if he types three lines of data he gets three lines on the label. Also, if scroll bars appear, that is a clue that he have filled up one label. By trial and error I got the size of the RTB just right using the default font (MS Sans Seriff 8.25).

But when I or the user changes font size, the on screen display no longer matches the printed label. The label prints properly but it is not an exact representation of what is on the screen.

Is there a way to fix this problem so the screen representation of the label is always correct even when the font changes.

View 1 Replies View Related

Fit Form To Screen Size?

Feb 10, 2010

Anyone know of a way to fit a form to the size of the screen automatically? So it is fully visible on a 10" netbook if you designed it to fit a 13" screen?

View 2 Replies View Related

Setting Screen Size From .net?

Apr 2, 2009

Howcan one set the screen size? As with the task bar, by incressing the size sets new limits when maximizing anapplication's window. How can I tell the systemwhat would be the demensionsof the desktop screen: left, top, width, height?

View 5 Replies View Related

When Zoom In Or Out The Screen Size Changes As Well?

Nov 9, 2009

A couple of days ago I created a Zoom function for my application to make the fontsize bigger or smaller. I thought it worked perfectly untill last friday....Problem is, when I zoom in or out, the screen size changes as well. This is no problem when running the app in window mode. But when it's in fullscreen mode this happens:

Zoom in:
Zoom out:
Private Sub Zoom(ByVal direction As String) Dim newFontSize As Single Select Case direction Case "In", "in" :


View 2 Replies View Related

Form Stretched To Screen Size?

Nov 26, 2009

When I manually increase the size of my form in runtime, the controls remain in their positions but i need to make it stretched as photos the controls to be sticked to the background.This problem actually appears when I display my program on my laptop but using LCD screens with different resolution, I need to make it dynamically autofit the screen if possible...

View 5 Replies View Related

Get Total Pixel Size Of The Screen?

Mar 8, 2012

I am writing an application that generates graphs. I need to set the bar size according to the size of screen (in pixels) How can I get the total screen size in pixels using code?

View 3 Replies View Related

Max Form Size Changes With Screen Resolution

Sep 1, 2009

Wondering if there was a way around the seemingly nonsensical editor changing of the maximum size form you can edit/create to some value approaching the screen resolution you are working on. This is a P.I.T.A. as I often edit pages on a laptop with a smaller max resolution than the monitors I typically do layouts for.Any way to by pass this to let me edit larger screen sizes on my laptop?

View 1 Replies View Related

Simple Screen Size Changer

Nov 27, 2011

I want to make a simple screensaver but I looked at what others suggested on how to change screen resolutions and it seems a bit much. So I'm hoping their is a simple way to accomplish this task. Basicly I want the screen to fill reguarless of your screen resolution with the background image coded in the source code. I know the picture will look funny on large resultions but its a sample code Im making, so i'm not worried about streatching a image.My thought was do something to detect window bounds or something.

View 6 Replies View Related

Adjusting Form Size According To Screen Display

Nov 25, 2010

I've a form set to size 1240:750. On my PC where I've VB2010 installed, the screen size is set to 1680:1024 and the form can be viewed fine but on a PC with screen size set to 1280:1024 (higher than the form) the form in question is cropped almost a third of it. To adjust the form to everyone screen size I set the below code at load with no avail.

'Autosize form to screen
Me.Height = (SystemInformation.PrimaryMonitorSize.Height) * (0.9)
Me.Width = (SystemInformation.PrimaryMonitorSize.Width) '* (0.9)
Me.MaximumSize = New System.Drawing.Size(Me.Width, Me.Height)
Me.MinimumSize = New System.Drawing.Size(1240, 750)

View 3 Replies View Related

Change Application Screen Size Setting

Jul 27, 2010

I am working on an application using vb 2008 express. I have built test programs over the past few weeks and shared them for feed back. Today when I finished some work, I built another test application, but when I install it the start-up screen maximizes but is set between one and two desktop icons from the top of the screen.

In debug mode it looks fine. In the past it looks fine. Each time I start the program the screen is in a slightly different location. It is set to start maximized and to the best of my knowledge, I did not change any settings in the property area. I have tried loading on three computers and the results are the same. Any ideas on what I could have done to produce this strange result?

View 4 Replies View Related

IDE :: Change Screen Size 4x3 So It Can Be Read In 16x9 In VB6?

Jan 14, 2010

I purchased a new computer with windows 7. The screen size is 16x9. My old computer had 4x3. I can no longer read my VB6 programs as they no longer fit on the new screen. I need to alter the height. Is there some code that I can add to overcome this problem.

View 2 Replies View Related

Re-size All Control Within Form To Fit Different Screen Resolution?

Jul 21, 2010

How to re-size all control within form to fit different screen resolution?

any solution on this? my control always run out of the screen size... can it re-size every control before the user can see the form load..?

View 4 Replies View Related

Resize All Content At Exact Size Of Screen?

Mar 14, 2009

i working in a pda developed how can i resize all content at exact size of screen?

View 2 Replies View Related

Screen Designer - Changing Size Of Control?

Jul 22, 2009

I am working on a application which is basically a screen designer. I have implemented the form designing capabilities using IDesignerHost and other interfaces. In my application user can pick a component from toolbox and drop it on the designer screen and can configure the properties from property window. I have my own set of properties which gets populated from database. Screen designer is working fine but the problem occurs when user changes some properties from property window. Say user changes property 'Width' then I change the width of the selected control in designer but the problem is SelectionOverlay shows the old size. When I select another control and select old control again, SelectionOverlay(resize handlers which appears around the control) shows properly. How can I tell the SelectionOverlay that the size of the control is changed.

View 2 Replies View Related

Standard Application Screen Resolution Size?

May 8, 2010

I just want to get opinions from other developers.What size do you tend to prefer for your applications?I have decided to stick to 1024×768 but am I alienating the people who still have 800×600.According to Wikipedia only 1% of internet users still use 800×600 screen resolution.What size do you tend to prefer for your applications?

View 1 Replies View Related

Use A Form Larger Than Development Screen Size?

Dec 15, 2011

Screen Size of my deployment screen is larger than my development screen.

If i try to set my form size larger than my development screen size, IDE doesnot accepts this.

Please let me know How can I use a form larger than my development screen Size?

View 7 Replies View Related

VB2008 Screen Capture Pacific Size?

Apr 18, 2009

I want to screen capture but only the size of my form2.i have form1 and from2 a button on form1 to get to form2, my info i want to screen capture is on form2 buttons for screen capture have to meet exact size of form2 and buttons for it have to be in button to show form2

View 2 Replies View Related

.net - Taking Photo Of Screen - Take A Picture Of The Entire Screen, Not Just The Focused Window?

Jul 6, 2011

Currently I have the following VB.NET code to make a screenshot of my desktop, but it only takes a picture of the active screen:

Public Function SaveScreen(ByVal theFile As String) As Boolean

The following code is how I execute the above function, if it makes any difference, which I don't think it does:


Now, I need to be able to take a picture of the entire screen, not just the focused window.

View 4 Replies View Related

Get Coordinates On Screen By Holding Down Mouse And Placing It Over Different Parts Of The Screen

Feb 29, 2012

I'm trying to get coordinates on my screen by holding down my mouse and placing it over different parts of the screen. I'm using the mouse_up and down events in a button to kinda simulate the mouse being held down. The problem I'm running into is that anytime I go past the button's bounds, the coordinates I want stop. This is what I have so far:


View 2 Replies View Related

Screen Flickering When Updating The Entire Screen Or Moving Around Controls

Sep 6, 2009

Sometimes when updating the entire screen or moving around controls etc, there is some fairly bad screen flickering.

View 2 Replies View Related

Splash Screen That Displays For 3 Seconds Then Shows A Login Screen

Dec 20, 2009

I'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:


View 3 Replies View Related

VS 2008 Draw Directly On The Screen (not On A Specific Window) Just On The Screen?

Jul 1, 2009

I send a message a while ago and no one answerd, how can I draw directly on the screen (not on a specific window) just on the screen, neither if it's on the desktop or anything else.Is there is any option to bring up the switch between applications window (Alt + Tab), I don't want to use sendkeys because the user need to keep the key down and I just want the user to select the application with his mouse.

View 3 Replies View Related

[2005] Multi-Screen Application - Control Each Screen Separately?

Jun 23, 2009

im about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.

View 2 Replies View Related

Change Font Size Of Code Modual On Screen

Jan 21, 2012

I want to make the GUI code listing easy to read. I want to inlarge the font. not any control; the listing of the code; not the form window layout; the code listing behind the form and modual listings.

View 2 Replies View Related

Form Objects Resizing On Different Monitor Screen Size?

Nov 29, 2011

I designed a form which contains about 50 objects all kinds including tableadapters,buttions,grids, tabs. What is the best way to optimize the loading with less time consuming. I cannot split objects in on different form as all the objects has to appear on screen as a requirement.

But my primary question here is, i designed this form with all these objects on a 15" monitor which fitted 100% on the screen. Now i am using 17" monitor when i open this form on run time, all the objects are appearing as designed but theres a 30% form area which is left blank. How can i make the form objects resize automatically on run time itself to fit on different size of monitor with no area left blank.

View 2 Replies View Related

Resize Form & Controls To Screen Size VB 2008

Jun 10, 2011

Anyone knows how to change the Forms and controls of the project as the Screen resolution of the computer changes?

View 1 Replies View Related

Set A Forms Size To Fill Desktop Screen Is Any Function?

Jun 11, 2009

Im trying to set a forms size to fill my desktop screen is any function that does this or do you have to set the form size manually depending on the screen size each time ?

View 5 Replies View Related

Create An Overlay Screen On A Full Screen Application?

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 View Related

Make A Screen Recorder (not Screen Capture) Program

Aug 20, 2010

I wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implementit (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?

View 3 Replies View Related

Copyrights 2005-15, All rights reserved