I have an ODBC database program for administering a client database, and when I change records the picture of the client is displayed in a picture box object. The user of the program has to manually resize the photos d/loaded from his digital camera every time he saves the jpg to the proper folder. What I would like is to modify the program to load the jpg original, resize it to the pixel dimensions I choose in the code to then load it into my picture box object which works fine. I don't want to redo the whole system of loading pictures to accomplish this...I want to use what I have and modify it to work.
I have found a class called CxImage that does do this (called Resample in menu) but it seems awfully complexe for m. I'm not an expert programmer and do this as a hobby and not for a living. Is there a simple way of using the Resample function in the CxImage class, or is there another way to do this with what I already have? In my project I have the CPicture2 class, CPicture, and CPicClip class. I only use the CPicture2 class so far. Can anybody lead me in the proper direction here please? Thanks! (I am trying to finish this in a week or so hopefully)