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

different button size on different computer

I have problem with VS2003
VB.NET Project

On my computer, I set the button size to 75, 37 and save the project
When I open on my friend computer, the button show up to be 90,43

What's wrong?

Microsoft Dev. Env. 2003 - Version 7.1.3088
Microsoft .NET Framework 1.1 version 1.1.4322

Nov 20 '05 #1
1 1694
Thinh,
Was the button itself the same size relative to the form?

Do yours & his monitors have the same resolution & DPI size?

Windows Forms have an AutoScale ability that the designer stores the
AutoScaleBaseSize used when designing the form, then when it runs it sets
the form property so the controls turn out to be the same relative size on
the new computer.

Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual
Basic.NET has a good explanation of how this works.

Hope this helps
Jay

"Thinh Dang" <td***@micsystems.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have problem with VS2003
VB.NET Project

On my computer, I set the button size to 75, 37 and save the project
When I open on my friend computer, the button show up to be 90,43

What's wrong?

Microsoft Dev. Env. 2003 - Version 7.1.3088
Microsoft .NET Framework 1.1 version 1.1.4322

Nov 20 '05 #2

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

Similar topics

3
by: Itai | last post by:
I have an aspx file named index.aspx which contains two ‘form' sections, one that has the runat=server attribute (e.g From1) and one which is a regular HTML form (e.g SignInForm). I am trying...
2
by: Les Peabody | last post by:
Hello. I'm a rookie ASP VBScripter and am having a difficult time scripting the following scenario: I have an index.asp file that has a multi-line text box and a button of type button. When...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
9
by: Gidi | last post by:
I've created a program in C#, which includes several Forms. some of the forms are in different size, but i start all of them in Window Normal Size. I took the exe file from the \bin\debug library...
5
by: Simon Benson | last post by:
Probably a fairly simple problem but one that's been plaguing me for a couple of days... can anyone help? I have a classic ASP page with a number of text boxes which are updatable. For...
3
by: Ryan Liu | last post by:
Hi, I have a big urgent problem to solve. I used to use Windows 2000 Chinese version, now I installed Windows XP (English) system. The problem is not about 2000 or XP, it is about English...
2
by: Peter Oliphant | last post by:
I'm developing a program at home on a Windows Vista computer. In it I create a form with a few buttons on it that fill up the form's visible area. So, I took the application to work, where I use...
10
by: Geoff Cox | last post by:
Hello, Can anyone tell me why these 2 sets of code give different results? for (J in Next) { <action> } <function>
9
by: RayDube | last post by:
Hello Gents, I want to be able to reward my members with credits, banner advertisements, text advertisements and even cash, but on a partially manual basis. I created a page where I could...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.