Solved

Forms and controls losing their dimension data

Posted on 2000-04-05
3
148 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

729 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