Solved

Forms and controls losing their dimension data

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

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…
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.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

760 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

18 Experts available now in Live!

Get 1:1 Help Now