-
July 21st, 2009, 06:02 AM
#1
Runtime Error 6 Overflow
Dear Experts,
we have a VB 6.0 application, which uses a number of OCX and DLLs developed
using VB 6.0 ActiveX projects. The application works absolutely fine on our
development environment. One of our customer having issue using the
application. The application has different services (modules). At the
customer place, they have a client server installation of 25 PCs. some of the
PCs doesn't have any problem, the other installations, gets the error
"Runtime Error 6 Overflow", when they open one of the service, where it loads
a OCX control. The specification of all the environment is (including
development env) win xp. the only difference between client env and dev
environment is the service pack, we have WinXP SP2 and customer has WinXP
SP3. To replicate the issue, we created an environment like customer's. Still
was not able to replicate the issue. We suggested to install VB6 runtime SP6.
That also didn't help. We suggested to copy the components from the PC, where
the application working and paste on the PC where it's not working. That also
didn't help. Even though they were instructed to registers the components
after copying them all.
I have tried almost all possible ways. no joy. Nothing worked as such. I am
in need of you Expert's view and suggestion to resolve the issue.
Kindly help.
Regards
Deepak
Thanks and Regards
"Always Praise for the good work served"
-
July 21st, 2009, 06:23 AM
#2
Re: Runtime Error 6 Overflow
http://support.microsoft.com/kb/171837/en-us/
Edit: make sure that the language of this PC that raise error is the same that the others.
Last edited by Ash Katchup; July 21st, 2009 at 06:44 AM.
-
July 21st, 2009, 07:17 AM
#3
Re: Runtime Error 6 Overflow
What about hardware differences? What does the troublesome ocx do?
I remember a few years back our company had written a program that would cause an overflow error on machines with high end video cards but worked fine on any system with a lesser video system. In our case there was some code in there that checked the display and the variable it used wasn't big enough for the better video cards response.
My guess would be that somewhere you have an int or long that is getting a larger number than expected. Assuming that it is not an option to setup the dev environment on that pc I would add some logging into the app and use that to determine what is causing the error.
-
July 21st, 2009, 08:38 AM
#4
Re: Runtime Error 6 Overflow
As suggested, language could cause the problem
Another variation can be the date format (Regional Settings)
-
July 21st, 2009, 09:08 AM
#5
Re: Runtime Error 6 Overflow
I would just like to point out that the environment consists of much more than just what OS they are running and what service pack. All installed hardware and software is part of the environment as well as the system configuration settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|