Checking And Setting A Screen Resolution?

Mar 4, 2012

I build an application that is designed to work on a screen resolution of at least 1280x1024. So therefore, when my application starts, I would like for it to check the current screen resolution, if the screen resolution is not what I specify, then a message will ask whether the user wants to change it, if he clicks yes, then the screen resolution will be set to 1280x1024 and then it will reset to the original when the application closes. However, if the desired screen resolution is not available, then an error message will pop up.

View 2 Replies


ADVERTISEMENT

Setting Windows Form Resolution According To Screen Resolution?

Jun 18, 2012

Can we set the windows form resolution according to pc screen resolution and even the control should be adjusted...

eg.

My screen resolution is 1366 X 768

and my form size is 1254, 709....but I want it so set according to the screen and it will be dynamic...

if I transfer my project to some other pc with lower or higher resolution it should be adjusted....

and suppose I have few controls on the form...will that also be adjusted??

View 6 Replies

VS 2010 Setting Screen Resolution At Runtime

Jun 14, 2011

I am developing a point of sale for a buddy.The system it will be on will be running nothing but this application. The system SHOULD always stay at 1024, 768 but i like to plan for problems.What I would like to do is on form_load change to 1024, 768. On exit, (for learning sake on my end) I would like to have it set back to the default.

View 6 Replies

VS 2008 - Setting Form Sizes According To User Screen Resolution

Mar 17, 2011

I'm setting form sizes according to user screen resolution and I think I need design no smaller than 1024 x 768 these days. Using the following code I set my first form and use Anchor settings to resize and maintain controls. Does resize affect StartupPosition in other forms and what do you think is the best StartupPosition to Show the next (smaller) forms? I have a feeling I should have created child forms but simply added forms to the project as I needed them. For example, the first code example does not take account of the WIN7 Task Bar.

HTML
Dim x As Integer = My.Computer.Screen.Bounds.Width, y = My.Computer.Screen.Bounds.Height
Me.Size = New Size(x, y)

A smaller form loads with the same code slightly varied, but the reduction is not taking account of the screen resolution. Is there a way of reducing by percentage?

HTML
Dim x As Integer = My.Computer.Screen.Bounds.Width, y = My.Computer.Screen.Bounds.Height
X = X -100
y = y - 100
Me.Size = New Size(x, y)

View 12 Replies

Make An Application Look As Though It Has Been Set To A Screen Resolution Of 1024 X 768 When The True Resolution Different?

Oct 2, 2009

1. Is there anyway to make an application look as though it has been set to a screen resolution of 1024 x 768 when the true resolution different?

2. I am developing my app using a widescreen monitor. What dimensions does the form need to be set to so that it looks exactly the same on a normal & widescreen monitor?

View 1 Replies

Screen Resolution - Change The Size On The Form And The Button When Its Ran On A Different Resolution

Oct 22, 2007

I am working on an program and I need it to change the size on the form and the button etc when its ran on a different resolution then it was coded on. Is there anyway to do this easy or do I have to hard code it on two different and change it by like a button etc? I am working with a 1024 X 780 and a 1240 X 1024.

View 8 Replies

Change Resolution Of Form Based On Screen Resolution

Jan 10, 2011

I have a very high screen resolution on my laptop: 1400x1050.My colleague tried it out on his laptop (which had lesser resolution), and the application did not fit on his laptop. The buttons were dragging out of the screen space.So, I want my application to automatically resize/adjust based upon the screen resolution.I don't want to use Maximized screen option and don't want to change user's pc settings.Unfortunatly I am not using Table Layout panel.

View 5 Replies

Change User Control Resolution According To Screen Resolution?

Dec 29, 2010

In my application,I placed the user control on a panel,I want to resize that control on a panel automatically according to different screen resolution.

View 6 Replies

VS 2010 Set Form Resolution Like Current Screen Resolution

Dec 20, 2010

I had designed all forms on 1280/800 screen resolution.

i want set all forms resolution like the current screen resolution of the user,or make the form resolution is dynamic with each resolution of screen for

View 6 Replies

Get My Screen Resolution?

Dec 29, 2010

How to get screen resolution?

View 2 Replies

Full Screen For All Resolution?

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

How To Change Screen Resolution

Oct 30, 2009

How to Change Screen Resolution in VB.net?

View 1 Replies

Generic Form Location - Display Setting Resolution

Feb 24, 2009

I have two forms. These are a widgets that I made in VB .Net language. But I have a problem, what if the the display setting resolution is change to 800X600, 1024X768, 1280X800 and so fort? How can I maintain the location of my forms? My screen resolution that I'm is 1280X800. I locate the first widget in x.1000, y.20 and the other one is in x.1009, y.325. How can I make this location a generic location for my widgets?

View 5 Replies

Center Parent Out Of Screen Resolution?

Jun 21, 2010

well my problem is that when i put center parent its centered from the form that was open obviously but when i put my program after the screen resolution like it cuts more then the half of the program and i open then other form as center parent the form appears like completely touching the end of the screen it doesn't cut offs, i need like if my program is cutting off from screen the second form have to cut off too

View 7 Replies

Changing Screen Resolution With VB 2005?

Mar 25, 2006

