?
Solved

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

Posted on 2009-02-17
2
Medium Priority
?
666 Views
Last Modified: 2012-05-06
Hi,
how can I change text of the button "Open" in the openfiledialog object of vb.net?
For example in "Select".
Thanks.


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
        OpenFileDialog1.ShowDialog()
        filePDF.Text = OpenFileDialog1.FileName.ToString

Open in new window

0
Comment
Question by:bobdylan75
2 Comments
 
LVL 48

Accepted Solution

by:
jpaulino earned 1500 total points
ID: 23658068
That's a system button ... you cannot change that.
If you REALLY need that you have to create you own openfiledialog .
0
 

Author Closing Comment

by:bobdylan75
ID: 31547708
Ok, I have to accept this truth
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month16 days, 7 hours left to enroll

850 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