Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Run-time error '7' Archived to Disk
You have misunderstood me. I have VB installed on XP and I do all the programing there. I compiled program, made setup, installed it on XP and it worked fine. I installed it on 98 and when I move from one record to another in base (every record has different drawings and images), at first it pic boxes are not 'refreshing' enough (every time I move to another record less lines are drawn), the system is slowing down, and msg error pops up err '7' and error 480. So I came up with the idea to install VB on 98 and see what went wrong. So I installed it, started uncompiled project, and then after moving pointer through base (as I said every time I move pointer to base picures are redrawn, jpeg's are loaded, but not in the same time). But in both cases, I get this error msg's, and I get the usual VB windows when bug comes out. When I click to debug, I cannot get in the code to see where the bug is (in case of error '7', I guess because I am out of memory)), but in case of error '480' I can and the error is in the line
picThumb(inX).PaintPicture picOrigin.Image, 0, 0, picThumb(inX).ScaleWidth,
picThumb(inX).ScaleHeight, 0, 0, picOrigin.ScaleWidth, picOrigin.ScaleHeight
, where picThumb is member of array pic boxes, and picOrigin is the pic box where real-size jpeg is loaded. I repeat, this code works fine when first couple of times jpeg's are loaded, but after that error pops up. After that windows doesnt function normaly( i.e. When error '7' pops up and I dont close the message, but click on Start button, nothing happends, but when I mobe mouse up, options begin to apear-ShutDown, Run.....). When I close error msg, program terminates, but windows continue to work slowly, until it is restarted (for instance, now I cannot copy files and listen to music at the same time and I have Duron 750 MHz, 256 Mb SDRAM). But program works OK on XP. I am begining to suspect that kernel memory is the issue here
____________________________
If you find the answer helpful, please mark this topic as solved.
|