Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21845

[RESOLVED] Overflow problem

$
0
0
So i was running the program and it says "Runtime error 6 : Overflow " , and it highlights the 20th line where it reads the data . The data are numbers supposed to be in 6 digits forms like xxx-x-xx , however the user is requested to type xxxxxx. Please help . If the full code is needed just tell me . For now i'll have the part up to the error posted . The strange characters are just in another language , i don't think theyhave anything to do with the problem since they are just in expressions .

PHP Code:

Private Sub Command1_Click()
Dim i As SingleAs SingleAs SingleAs SingleAs Single
Dim s 
As IntegerAs IntegerAs IntegerM_1 As Integermesos As IntegerGMID() As Integeru_1() As Integeru() As Integeruu() As Integeru0() As Integersum As Integer
Dim intMID
() As Integer
Dim A
() As Integer
InputBox("ÅéóÜãåôå áñéèìü äéåõèýíóåùí")
InputBox("ÅéóÜãåôå áñéèìü ðåñéüäùí")
sum 0
0
0
ReDim u_1
(n)
ReDim u(n)
ReDim uu(n)
ReDim u0(s)
ReDim intMID(s)
ReDim GMID(n)
ReDim A(n2)
 For 
1 To s n
   
For 1 To 2
    A
(ij) = InputBox("ÅéóÜãåôå ãùíßá óêüðåõóçò (óå 6øÞöéá ìïñöÞ, 1ç èåóç/ 1ç óêïð. , 2ç èåóç/1ç óêïðåõóç êôë. )")
   
Next
 Next 


Viewing all articles
Browse latest Browse all 21845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>