ViewFilesDialog ??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Dann

    #1

    ViewFilesDialog ??

    I may be missing something obvious here, but is there some
    straightforward way, using a .Net Winform control in VB2005, of
    displaying the contents of a folder as a file listing with the option
    - eg via a right-click menu - to delete one or more files? (I want to
    present the user with the contents of a fairly obscure,
    program-specific folder without them needing to use eg Windows
    Explorer as a separate action.)

    My immediate reflex was to use the common dialog control but then I
    realised that I don't specifically want to open a file nor save one so
    the exact layout of the dialogs for these two options isn't ideal.

    JGD
  • Stephany Young

    #2
    Re: ViewFilesDialog ??

    Start with a ListView control and add whatever functionality you wish.


    "John Dann" <news@prodata.c o.ukwrote in message
    news:sp6gt29pkv 2ojuoajbocl7me8 e3lba4t69@4ax.c om...
    >I may be missing something obvious here, but is there some
    straightforward way, using a .Net Winform control in VB2005, of
    displaying the contents of a folder as a file listing with the option
    - eg via a right-click menu - to delete one or more files? (I want to
    present the user with the contents of a fairly obscure,
    program-specific folder without them needing to use eg Windows
    Explorer as a separate action.)
    >
    My immediate reflex was to use the common dialog control but then I
    realised that I don't specifically want to open a file nor save one so
    the exact layout of the dialogs for these two options isn't ideal.
    >
    JGD

    Comment

    • John Dann

      #3
      Re: ViewFilesDialog ??

      On Sun, 18 Feb 2007 22:46:27 +1300, "Stephany Young" <noone@localhos t>
      wrote:
      >Start with a ListView control and add whatever functionality you wish.
      >
      Yes, I did wonder if that was the only option - it's just another form
      and block of code to write and debug, whereas the File CD controls are
      pretty much off-the-shelf. But it does seem to be a weakness of the CD
      controls that there's no simple View Files option with right-click
      menus enabled as in WE - there are more things one commonly wants to
      do with files than just open or save.

      Thanks anyway.

      JGD

      Comment

      Working...