Link to home
Start Free TrialLog in
Avatar of nedwob
nedwob

asked on

VB erratic on new system

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.

The project is in VB6, and it uses VideoSoft VSOCX6.OCX control to provide a Tabbed Dialogue facility. Other additional controls used are COMDLG32.OCX and RICHTX32.OCX

When testing in the IDE I have noticed several oddities. main ones are -

a) Select Case - Code after a 'Case XX' Statement is not excuted even when the 'Case XX' is TRUE.

b)My program uses a VideoSoft OCX to produce a tabbed dialog box. When single stepping, moving the mouse over the program window causes the program to display other tab pages.

Has anyone any pointers please?

nedwob
Avatar of PaulHews
PaulHews
Flag of Canada image

>a) Select Case - Code after a 'Case XX' Statement is not excuted even when the 'Case XX' is TRUE.


When compiled does it work correctly?  Can you post the code so we can see what the problem might be?
ASKER CERTIFIED SOLUTION
Avatar of Dave_Greene
Dave_Greene

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'd go with Dave Greene - you'd be AMAZED what will run 'successfully' when you've got references missing
Avatar of Éric Moreau
I would install latest SP for Visual Studio (which is currently SP5).
Avatar of nedwob
nedwob

ASKER

Thanks to all who commented - I think I solved the 'Select Case' problem myself - stupidly forgot to remove leading/trailing space characters from the parameter!

I will remove all redundant/missing references. I will also get SP5 - mine is SP3.

nedwob