為什么不能夠打開
Function openfile() As StringOpenFileDialog1.Title = "open dialog"
'定義文件過濾器的屬性
OpenFileDialog1.Filter = "rich text file |*.rch |*.txt"
OpenFileDialog1.ShowReadOnly = True
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
openfile = OpenFileDialog1.FileName
Else
openfile = ""
End If
請幫忙解決