Forms That Support Multiple Resolution

Oct 20, 2009

I have this program, where the main (one and only, "ControlBox" set to "false" and "FormBorderStyle" set to "none") form will fill up the whole monitor. It wasn't set to "WindowState" = "Maximized", but rather I have it designed to fit on the resolution of the target monitor's resolution size. It is set to run on 1920 x 1080 size. Hence I have all the layout and child controls laid out nicely.Right now, I was thinking, what if I wanted to have my program fit snuggly (or nicely) into the target monitor's resolution, varying from 800x600, 1024x768, 1440x900 and such.What would be the best approach? Make multiple copies of the form in designer, lay out those controls, then create a centralized class file that sort of integrates all the methods that were existing in the original form, so that the rest of the form would be sharing it as well.

Or would I make only 1 form and do all the layout adjustment on runtime and having the hassle and pain of going through it? I have 1 main problem though, there's this logo which stuck on the top left portion of the form, which currently just fit nicely on this 1920 x 1080's form. I wonder what would happens if I size it on runtime.

View 2 Replies


ADVERTISEMENT

Forms That Support Multiple Resolution?

Mar 17, 2011

I have this program, where the main (one and only, "ControlBox" set to "false" and "FormBorderStyle" set to "none") form will fill up the whole monitor. It wasn't set to "WindowState" = "Maximized", but rather I have it designed to fit on the resolution of the target monitor's resolution size. It is set to run on 1920 x 1080 size. Hence I have all the layout and child controls laid out nicely.

Right now, I was thinking, what if I wanted to have my program fit snuggly (or nicely) into the target monitor's resolution, varying from 800x600, 1024x768, 1440x900 and such.

What would be the best approach? Make multiple copies of the form in designer, lay out those controls, then create a centralized class file that sort of integrates all the methods that were existing in the original form, so that the rest of the form would be sharing it as well.

Or would I make only 1 form and do all the layout adjustment on runtime and having the hassle and pain of going through it? I have 1 main problem though, there's this logo which stuck on the top left portion of the form, which currently just fit nicely on this 1920 x 1080's form. I wonder what would happens if I size it on runtime.

View 1 Replies

Css - Design A Webpage In Asp.net Design View Which Support Multi Resolution?

Nov 26, 2010

I have created my webpage in asp.net in 1024*768 resolution, my problem was that when i change my monitor resolution then the controls in my webpage will be displayed in unmanaged manner .

How to arrange items in my webpage which support multiple resolution ...

Whatever the resolution of my monitor the controls in my webpage will display as it is as managed in 1024*768 reolution !

View 1 Replies

Determine Local Screen Resolution When Using Multiple Monitors?

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

MDI Texteditor - Support Multiple Concurrent Open Files

Jun 9, 2010

I am suppose to recode a notepad assignment that i have done so that it is able to support multiple concurrent open files, that is MDI files i my note pad i had use a textbox instead of richtextbox can any one tell me if i have to use back the textbox in my recoding or not.

View 1 Replies

Automatically Change The Forms Resolution?

May 4, 2012

So.. I created an full-screen application. It worked out perfectly on my own computer, but at my friend's computer, it was totally ****ed up. I guess it's the screen resolution. So, here's the question: - How do I automatically change the forms resolution, based on the screen size? (I don't want the user to do it manually...)

View 2 Replies

VS 2008 Resolution How To Resize Forms

May 5, 2011

I have an application where some forms have a resolution of1280 x 800 (not ideal i know now)I have come across a few xp machines where resolution can be as low as 800 x 600 Is there an application or code that allows VB to resize all contents of a form depending on user machine or to change resolution of said machine during runtime?

View 9 Replies

Forms :: Does VB.Net Support Picturebox Arrays

Dec 22, 2009

I am trying to design a basic version of spaceinvaders. I have 6 pictureboxes on my form and the idea is to add a value to the picbox.top property that moves the boxes down at a certain time and speed that i have set in my timer control. The problem i have is i am trying to set properties for all the pictureboxes at the same time by using arrays.

An example would be
dim mypic() as picturebox = {pic1, pic2, pic3, pic4, pic5, pic6}
pic1.top = 10

[code].....

View 14 Replies

Amend Notepad Assignment To Support MDI Interface Multiple Concurrent Files?

Jun 8, 2010

How do i amend my Notepad assignment to support MDI interface multiple concurrent files

View 1 Replies

VS 2010 Does Express Version Support Adding Multiple Soultions (.sln) To Project

Aug 2, 2010

Does the Express Version support adding multiple soultions (.sln) to a project or is this only available with the Professional version.I see that I can add a DLL as a reference that was built in 2010, but it is not letting me step into it with the debugger (or recompile changes to its source).

View 10 Replies

Forms :: Develop A Screen Resolution Independent Application?

Jul 7, 2009

How to develop a screen resolution independent vb.net application.

View 1 Replies

Forms :: Make A Textbox With Complete Support For Dragdrop?

Oct 30, 2009

I am trying to make a textbox with complete support for dragdrop, however, it doesn't work.

Private MouseIsDown As Boolean = False
Private SelectionLen As Integer
Private SelectStart As Integer

[code]....

View 1 Replies

Globalization Of Windows Forms Application With Arabic Support

Mar 1, 2011

