473,466 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

object properties changing on different machines

Hi. I have what I think is a strange thing happening when I copy code
from one machine to another. I'm developing on a Win2000 desktop (17"
monitor at 1280x1024 resolution). I'm putting the code on an XP
laptop (15.4" monitor at 1280x1024) for someone else to use. When I
look at the code for a form object on the laptop, the *code* says the
client size is 1280x1024 and a particular label is 150x150, both as
they are on the desktop and as they should be. However, when I look
at the designer view, the properties window has the objects as
1066x887 and 125x130, and that's how they show up at runtime, which
screws things up. The code never actually changes. (Other objects
are incorrect too, but those are the two most obvious.) The only
differences (that I can think of) are the OS's and the monitor sizes.
Any thoughts would be greatly appreciated, thanks.
Justin
Nov 16 '05 #1
1 1169
I'm hoping no one posted a reply because it was just too hard a
problem, not too easy such that anyone should know. Anyway, in case
anyone's curious, someone gave me a suggestion that worked. By right
clicking on the dekstop and going to Properties>Settings tab>Advanced
button, I needed to set the Font Size to Large Fonts. Not sure why
this works, but it did. Now I have huge fonts in the title bars of
windows, but the program works properly, which is what I cared about.
-Justin

Gr*******@hotmail.com (Justin Carter) wrote in message news:<f9**************************@posting.google. com>...
Hi. I have what I think is a strange thing happening when I copy code
from one machine to another. I'm developing on a Win2000 desktop (17"
monitor at 1280x1024 resolution). I'm putting the code on an XP
laptop (15.4" monitor at 1280x1024) for someone else to use. When I
look at the code for a form object on the laptop, the *code* says the
client size is 1280x1024 and a particular label is 150x150, both as
they are on the desktop and as they should be. However, when I look
at the designer view, the properties window has the objects as
1066x887 and 125x130, and that's how they show up at runtime, which
screws things up. The code never actually changes. (Other objects
are incorrect too, but those are the two most obvious.) The only
differences (that I can think of) are the OS's and the monitor sizes.
Any thoughts would be greatly appreciated, thanks.
Justin

Nov 16 '05 #2

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

Similar topics

3
by: JayBrahms | last post by:
Hi there. OK, this is a little bit complicated. I would live to find a different way to do this, but evidentially I am not able to open a Text-File in JAVASCRIPT and fill an Array with the...
54
by: tshad | last post by:
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " +...
16
by: sneill | last post by:
How is it possible to take the value of a variable (in this case, MODE_CREATE, MODE_UPDATE, etc) and use that as an object property name? In the following example I want 'oIcon' object to have...
8
by: dixie | last post by:
I have a report with a subreport. The source object for this subreport varies according to the value of a field in a table. I am trying to programmatically set the object source for the subreport...
15
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
4
by: Luke Matuszewski | last post by:
Here are some questions that i am interested about and wanted to here an explanation/discussion: 1. (general) Is the objectness in JavaScript was supported from the very first version of it (in...
11
by: Kevin Prichard | last post by:
Hi all, I've recently been following the object-oriented techiques discussed here and have been testing them for use in a web application. There is problem that I'd like to discuss with you...
7
by: TS | last post by:
I was under the assumption that if you pass an object as a param to a method and inside that method this object is changed, the object will stay changed when returned from the method because the...
23
by: tonytech08 | last post by:
What I like about the C++ object model: that the data portion of the class IS the object (dereferencing an object gets you the data of a POD object). What I don't like about the C++ object...
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.