Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

Run-time error 6 Overflow

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
jtequia
Asked:
jtequia
1 Solution
 
Brook BraswellApplication Development ManagerCommented:
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
 
kbireckiCommented:
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
 
jmoss111Commented:
most likely its a variable Dim as Int; change to Long and recompile.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
jtequiaAuthor Commented:
I don't think I have the source can anyone recommend a VB decompiler ?
0
 
Brook BraswellApplication Development ManagerCommented:
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
 
kbireckiCommented:
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now