Results 1 to 11 of 11

Thread: openfiledialog

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2010
    Posts
    7

    openfiledialog

    It might sound dumb question to l33ts sitting out there, forgive me for this since i am just starting vb from the scratch

    I am making a project in which i will allow users to select the files form the hard drive, the problem is i don't know where to look for OpenFileDialog control so that i can put it on my form & move ahead with the coding part

    here is how my tool box looks like in which i can't seem to find the OpenFileDialog control



    Is there any other place where i might need to look for the control

    Regards

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: openfiledialog

    Welcome to the forums.

    In VB6 it is called the CommonDialog control and can be found under Project/Components

    You need to add it to your toolbox (for each project in which you wish to use it)

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: openfiledialog

    Welcome to the forums

    Check the link in my signature "Common Dialog Control"
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2010
    Posts
    7

    Re: openfiledialog

    Thanks both of you for helping hand

    Just look @ the image, because it seems like my components are different

    Last edited by MoinFaraz; Jul 16th, 2010 at 12:37 PM.

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: openfiledialog

    There is a good chance this question is about VB.Net instead of VB too.

  6. #6

    Thread Starter
    New Member
    Join Date
    Jul 2010
    Posts
    7

    Re: openfiledialog

    Quote Originally Posted by dilettante View Post
    There is a good chance this question is about VB.Net instead of VB too.
    Sounds like i am in the wrong board

    But, i have got visual basic 6.0

    A little bit confused ?

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: openfiledialog

    Ok, if you have VB6 that's half the battle, one less complication anyway.

    Quote Originally Posted by MoinFaraz View Post
    Thanks both of you for helping hand

    Just look @ the image, because it seems like my components are different

    What image? Image tags don't actually work with external links here. I tried looking at your linked image:

    http://img294.imageshack.us/img294/270/38857214.jpg

    However that's a dicey non-work Web site according to the thought police here at work and it is blocked.

  8. #8
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: openfiledialog

    Being able to see the image. The OP is at Microsoft Windows Common Controls....

    Scroll up and look for Microsoft Common Dialog Control 6.0 (SP6)



    Good Luck
    Option Explicit should not be an Option!

  9. #9
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: openfiledialog

    If you would have gone carefully through the tutorial then you would have found which option you need to click

    I would recommend reading it again... Perhaps... more slowly is time?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  10. #10
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: openfiledialog

    Ahh yes, be able to see the images helps a lot

    It is clear now the list was just scrolled down too far.

  11. #11
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,662

    Re: openfiledialog

    I replied to koolsid's tutorial with some additional useful information you'll want to get your common dialogs to look better.

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