This sample illustrates autocomplete.
The source code is located at C:\Program Files (x86)\Softelvdm\SftMask OCX 7.0\Samples\VB6\Sample2\Form1.frm or C:\Program Files\Softelvdm\SftMask OCX 7.0\Samples\VB6\Sample2\Form1.frm (on 32-bit Windows versions).
Option Explicit
Private Sub Command1_Click()
End
End Sub
Private Sub SftMaskFiles1_EllipseClicked()
CommonDialog1.ShowOpen
SftMaskFiles1.Text = CommonDialog1.FileName
End Sub