Solved

Run-time error 6 Overflow

Posted on 2011-09-30
6
405 Views
Last Modified: 2012-05-12
We have a home grown purchasing application that's been in service for over 10 years, the application takes pre purchase orders to create purchase orders.   This system is unsuppoted, but when the user attempted to print a Purchase Order from the app the following messaege appears Run-time error 6 overflow.  THis was written in VB6, I nstalled this application on another computer and was able to replicate the error.  
0
Comment
Question by:jtequia
6 Comments
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 36892207
Do you have the source code ?
Sounds more like a variable in the application is defined with a limiting value and your Purchase order has a value larger than it can hold
or
The database it was designed against has a limit ( or both )
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36892796
Brook1966 may be right on track.  Are there other users besides the one you mention having the problem and the test setup you did?  Does it work anywhere?   Do they all have this problem?  If so, it probably is application wide.  If not, could there be other components to the app that have changed somehow?

Also, are there other components to the app that still work?
0
 
LVL 18

Accepted Solution

by:
jmoss111 earned 500 total points
ID: 36892898
most likely its a variable Dim as Int; change to Long and recompile.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:jtequia
ID: 36893484
I don't think I have the source can anyone recommend a VB decompiler ?
0
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 36893641
eewww....
Even with a good decompiler - you would need a way to rebuild and fix the app..
Without the source code somewhere - you may be stuck
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36894624
Yea, just search ee or google for "vb6 decompiler" and you'll see how futile that is.  Any chance you can contact there developer?
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

758 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

22 Experts available now in Live!

Get 1:1 Help Now