We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 102,577 times

Contents

Related Categories

Common Dialog Control - A Better Common Dialog Control!

A Better Common Dialog Control!

If you just want to display the open and save dialogs, what's the point of having a control with extra code you don't need? VB Web has the solution! Take a look at our Open/Save Dlg Control (with multi-file select support)

There is another control which does exactly the same as the MS Common Dialog Control, but is smaller, lets you select multiple files (without resorting to a win 3.x style open dlg), and lets you show the page setup dialog as well! What's more, you don't need to change any of your code. Interested? Take a look at VBAccelerator.com

James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.

Comments

  • Re: Common Dialog Control

    Posted by ffrreeaakk on 20 Feb 2007

    I know what you're thinking about. I have exactly the same problem. I don't know how to make Common Dialog Box show such window: http://Common Dialog Control

    Posted by al_sebie on 26 Jul 2006

    Dear Sir


    Thanks for you help and I like you way that you got it, but my questation is Can I use Common Dialog without use File Type? because I need only open folder without select file "Onl...

  • Posted by takedownca on 20 Apr 2004

    Using the FileName (path) and FileTitle (filename) properties of the dialog control,
    [code]
    Dim FilePathOnly As String

    FilePathOnly = Left(FileName, Len(FileName) - Len(FileTitle))
    'or
    FilePath...

  • Posted by darkwolf on 24 Dec 2003

    [code]OpenPath = App.Path & "\templates\"

    OpenFileWName = TreeView1.SelectedItem

    If OpenFileWName = OpenPath Then
    MsgBox "You can not select a directory. Please select a template file."
    E...

  • path

    Posted by darkwolf on 20 Dec 2003

    is there a way of getting just the path of the file this way, without the file name in it?
    E.G. if i open
    C:\Windows\Wini.ini
    can i get the program to read just
    C:\Windows
    from that?