I get an error when i click cancel on it.
VB Code:
Private Sub Open_Click() Dim strText$ With CommonDialog1 .Flags = cdlOFNExplorer .Filter = "Html (*.html)|*.html" .ShowOpen Open .FileName For Input As #1 strText = Input(LOF(1), #1) Text1.Text = strText Close #1 End With End Sub




Reply With Quote