I have source code in VB that will take in a bitmap, and write to the form file a transparent form of the bitmap. The code is available at:
I changed it so that I can open a bitmap while running the application, and then save (but this just saves the same image with a dif name for now - i want to change this later). My question is that is there anyway you could look at the given code, and change it so that instead of saving right on the form, it would save the new .bmp onto a picture box? Or better yet, just save the name of the new transparent bitmap in a string data type. This way I can save it to a directory.
Also, is there anyway that instead of opening each file one at a time, could I open the directory and have the application list through all the bitmaps in the direcotry, running this program on them. Note, there are not only bitmaps in this directory, so if that was possible, I'd have to have a conditional "if" statement somewhere to check if it has a .bmp extension. Any help? Thanks