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
Solved

Run-time error 6 Overflow

Posted on 2011-09-30
6
413 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

792 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