Solved

More erratic behaviour on new PC

Posted on 2001-08-16
3
491 Views
Last Modified: 2007-12-19
I recently transferred one of my VB6 projects to a new PC which I built myself. The relevant hardware
comprises Gigabyte 7ZXR motherboard, 256k PC133 SDRAM, Athlon 1.2Ghz CPU, Matrox G450 Dual Head Video.

I have not had problems with other programs, and the project was fine on a previous Athlon 600Mhz system and has been retested on an AMD k6-500 system.

(OS=Windows 98SE in all cases). Minimal other programmes installed.)

The project is in VB6, and it uses VideoSoft VSOCX6.OCX control to provide a Tabbed Dialogue facility and it also uses vsElastic and vsElastic Light controls.

Other additional controls used are COMDLG32.OCX and RICHTX32.OCX

When testing in the IDE, and compiled I have noticed several oddities. Main ones are -

a) a version compiled on an earlier PC (600mhz) exhibits severe screen distortions when run on this new PC.

b) Running unmodified code in IDE on new machine - similar problems.

c) Compiled project exhibits similar distortions.

d) Removing vsElasticLight and most vsElastics reduces the problem in the IDE. Compiled versions OK.

The distortions are -

a) when vsElasticLight is used - problem b) plus some labels grossly enlarged.

b) vsIndexTab and vsElastics on the tabs extend below the window as designed.

c) Windows change size - in original project 7200 x 9495 - alter to say 7170 by 9390.

I have tried interchanging the video card/drivers between the Athlon 1200 and K6-500 - this had no effect.

Has anyone any pointers please?

nedwob
0
Comment
Question by:nedwob
[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
3 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 6394128
<ping>
0
 
LVL 4

Accepted Solution

by:
mcoop earned 300 total points
ID: 6394264
my guess is that vsElastic is being confused by the desktop dimensions reported by the G450-DH

I don't know vcElastic - but from the name, it sounds like an 'auto-scaling' wrapper for your forms etc.

There is no 'easy fix' to form design and scaling - these wrappers are a 'quick fix' but not entirely reliable in the huge landscape of video cards and drivers.

If this is the problem, then I suspect that you have reached the level of project complexity where you need to look at rewriting your forms to handle scaling in code - rather than using an off-the-shelf wrapper.

Good luck...  unfortunately - this day was always coming... just that you have arrived already !
0
 

Author Comment

by:nedwob
ID: 6403137
Thanks for the suggestions. As the comments did not fully solve the problem I have given 200 points.

nedwob
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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…
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…

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