Solved

Forms and controls losing their dimension data

Posted on 2000-04-05
3
144 Views
Last Modified: 2010-05-02
Whenever I view a form I am getting multiple dimensional errors.  The form is resized to 3600 x 4800 at 0,0.  All objects on the form loose their location and size data, reverting to their default values.  Furthermore the location and dimension data shown in the standard menu bar have 0,0 and ----,---- shown.  By moving the form around I can see that the location numbers are limited to 0 to 90, beyond these values I get ----.  

Form resized - when...
The first time I select to view the form from the project window is when the .log file is created listing the errors and the form is displayed top left on the screen, with all the controls displayed top left in the form.  After the first time the objects all hold their new values - obviously todate I have not saved the form in this condition!

Moving the form ...
I have been using the mouse to drag the form around on the screen to see the 0 to 90 effect

I can create a new form, which behaves correctly.  Saving the form and then viewing the form causes the same errors.

I have already completely removed and reinstalled Visual Studio 6 and returned to Service Patch 3, to no avail.

I have VB6 SP3 installed on NT 4 SP5
0
Comment
Question by:NickWestby
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 0 total points
ID: 2686735
Answer from NickWestby:

"Looking at the Decimal symbol in the Regional settings I found that there was no entry.  This should not be able to happen.  By putting in "." everything started to work.

This also affected a number of other programs, notably Excel which refused (most of the time) to accept any number as a number, it thought that they were text. For example, entering "=2+3" into a cell caused an error!!"
0
 

Author Comment

by:NickWestby
ID: 2686752
A very puzzling problem, especially given that the cause of it should not be able to occur anyway.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2686771
Very true, especially upon a reinstall of VB as you did.  Might want to notify MS of that one.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now