Avatar of wheat01
wheat01 asked on

Visual Basic 6.0 generated program executable failing on a 3.6 GigaHertz machine

To all,

I have 14 programs developed in Visual Basic 6.0 and have been compiled to EXEs

We recently wanted to upgrade the computer these programs run on to decrease (hopefully) the run times as they are very very data and manipulation intensive.

Each program uses a Foxpro.dbf file to create and OLAP .cube file.  One File in, One File Out. The Contour Cube 3.0 component is used for the conversion and definition of the .cube files.

The programs compile OK on both computers BUT

Programs run normally on

Computer 1:   8 Gigabytes RAM, Windows Server 2008 R2 Standard, 2.6 GigaHertz (Xeon)
Maximum CPU usage 50%  maximum memory used 1,300,000K

8 of 14 Programs fail with an APPCRASH error on

Computer 2:  8 Gigabytes RAM, Windows Server 2008 R2 Standard, 3.6 GigaHertz (Xeon)
Maximum CPU usage 6% maximum memory at crashes is 600,000K

There does not seem to be any relation to the size of the input files or output files to the programs which crash.

Is there a possibility the programs are not playing well in the higher speed environment?

Any Ideas on how to fix?

Thanks
Visual Basic ClassicMicrosoft ApplicationsMicrosoft DevelopmentServer Hardware

Avatar of undefined
Last Comment
Martin Liss

8/22/2022 - Mon
Martin Liss

I Googled APPCRASH and got a lot of hits including this one and this one which is a help line that you can call (most likely for a fee).
Éric Moreau

are you able to isolate the statement that causes the error? I am pretty sure it isn't hardware related but a dependency not properly installed.
ASKER
wheat01

the line of code is the last event called from the contour cube component.

with contourcubex7
   .property
   .property
   .property
   .rsdbf.open    ' causes the error only in 8 of 14 programs which have the same code
end with
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Éric Moreau

and what is contourcuve? is it properly installed on the computers? can it be related to regional settings?
ASKER CERTIFIED SOLUTION
wheat01

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Martin Liss

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.