Forms For Multiple Resolutions?

Jul 24, 2006

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?

View 4 Replies


ADVERTISEMENT

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

Form To Big To Fit Certain Resolutions?

Sep 6, 2009

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)

View 2 Replies

Get A List Of Supported Resolutions?

Jan 2, 2010

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.

View 3 Replies

Getting List Of All Supported Resolutions?

Dec 21, 2011

I want to get the list of supported resolution by a graphic adapter/card. Anyway to do it?

640X480
1024X768
1366x768
and so on...........

View 6 Replies

Keep Form Sizes The Same In Different Resolutions?

Apr 9, 2012

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.

View 2 Replies

Make App Work With Different Resolutions?

Aug 9, 2009

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?

View 11 Replies

Change Screen Resolutions Using My Application?

Nov 8, 2010

I need to change screen resolutions using my application.

How to:

1) Read current resolution

2) Changing it using my application and then returning to current on exit.

View 2 Replies

Chaning Screen Resolutions From Application?

Nov 8, 2010

I need to change screen resolutions using my application.How to:

1) Read current resolution

2) Changing it using my application and then returning to current on exit.

View 2 Replies

Design Form For All Screen Resolutions?

Jan 10, 2012

When designing a program I have designed it so it fits the screen I am working on. In this case the screen resolution is (1366x768).

View 5 Replies

Form Auto Resize To Fit All Resolutions

Jul 18, 2010

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?

View 2 Replies

Format The Form - Making It Appear The Same For All Resolutions

Jan 17, 2010

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.

View 5 Replies

Make Program Use Different Resolutions Of The Same Icon?

Jan 26, 2012

How do I make my program use different resolutions of the same icon?

If I use a 32x32 icon, the 16x16 icon in the window becomes blur
If I use a 16x16 icon, the 32x32 icon in the taskbar becomes blur

I tried using a multi resolution icon but I can't get the program to use the different resolutions of it.

View 2 Replies

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.

View 2 Replies

Winforms Design On Different Screen Resolutions

Jan 23, 2011

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.

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

Forms :: Work With Multiple Forms In .net?

Dec 15, 2009

i've been working with multiple forms. here's the situation.. i have 2 forms form1 and form2 every time i show the form2 from the cmd Bttn in form1 then i close and reopen it again it always prompts me with disposal error.

View 3 Replies

.net - Given A Large Number Of Objects, Create Multiple Forms In Designer For Them Or Use Code To Create The Forms?

Dec 29, 2010

If I have a large number of classes, each similar to the other in certain aspects (they all share a common base class, but each does things differently), and I need to create Windows forms for each to allow easy changing of their values through a GUI? Create one matching form for each object in VS' forms designer, Or Use code to create the forms dynamically at runtime.

#2 makes the most sense to me, because a lot of these objects will share very common features of the form, notably "Ok" and "Cancel" buttons. But one object might need to draw a textbox on the form while another might need to draw a combobox. Not to mention, if I want to put icons on the "Ok" and "Cancel" buttons, I'd have to do this for each copy of the form in designer, and that sounds like it could get out of hand quickly.But is drawing forms through code sane? VS' forms designer is pretty sophisticated and designed to make life easier. Am I wise to consider ignoring its functionality and diving into the trench warfare of forms design through code? Or are there examples of automating form creation based on an existing object's properties?

View 1 Replies

Center Form Contents For All Screen Resolutions?

Sep 18, 2009

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

[code]....

View 12 Replies

Interface And Graphics :: Get All Supported Screen Resolutions

May 3, 2010

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.

View 1 Replies

Make Program Full Screen For All Resolutions?

Sep 1, 2011

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.

View 1 Replies

Make Windows Form To Fit With Any Screen Resolutions?

Jun 9, 2011

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.

View 1 Replies

VS 2008 - Making An Application The Same Size In All Resolutions

Mar 31, 2010

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.

View 12 Replies

VS 2008 Can VB Automatically Adjust For Different Screen Resolutions

Aug 14, 2010

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.

View 3 Replies







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