On win2k and earlier you can use the Wang/Kodak imaging controls (image edit, image admin, etc), on xp and later you can use WIA (Window Image Acquisition). Search MS for the SDK download...
Good Luck
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
First, you have created this thread as a code snippet asking how to do something. Second, I gave you the leads you need to solve your problem, and now third you are demanding code??? Well, I don't think so. You want code, see the WIA 2.0 SDK that you can download from MS or use your friends (yahoo, google, ask, answers, bing).
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
J2, read the forum rules...
AND, if the OP would download the WIA SDK they would have all the example code they would need. It is that simple!
By the way, Classic VB or Visual Basic 6.0 has the ability to display BMP, ICO, GIF, JPG, JPEG, EMF, WMF. Then with win95 to win2k the Wang/Kodak controls allowed us to display Tiff files among other formats, and after that, MS invented WIA so various formats could be displayed including Tiff. Then with the use of WIA or GDI+ PNG's can be displayed...
As for giving away code J2, I am not in business or in the habit of doing such a thing as I am paid to create code, so why would I just give it away???
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296