Editing Open File Dialog
Jump to:
navigation
,
search
This can easily be placed in a button handler or other code. Try Dim TheResult As DialogResult = ofdFileDialog.ShowDialog() Select Case TheResult Case Windows.Forms.DialogResult.OK 'LogAction("Selected file: " & ofdFileDialog.FileName) Case Else LogAction("User canceled process...") Exit Sub End Select ' Do processing here: ProcessDataFile(ofdFileDialog.FileName) Catch ex As Exception LogAction("Error processing data: " & ex.Message) End Try
|
Editing help
Personal tools
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
Actions
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Toolbox
What links here
Related changes
Special pages