how to change text of the button "Open" in the openfiledialog object of

Posted on 2009-02-17
Last Modified: 2012-05-06
how can I change text of the button "Open" in the openfiledialog object of
For example in "Select".

OpenFileDialog1.RestoreDirectory = True

        OpenFileDialog1.Title = "Select File"

        OpenFileDialog1.CheckFileExists = True

        OpenFileDialog1.CheckPathExists = True

        OpenFileDialog1.DefaultExt = "pdf"

        OpenFileDialog1.Filter = "pdf File|*.pdf"

        OpenFileDialog1.InitialDirectory = "C:\"

        OpenFileDialog1.Multiselect = False

        OpenFileDialog1.FileName = filePDF.Text.ToString


        filePDF.Text = OpenFileDialog1.FileName.ToString

Open in new window

Question by:bobdylan75
    LVL 48

    Accepted Solution

    That's a system button ... you cannot change that.
    If you REALLY need that you have to create you own openfiledialog .

    Author Closing Comment

    Ok, I have to accept this truth

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    732 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

    19 Experts available now in Live!

    Get 1:1 Help Now