I am making a program that categorizes pictures. The picture paths
are stored in an Access Database, vb6 connects using adodc controls.
This program works specifically with .jpg files. It will be used by
people categorizing thousands of images.
The problem I have is that both the picture control, and the image
control seem unable to open certain jpg images for an unknown reason.
The error message simply states "Invalid Picture". I can open these
problem picturesin MS Paint or any other photo editor and the images
works fine - the problem with the file seems to be limited to the vb6
controls.
Has anyone else had this problem?
I have made a duct tape solution by identifying what the native jpg
program is on the user's machine, but can't yet figure out how to run
that program and load the trouble picture into it. ie: if paint.exe
is the program associated to .jpg extensions, then open the problem
image's path in paint.
Does anyone know what the syntax/commands are to do such a thing?
Thanks!!
Trevor
are stored in an Access Database, vb6 connects using adodc controls.
This program works specifically with .jpg files. It will be used by
people categorizing thousands of images.
The problem I have is that both the picture control, and the image
control seem unable to open certain jpg images for an unknown reason.
The error message simply states "Invalid Picture". I can open these
problem picturesin MS Paint or any other photo editor and the images
works fine - the problem with the file seems to be limited to the vb6
controls.
Has anyone else had this problem?
I have made a duct tape solution by identifying what the native jpg
program is on the user's machine, but can't yet figure out how to run
that program and load the trouble picture into it. ie: if paint.exe
is the program associated to .jpg extensions, then open the problem
image's path in paint.
Does anyone know what the syntax/commands are to do such a thing?
Thanks!!
Trevor
Comment