FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HOW TO TEST A IMAGE
Posts: 36
Joined: Sat Jun 19, 2010 10:09 AM
HOW TO TEST A IMAGE
Posted: Mon Oct 31, 2011 03:35 PM

hello to all of the forum, I would like to know how to test if there is a jpg photo file is valid or not.
because I have a product registration screen q shows a photo of the product, and already had problems to stop the application because the photo is corrupted.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: HOW TO TEST A IMAGE
Posted: Mon Oct 31, 2011 06:23 PM

You can trap the error using a TRY/CATCH/END structure.

EMG

Continue the discussion