Solved

Forms and controls losing their dimension data

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

696 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