VS 2010 - Writing For Different Screen Resolutions
Jan 14, 2012
I'm writing a piece of software at the moment which will require a form be full screen at all times. However, I am slightly plagued by the fact that my users will have varying screen resolutions. This makes placing controls etc very difficult. Any good techniques / tips to ensure that control layout looks consistent despite the screen resolution when an application is full screen. I'd like to try to avoid having to programmatically re-size and move controls based on screen res as this is a pain in the royal backside.
I have a webpage developed using VB.net when i run the webpage in different screen resolution i see some blankspace left in the right side corner of the screen(webpage).
want to know the solution to make the screen look fit in all screen resolutions..
I'm coming from ASP.NET background and lately I started developing winforms applications for my company, I had no problem with the move from ASP to winforms programing wise, the only thing i have problem with is to my program to look good across different screen resolutions, resolutions is big problem when developing for the web as well, but I already learned and know how to handle those problems and make my website to look good under almost any resolution what I'm really asking, can someone experienced in this area tell me what are the rules and guidelines i should follow and obey for my winforms application will look good in most resolutions.
Im trying to make the contents of my form appear in the center of the screen, no matter what screen resolution is being used.I have been searching the net and have found code similar to the following but i cant get anything to work.
Dim x As Integer = _ (Me.ClientSize.Width - GroupBox1.Width) 2 Dim y As Integer = _
I'm making a shell for a computer system this shell is going to be distributed with lots of different computers.The shell is designed to replace the standard windows look (not important but anyway), and as such, i need a way of allowing the user to change the screen resolution to what their monitors/display adapters can support. I'm looking for a way to call all the supported screen resolutions into a combo box.Preferably with the x and y values as separate variables, but that's not a major thing.
I have a problem.How i can to make my program full screen for all resolutions ? i have 1280 x 1024 and if i change the resolutions, my program does not look good.
I am developing windows form application on my laptop....but running my project on Desktop or laptop becomes different looks.how do i make it to be the same no matter the screen resolutions? i just need my project look same in all small or big screen resolutions.
I have a program which draws a U.S. map on the screen. This display looks great on my wide-screen (16:9) monitor, but it looks a little stretched horizontally on my wife's standard (4:3) monitor. Is there some way I can tell VB to automatically adjust the picture when a standard resolution is being used?
If not, am I correct in thinking that standard definition monitors are going the way of the dinosaur, much like is happening with TV's, and in the future we'll be seeing more and more wide-screen monitors.
I am working on a sports management game and have already received some terrific help here with some XNA stuff. I now need some help for the user interface though. This game is very menu-centric, with loads of stats and tables and such. It is therefore paramount to get it right!
So far I have been doing all of the work on my 24" monitor at 1920x1080. Whilst the form is 1920x1080, the menu fits within a 1280x1024 top left region of the form. When I run the game on my other computer, which has a 19" monitor at 1280x1024, I was expecting a large chunk of the form to be cut off but the menu to be all visible. Well, it is all visible but things screw up. Different controls will overlap and such. I'm using Krypton Components for most of the UI and some of the text boxes seem to shrink vertically so you can only see less than half of the text. I have no idea why, they won't all do it.
Now it seems like a really simple question and I may just be being thick, but what I'm trying to achieve is basically print an array to screen in the following format: Item 1, Item 2, Item 3, Item 4 Although I say to screen, as that was the best way I could describe it, I'm actually writing it to the page inside some Javascript. The way I'm currently going about writing it out is as follows:
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 left my 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?
i have been recently working on a project in VB 2008 it is a web browser. My Problem Lies in...when a form is opened on a smaller Monitor It does Not Look Normal (Stretches)
How would I go about designing something that will work on many different resolutions? For example, i have my monitor on a very high resolution, and when i work on my projects, the actual controls (buttons, text boxes ,whatnot) are in the top left quarter of my screen, because the program will have to be deployed on 800x600 machines.
Is there anyway to make it so it will stretch and look appropriate on different resolutions?
I need to know how Windows detects what resolutions the user can select for their monitor / graphics card. I'm pretty sure it's an API call, but does anyone know what it is?
I already have code to change it (courtesy of this thread here), and I was wondering if it was possible to get a list of valid and allowable resolutions.
I have written a VB .NET 2010 application which displays a "you have new mail" window/form with an OK button that closes the form.
Some users have received new PCs with dual-monitors and the OK button is no longer visible on the form - it's at the bottom but off-form.I guess that this is related to a different screen resolution and not the dual-monitor setup itself.how to make my forms auto-resize? I though this was automatic in VS 2010.
I'm looking for some advice on how to make my app work with different resolutions as I have posted a demo game on the forum but the game was designed on my laptop which is set to 1280x800 but a few people who have tried the demo are having problems as they are using 1024x768.
Is this a case of getting the computers resolution when the app starts and alter the size and position of controls?
i've made a program that fits my monitor, the resolution is 1280,1024. But i want to make it so that if someone else who has a different resolution can also use the program, is there any way to make the form (and the components inside it), auto resize to fit that persons resolution?
Firstly sorry if this has already been covered, though I am trying to find out if there is a way that I could make all objects on a form appear in the same area no matter what the resolution of the screen is? e.g. I have a group box located down the bottom right for a 1024x768 screen resolution but when I view it on my widescreen laptop it isn't right down the bottom right where I want it. Is there a way this can be done? I'm assuming i could check the system properties to tell me what the resolution is and if it's widescreen then change the location of the object.
I had all types of problems before with my application size.On one computer it fits great, but on the net book the application is so big that it crashes it.For example lets say that this is my application running on a regular PC which has a 60 Cm screen This not my application. On my net book which has a 25cm screen it will look different and bigger. Can i some how have a application that is the same size. I think this is very possible to do. Kaspersky has the same feature and it works great.
I have a program developed on a machine with high display resolution. Now when I try to run it on a computer with low resolution, the screen got cut off. OK, is there a way to make the program working with different display resolutions?
i want to rewrite a text file with information already added to it but with my current code it just adds it to the end of the file is there a way to rewrite the entire file with new information.
Private Sub writebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles writebtn.Click Dim bookfile As StreamWriter If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then bookfile = File.AppendText(OpenFileDialog1.FileName)
Am writing a simple application which can write a to pdf,doc,xls and access files. so far it can write to word.i also want it to be able to navigate a hard disk and open these files using filters. i was using this code to write to the files