Posted on 2005-04-18
Last Modified: 2010-04-23
I'm trying to use this BrowseForFolder class i have seen in a couple code samples online. I am getting a lot of blue squiggly lines.

Inherits System.Windows.Forms.Design.FolderNameEditor (Not defined)

Windows.Forms.Design.FolderNameEditor (Not a member of design)

I'm working on some code that resizes images and I am just trying to specify a folder.

Private Sub btnInput_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput.Click
        Dim fbFF As New BrowseForFolder
        fbFF.Description = "Select the folder containing the images to be resized (input folder):"
        If fbFF.ShowDialog() = DialogResult.OK Then
            txtInput.Text = fbFF.Path
        End If
    End Sub

Here is a link to where I got the code
Question by:JRockFL
    LVL 32

    Accepted Solution

    You could just use the built-in folder browser component: FolderBrowserDialog

    If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
    End If
    LVL 8

    Author Comment

    Perfect, thats what I needed

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now