Hi,
I am trying to program excel to create a smaller version of a picture displayed on an microsoft 2.0 image control in a userform that I have created and save it as a file.
I have been looking around for a while and it seems that the stretchblt function from the gdi32.dll is probably best suited. The software I am creating will be used by a number of users and I do not want to install additional files on their computer so hence I am trying to use functions that are present in most windows operating systems.
I have searched the web and cannot find the code to do it. Can someone please help me as I am out of my depth with this problem.
Thanks.
I am trying to program excel to create a smaller version of a picture displayed on an microsoft 2.0 image control in a userform that I have created and save it as a file.
I have been looking around for a while and it seems that the stretchblt function from the gdi32.dll is probably best suited. The software I am creating will be used by a number of users and I do not want to install additional files on their computer so hence I am trying to use functions that are present in most windows operating systems.
I have searched the web and cannot find the code to do it. Can someone please help me as I am out of my depth with this problem.
Thanks.