473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Screen Resolution

1
Hi

I am new to Vb programming. started earlier this year. my screen resolution on my computer is 1024 by 768.How do i make sure that my programme can run on a computer with a resolution of 800 by 600 without some of the information be off screen and the computers resolution not being set to 800 by 600?

thank you for your responses.

NickyA
Jul 15 '07 #1
7 1139
Killer42
8,435 Expert 8TB
Hi

I am new to Vb programming. started earlier this year. my screen resolution on my computer is 1024 by 768.How do i make sure that my programme can run on a computer with a resolution of 800 by 600 without some of the information be off screen and the computers resolution not being set to 800 by 600?

thank you for your responses.
Try looking around for tutorials on designing a user interface. The technical details of how to move things around or change their size are generally quite simple. You first have to decide what you want to do on systems that have a different screen resolution. As with most programming, working out what to do is generally harder (and arguably more important) than working out how.
Jul 17 '07 #2
Hi

I am new to Vb programming. started earlier this year. my screen resolution on my computer is 1024 by 768.How do i make sure that my programme can run on a computer with a resolution of 800 by 600 without some of the information be off screen and the computers resolution not being set to 800 by 600?

thank you for your responses.

NickyA
hi,

try BKResizer, and let me knw if it works for you.
Jul 25 '07 #3
Macta
6
I think you first of all find the target computer resolution usign screen object
( screen.width & screen.height ) and then reset all your application controles to that resolution ( e.g. command1.move... etc ). Resize your forms and all other controls to 800 X 600. For further info, study vb Screen object.
Good luck.
Jul 25 '07 #4
I think you first of all find the target computer resolution usign screen object
( screen.width & screen.height ) and then reset all your application controles to that resolution ( e.g. command1.move... etc ). Resize your forms and all other controls to 800 X 600. For further info, study vb Screen object.
Good luck.
hi Macta,

i thaught of this solution. it works for small applications, but when it comes to bigger applications then dont you think the performance of the application will degrade.

if you have a better idea please suggest.
Jul 30 '07 #5
Killer42
8,435 Expert 8TB
i thaught of this solution. it works for small applications, but when it comes to bigger applications then dont you think the performance of the application will degrade.
That would probably depend on what you do with the controls, and how frequently. I expect most of the work would generally be required only once per execution, when the form is loaded.
Jul 30 '07 #6
That would probably depend on what you do with the controls, and how frequently. I expect most of the work would generally be required only once per execution, when the form is loaded.
yes, but i think if there are around 15 to 20 controls and its using tab pages (forms called in tab) then the process time in all will increase, thus degrading the usage performance of the application.

what do you think, do we have something that fixes the size of controls while loading the application, and not individual module. this way whatever time required will be taken at application load, and then it will work normally??
Aug 1 '07 #7
Killer42
8,435 Expert 8TB
I think what you want is referred to as an "elastic" control. I haven't seen one in years, but I recall them being mentioned here a few months ago. Try a bit of searching with our search box up the top.
Aug 1 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ZaGras | last post by:
when my vb program run on another computer instead of my computer, the user interface is biggger..this is because of the screen resolution... anyone know how to solve pls?
23
by: Dufe | last post by:
Hello all: To deal with the problem of differing user screen resolutions, I've explored: 1) making the pages in PHP, 2) having different pages on the same page and selecting the proper one via...
5
by: Chris | last post by:
After exhausting my search on the MS website, I can't find a straight answer. I fin dit hard to believe that MS left our something so useful in ASP.NET as screen resolution detection. Problem:...
4
by: pjac | last post by:
I need some help with some VB language that will change the screen resolution on a monitor when a MS-Access 2000 database is opened from 1024 x 768 to 800 x 600. Any help with this effort would be...
1
by: fabrice | last post by:
Hi, I'm trying to get the screen resolution of the client and to realize a treatment in code behind. it seem to be hard. I can get information about the resolution with this following sub,...
6
by: Darian | last post by:
I am wondering how (if it is possible of course) I can change a users screen resolution to a certain size when running my application and then change it back when they exit my application. For...
5
by: Maxi | last post by:
I have a 30X16 cells table in my html page. Table height and width are set to 100%. I have set size of every cell inside the table to 24 pixel. When I open the html page in maximize state in...
9
by: Steve Wright | last post by:
Hi I'm developing a webpage that needs to include a different stylesheet depending on the screen resolution. I know that I could read the resolution in javascript and then do some sort of...
1
by: nasima khan | last post by:
Hi, i am nasima. I have got a code for setting the screen resolution of my page, but i am unable to understand. Can any one give a complete data explanation of the below code. Sub ChangeRes(X...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.