Private Sub cmdEdit_Click()
C1.Action = 1
retval = Shell("c:\windows\system32\mspaint.exe" & " " & C1.FileName)
End Sub
Private Sub Form_Load()
C1.FileName = "*.bmp"
C1.InitDir = "c:\windows"
C1.FileName = "Pictures(*.bmp)|*.bmp|All Files(*.*)|*.*"
C1.FilterIndex = 1
End Sub