Solved

Forms and controls losing their dimension data

Posted on 2000-04-05
3
145 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…

809 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