|
-
Oct 20th, 2001, 08:19 AM
#1
Thread Starter
Fanatic Member
Error Problem
I created a program on my pc and then made a setup of it using package and deployment wizard along with all dependencies. I isntalled that program in the college computer using this setup. Now whenever I run this program in college I get Error#6 overflow which I was not getting on my home PC. How do I solve the problem and how can I find where the problem lies? Is it the problem with my variables?
Please help. Its urgent. I have to display my software in exam.
Kinjal
-
Oct 20th, 2001, 08:25 AM
#2
-= B u g S l a y e r =-
probl a function returning values bigger than expected.
I had this behavior in a program once, It worked fine on some machines and not on others. It was all caused by a function returning values greater than my vars could take.
Try put in msgboxes in u'r code so that u know where it stops.
-
Oct 20th, 2001, 08:27 AM
#3
Thread Starter
Fanatic Member
Its going to be a real painfull job. But I don't understand why it is not happening on my system?
Any way thanks for your suggestion
Kinjal
-
Oct 20th, 2001, 08:37 AM
#4
-= B u g S l a y e r =-
Originally posted by kinjalgp
Its going to be a real painfull job. But I don't understand why it is not happening on my system?
Any way thanks for your suggestion
Kinjal
I think when I had that problem, it was a handle of some sort returned from an API, that I tried assigning to an Integer var.
It worked just fine on my computer, but on some other computers, the handle was bigger than an integer could hold.
This might be the problem in u'r case.
-
Oct 20th, 2001, 08:37 AM
#5
Fanatic Member
Could be something subtle. (Like a regional setting not the same on the other PC), so something you are calculating is bigger than you expect. Are you reading disk free-space, or something like that?
That Message Boxes trick is a good way to go, but it's a pain if you have to keep changing the message boxes and recompiling.
One little tip - if all you are changing is message boxes, then you can probably get away with just copying the EXE, not a complete reinstall every time. May save you a bit of time.
Brian
(Fighting with the RightToLeft bugs in VS 2005)
-
Oct 20th, 2001, 08:40 AM
#6
-= B u g S l a y e r =-
VB Code:
Dim i As Integer
i = 90000
error 6 overflow
-
Oct 20th, 2001, 08:42 AM
#7
PowerPoster
Peet, I've even had it happen with no Api calls... I cant remember what exactly caused the problem now (was a while ago) but i know that when writing on a sooooopa compoota and then returning to my vic20 style machine I would get logical errors that should have affected both equally. Maybe some pootas know the drill and say "duffer developer.. dont worry i'll fix it for you"
-
Oct 20th, 2001, 09:05 AM
#8
-= B u g S l a y e r =-
-
Oct 20th, 2001, 09:06 AM
#9
Member
I think he meant compootas not the latino version
-
Oct 20th, 2001, 09:09 AM
#10
PowerPoster
Originally posted by shabbs
I think he meant compootas not the latino version
The weird thing is that the original sentence still makes sense with your version of the word!!!
"duffer developer.. dont worry i'll fix it for you"
-
Oct 20th, 2001, 09:09 AM
#11
-= B u g S l a y e r =-
hmmm... he got me worried there shabbs...
-
Oct 20th, 2001, 09:10 AM
#12
-= B u g S l a y e r =-
Originally posted by beachbum
The weird thing is that the original sentence still makes sense with your version of the word!!!
"duffer developer.. dont worry i'll fix it for you"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|