I have a folder of images to be opened. By using OpenFileDialog (OFD), I managed to open the folder and select a particular image.
I understand that a user can also select the directory to open a file or folder.
After opening the first image in the folder, I would like to have a button "NEXT" on the form, so that when I click the button, the next image in the folder can be viewed.
I also managed to extract the Current Directory of the OFD by using
" CurDir() ".
So my question is:
What codes should I write for the " NEXT " button so that when I click the button, the next image in the folder can be viewed ?
I understand that a user can also select the directory to open a file or folder.
After opening the first image in the folder, I would like to have a button "NEXT" on the form, so that when I click the button, the next image in the folder can be viewed.
I also managed to extract the Current Directory of the OFD by using
" CurDir() ".
So my question is:
What codes should I write for the " NEXT " button so that when I click the button, the next image in the folder can be viewed ?