I am using Windows Forms Application that supports both Arabic and English languages....The problem is if i put the controls like (TextBox and Label) on form itself they get Layout RightToLeft and also become right align means label went to right side and textbox in left side)....But when i put these controls inside of a GroupBox or Table then textbox itself become right align ...i means cursor inside of text box............but controls don't flip from left to right......Label remains on left side and textbox on right side....i want to flip the controls.........label must go to right...same like Forms ControlBox is flipping.

View 1 Replies

Get List Of All Resolution Of Client Monitor And Check With Resolution Passed By Application?

Dec 5, 2009

How to get list of all resolution of client monitor and check with resolution passed by application

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

Resizing Forms - Form Size Aint Affected By Screen Resolution Settings

Feb 15, 2011

how do i set my vb2008 form in such away that the form size aint affected by screen resolution settings

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

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

If Compile A VB6 App On Win7 - ADODB.Connection Errors With "Class Does Not Support Automation Or Does Not Support Expected Interface"

Apr 28, 2011

I compiled some VB6 code on my Win7 x64 machine and the result .exe will not run correctly on any other machine. VB6 code is just a new template .exe file with one button, a reference to "Microsoft ActiveX Data Objects 2.6 Library" and the following code in the button press event: Dim db Set db = New ADODB.Connection It runs correctly on my machine, but no others (even other Win7 x64 machines) (Update: I found TWO other users where it runs and one of them is Jeff Atwood!, but most machines have the same problem)

[Code]...

View 2 Replies

Application That Has Multiple Front Ends Developed Using Windows Forms / WPF / ASP / Compact Framework Mobile Forms

Apr 9, 2010

I have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.

Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?

View 3 Replies

Forms :: Multiple Forms, Closing Events And Sub Routines?

May 25, 2010

I have googled high and low to find an answer to this but I must be searching wrong.I have an application which has a listview displaying some items that are stored in a SQL Compact database. I am using a second form to add new items to this list directly into the database.When the second form closes I want to call the sub in my first form to refresh the list from the database.

How can I get it to fire the form1 sub routine on the close event of form2

View 3 Replies

Multiple Forms Program Needs To Open Successive Forms Somehow?

Nov 3, 2009

i was doing a fair amount of programming many years ago, like 10 it feels like, so I'm sorely not up to date on how my newly downloaded Visual Basic Express expects me to communicate with it.I am writing a program that pulls a cell from a database after the user has gone through several forms to determine which cells they want. When I write it like that, it doesn't sound very efficient, but I've designed it this way for usability.Here's where I have a problem: Should I store the path the user takes in a string, an array, what?

Here's an example:Someone wants baseball stats and trivia. They run my program, main form pops up, they select National League button, the NL Form pops up. Now the way my program is set up right now, is there are two ListBoxes on the form, one is populated, and as the user selects a Team from ListBox1, it jumps to ListBox2. Once they've selected all the teams they want info for, they click a button Next.

What I now need the program to do is show the next form "Team: name" once for each team, and insert the name of the team on the form in the appropriate label which I'll have blank. This form will also do the Listbox thing except the first listbox will populated with Topics like HR Stats, Pitching Stats, Coach History, etc.

View 1 Replies

Forms :: Maintaining Multiple Forms Positioning?

Jul 26, 2010

Launch a dialogue window from the main form, and then another dialogue window from that dialogue window. If you close the second dialogue window and call dispose the main form vanishes under any other open windows. This doesn't happen by closing a dialogue window normally, but I am attempting (rightly or wrongly) to stop memory useage creeping up by disposing of it.

So, the question is - what method can be employed to maintain the position of the windows?

View 4 Replies

Forms :: Multiple Forms Open And Close

Apr 16, 2009

I have two forms frmMain and frmNew, and one module modMain. In modMain I hold public variables which are needed for application. My question is how to open and close those two forms when needed? I ask this because if i set frmMain as startup form, then when closed, application will end, and one of those two forms will always be displayed. Also if I set frmNew as startup form, then when I close this form, application will also end. Is there a way to do this from module or something so my application won't end after closing and opening any of those two forms?

View 2 Replies

Forms :: Retaining Data Across Multiple Forms

Sep 8, 2010

VB.NET newbie here... I have an vb.net windows application set up. It has multiple forms, about 6 in all. There's a main menu form, and then 5 other forms to collect data. The user will collect data on each form and bounce back and forth between forms. How do I get the forms to retain the data that has been entered into the text boxes and/or other controls on the forms? For example, they might fill out a few textboxes on a form, but then need to go to a different form and fill something out... and then back to the previous form. Right now, when they come back to the form, all the data previously entered in to the text boxes is gone.

View 1 Replies

Forms :: Write Code With Multiple Forms?

Apr 17, 2009

I am trying to write code with multiple forms. The first screen is splash screen then is supposed to close and have a calculations screen. In the timer of the splash screen I wrote the following code

Option Explicit On
Option Strict On
Public Class uiHinsbrookSplashScreen

[code]....

This opens the second screen, but when I Hit Exit on the Second Screen The first screen is still open. What do I need to do next?

View 2 Replies

Forms :: Multiple Forms Within A Class?

May 13, 2010

I'm still learning vb.net, so I'm not terribly familiar with all the terminology, otherwise I would have searched a little harder before posting. I'm working on a program where the user can add various forms to a MDI parent.I would like each of the child forms to be part of the same array, all of the child forms will be of various types.Some forms may display a textbox, some forms may contain a graph, some forms may contain an image, etc.[code]

View 7 Replies







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