Results 1 to 18 of 18

Thread: [RESOLVED] Help: Should I use Common Dialog or ??

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2005
    Posts
    61

    Resolved [RESOLVED] Help: Should I use Common Dialog or ??

    OK. I've got a program that displays pictures, thumbnails, etc.

    On the form I have a DriveListBox, DirListBox, and FileListBox, and also a combo box for type of file (.jpg, .gif, .bmp, yadda yadda) for the user's selection. If the user clicks on a thumbnail, a new form pops up with a larger version of the thumbnail. I know ... this is all basic thumbnailing stuff, but I was fortunate in that it all works well, no problem there.

    HOWEVER, I would like to add the functionality of giving the user the option of right clicking on either 1) a filename in the FileListBox, 2) a thumbnail, or 3) a larger picture; then having a menu pop up (I also have the menu taken care of ...) offering the following options: Rename (same as SaveAs?), Copy(same as SaveAs?), Move(same as SaveAs?), or Delete.

    Included in these would naturally check for a valid path, and if the user specifies a new directory in the Rename, Copy or Move, the directory would be created. What I initially did (and I wound up with a mess) was when the user right-clicked on one of the above, a new form would pop up displaying the current file location/name, and a textbox where the user could type in all the new info, or a "delete" checkbox next to the originally selected file name. Cumbersome and generated a lot of complaints.

    There's a lot out here on VBForums and I've been searching for a couple of days for a comprehensive example I could copy and modify to my needs (I know that's a cop-out but I would be modifying it LOL), but, as usual, I've gotten myself into a spider's web of coding with the above-mentioned methodologies. So time to start over with some good guidance!

    Thanks in advance.
    Last edited by John K; Apr 19th, 2005 at 01:26 PM. Reason: RESOLVED

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width