Duffy and I found a problem with the ShowDialog() type of code that Michel showed you.
If you show another dialog form later in the app you will experience strange errors.
This is the mechanism we changed our code to
Dim oForm As New frmMain
Application.Run(frmMain)
Rodman
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.