|
-
Oct 11th, 2000, 01:09 AM
#1
Thread Starter
Frenzied Member
Hi.
I can't figure out what makes this app stop responding.
Simply scrolls thru a list of jpegs in a string array and loads them into an image control.
It always stops in the same place and does not give an error of any kind. The app merely stops responding.
I would think a bad or incomplete jpeg, but that usually gives error number 481.
Any ideas? (code below)
For x = 0 To intCount
frmBannerFinder.Refresh
Text2.Text = x
Image1.Picture = LoadPicture(strFile(x))
Text3.Text = strFile(x)
Next x
Thanks
Wengang
Wen Gang, Programmer
VB6, QB, HTML, ASP, VBScript, Visual C++, Java
-
Oct 11th, 2000, 01:19 AM
#2
Lively Member
the error is "Invalid picture"
so the file you are loading is somehow not in an acceptable picture format - I get a few like those - it could be an old type of jpg compression that VB doesn't decode
-
Oct 11th, 2000, 02:36 AM
#3
Thread Starter
Frenzied Member
well, the problem is i dont get any error message, just the application stops responding
also, i cant find the bad jpg in a folder of 4000 jpgs because (I assume) it is when this file is "next up" that the error occurs so there is no way to print the name in a msgbox or textbox.
ANy thoughts?
Wen Gang, Programmer
VB6, QB, HTML, ASP, VBScript, Visual C++, Java
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
|