I'm having a difficult time converting a Windows API call that works fine in VB6 to run in VB 2005 (Windows XP with SP2 in both cases). I reduced the problem code down to its core which is below. I'm trying to change the screen resolution with the ChangeDisplaySettingsEx call; the idea is that on entering the program it shifts to high resolution and at the end it restores the original settings. I left the restore part out because I get the same error. Which is "An invalid parameter was passed in.This can include an invalid flag or combination of flags." I'm trying to use exactly the same parameters, but somewhere in the conversion process from VB6 a fatal change crept in. My guess is that it's either in the ByRef/ByVal or Short/Integer/Long alternatives, or in the conversion of the Devmode structure which included fixed-length strings (OK in VB6 but not allowed in VB.NET). But all my fiddling so far has not produced a solution. I got the same error code back in VB6 when I tried to set a display frequency that was not supported at the resolution I requested, but even leaving the values unmodified (in effect setting them to what they are now, with no change) gives the same error. Any ideas? So far as I can tell, there is no alternative to the API to accomplish this goal; would be interested to know if I missed it.

[Code]...

View 1 Replies

Control Resize VS Screen Resolution

Mar 26, 2012

i want to ask about screen resolution and control resize..how can i make my control, like button, textbox, etc resize automatically within any screen resolution?have you guy ever hear about active resize from url...i want my vb net application look like that so if we use ANY resolution, the application we create will not messedit can strecth..i already try dock, anchor, panel, etc, but it cannot work.

View 3 Replies

Detect And Change Screen Resolution

Jul 22, 2009

How to create a program that detects the screen resolution and change it to 1280x800 or 1024x768? What are the computer requirements to support each of these resolutions. (I don't want for the program to request the user as programs do this especially in Windows Vista, because my program will be created for Windows Vista).

View 8 Replies

Finding The Original Screen Resolution VB 6

Mar 29, 2012

I am developing a VB6 application in which i need to know the "original" screen resolution of the monitor. By original i mean the optimum screen resolution and not the one fixed by the user. Watever I have tried fetches the current resolution and not the optimum one.

View 1 Replies

Handle The Screen Resolution By Program?

Sep 10, 2009

I am developing programms in VFP and i want to handle the screen resolution by program

View 2 Replies

How To Change System Screen Resolution

Oct 5, 2007

How to change the system screen resolution in VB 2005 or 2008? As it something to do with this:
Code Block
My.Computer.Screen.Bounds.Width
System.Drawing.Rectangle

View 3 Replies

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

Programmatically Changing Screen Resolution?

Nov 28, 2005

I have an application that needs to run at a particular screen resolution. How do I detect current screen resolution and then change it if it needs to?

View 4 Replies

Screen Resolution Doesn't Fit .NET Application

Aug 12, 2010

Basically, we already had a software working in 1024x768 environment. The program however, have a lot of custom controls and forms that cause problem when users run it in a smaller screen resolution (e.g. 800x600).I had tried change the size of the forms, set auto scrolling, Klik.SizeLibNet3 and etc. All of them has too much work involved or can't achieve best result.Is there any way which I can remain the size of my program (include all the forms) and have a container with scrolling to place my program inside? Or is there any other ways that I doesn't need to modify much on my application?

View 12 Replies

VS 2010 Form And Screen Resolution?

Sep 16, 2010

I've got a problem with vb 2010: If I make a new form and add every button and make a background for the application and built my app, I can't open normal on a other pc. It change the ordening of my buttons and the other pictur boxes I've add. My screen resolution is 1920x1080. The other pc has a screen resolution off 1024 X 768. What I wanna ask is: whitch code must I add on "form1"?

View 2 Replies

What Is The Default Screen Resolution Nowadays ?

Nov 28, 2011

i am developing desktop applications and i would like to ask what the default size of my Window Forms Screens should be nowadays ?

View 15 Replies

What Is The Standard Win Form Screen Resolution

May 3, 2010

how to enable the scroll ..

View 5 Replies

What Screen Resolution* Is Typical For The Epix?

Oct 3, 2009

Are there any users here who have programmed for the Samsung Epix (SGH-i907)?I'd like to know what screen resolution* is typical for the Epix. It's not exactly the average screen size as when I used default settings I ended up with a scroll bar.*Does the application take note of the top and bottom toolbars as well or should that be disregarded?

View 2 Replies

Adapting Form And Its Controls To Screen Resolution

May 26, 2012

I was wondering if, using API, there is a simple way to adapt exactly a form and its controls to the screen resolution.

View 12 Replies

Application To Refresh Screen And Change Resolution?

Nov 15, 2009

i wanted to develop a application to Refresh the screen.[Simple F5 would work !!] but is it possible.I want a button to start at X:0 Y:0 then on loading the form want the button to move diagonally on the form [ on reaching end the process should repeat ]I want the application that displays current resolution.The supported resolution by monitor and then give user the choice of selecting one.

View 2 Replies

Create Multi Screen Resolution Sites In (vb)?

Nov 19, 2010

how do i create website which supports various screen resolution & Multi browser support (i.e 1024*768 ) and others using asp.net...i have developed website in asp.net (vb) my monitor resoultion is 1024*768 but when i try to access my site in other monitor having the resolution more than 1024*768 then the controls are unmanaged .... in the webpage.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved