473,386 Members | 1,817 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,386 software developers and data experts.

Form resizing on different machines VB.NET 2003


I wrote an application (568x392 sizable to 690x500) with four group
boxes, that contain one each image (120x120), a text
box, and a button. It was developed on a laptop @ 1024x768 and the form
sizes correctly at all screen resolutions.

On my main machine running 1024x768 things are VERY different.

The images that had 6 pixels clearance on either side of the group box,
are 1/3 smaller and are shifted to the LEFT in the group
box, the graphic on the top of the form has shifted way left (all images
and controls are locked) and the form no longer holds all
of the images. it's too small

What am I missing to make this application size itself correctly?

TIA for anyone who can shed light on this,

Oh VB.NET 2003 FW 1.1 with the service pack.

Regards,

Gary
Mar 4 '06 #1
1 1378
On Sat, 04 Mar 2006 16:46:32 GMT, Gary Nappi <gn****@earthlink.net>
wrote:

I wrote an application (568x392 sizable to 690x500) with four group
boxes, that contain one each image (120x120), a text
box, and a button. It was developed on a laptop @ 1024x768 and the form
sizes correctly at all screen resolutions.

On my main machine running 1024x768 things are VERY different.

The images that had 6 pixels clearance on either side of the group box,
are 1/3 smaller and are shifted to the LEFT in the group
box, the graphic on the top of the form has shifted way left (all images
and controls are locked) and the form no longer holds all
of the images. it's too small

What am I missing to make this application size itself correctly?

TIA for anyone who can shed light on this,

Oh VB.NET 2003 FW 1.1 with the service pack.

Regards,

Gary


If this were VB6, I would say that you were describing the classic
Large Font(120 DPI)/Normal Font (96 DPI) setting dilema which was
particularly troubling if using the old Twips ScaleMode. In other
words, the laptop appears to be using a large font setting and the
main pc, normal fonts. I don't know about VB2003, but in VB2005 there
is a form property, AutoScaleMode which when set to DPI, seems to take
care of that problem.

Gene
Mar 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: D & J Gilchrist | last post by:
Has anyone here had success with resizing .jpg graphics in VB5? I would like to convert .jpg files so that they will all display the same height. TIA Don
1
by: Catherine Jo Morgan | last post by:
If I make a form in Access 2002 without thinking about making it resizable in different browser windows, can I add this feature later? Or do I need to do something about it right at the start, as...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
0
by: Patrick Lioi | last post by:
We have form that is used as the base class of all of our forms, let's call it BaseApplicationForm. We have another form, say ChildApplicationForm that inherits from BaseApplicationForm. The...
2
by: (PeteCresswell) | last post by:
I've got a form that has a TreeView in the upper part of the form and a TabControl in the lower. When processing a Resize event, the TabControl does not need tb resized - just moved so that the...
3
by: JT | last post by:
have a VB6 project that on the form I have set the BorderStile to 2 - sizable and created a function to resize the form and its controls min or max. Although, I am trying to find a way to...
64
by: Philip Potter | last post by:
Hello clc, I have a buffer in a program which I write to. The buffer has write-only, unsigned-char-at-a-time access, and the amount of space required isn't known a priori. Therefore I want the...
8
by: Phil Reynolds | last post by:
I have a single text box (a large one) in a form that pops up. I want the text box to change size as the user changes the size of the form. However, doing me.txtbox.width = me.width doesn't work,...
0
by: ghickey | last post by:
I'm having problems with a windows form application that I am developing using C#.Net 2003. My application's layout gets altered when I transfer projects between the following two machines. ...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.