Results 1 to 10 of 10

Thread: Browser window

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24

    Browser window

    Hi again

    I want to add a button to a form that when clicked displays a browser window so the user can enter a path to a directory.

    Anyone knows how this is done?

    Ty in advance!!

  2. #2
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    like this?
    Code:
    Process.Start("http://www.ex-designz.net");

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    I didn't get it ayan.


    I mean a window similar to those windows we get in the install wizards, where we can browse a path.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    You mean the OpenFile Dialog or FolderBrowser ?

  5. #5
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    perhaps pirate... but i supposed there's no folderbrowser in 2k2. am i missing something? but with openfiledialog...
    Code:
    (new OpenFileDialog()).ShowDialog();
    thanx...
    Last edited by ayan; Jun 15th, 2004 at 10:12 PM.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    I mean a FolderBrowser but how can i get it?


    I'm using Visual Studio 2002....

  7. #7
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    i could be wrong...
    Code:
    System.Diagnostics.Process.Start("explorer","d:\\");

  8. #8

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    brown i want a folder browser not in diagnostic mode...

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by PorT_Alex
    I mean a FolderBrowser but how can i get it?
    I'm using Visual Studio 2002....
    That's supported in .NET Framwork 1.1 ONLY . There's another way using lengthy API calls which no one recommend .

  10. #10

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    Thanks Pirate!

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