Link to home
Start Free TrialLog in
Avatar of bobdylan75
bobdylan75Flag for Afghanistan

asked on

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

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

ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bobdylan75

ASKER

Ok, I have to accept this truth