In my program I have a picture box. I tried loading a jpg image into it and it crashes my program. The jpg was saved as CMYK/8bits. Actually I get an error message "invalid picture". Does anyone know if picture boxes only work with RGB values?
He who never made a mistake never made a discovery?
VB's picturebox can only display of the following: Bitmap, icon, metafile, GIF, JPEG so if your image doesn't fall into this category then it will not be loaded and there is no way arround it.
Microsoft MVP - Visual Basic 2006-2013 Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database . Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent . The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array Visual Basic 6.0 On-Line Documentation . Connection Strings
Hey thanks alot.
No problem.
Forum Rules