TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mithil Malhotra
NA
8
0
Opening files
May 24 2010 4:56 AM
Hiiii
Anyone would suggest me when i open a file and cilck ok button it should open in seperate dialog box. Here when i am clicking on open button, the dialog box appears. I selected a particular file, while opening the file its showing the path name in text box i gave to my form.
This i am using to open a file dialog, and selecting the file which is showing it into the textbox.
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
If OpenFileDialog1.ShowDialog() <> Windows.Forms.DialogResult.Cancel Then
TextBox1.Text = OpenFileDialog1.FileName
End If
End Sub
But when i click on open buttons next to textbox, that file should open which i have selected. Here is the Image of that.
Would anyone suggest me how to write the code for that.
Regard
Mithil
Reply
Answers (
3
)
Delete, insert, update
How to apply css in mobile web site?