Solved

Run-time error 6 Overflow

Posted on 2011-09-30
6
412 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

777 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