
Originally Posted by
OldClock
Kr00l I'm having an issue with the CommonDialog. I placed one on MDIForm1, then I need to use it from some module:
Code:
Dim cDlg As VBCCR16.CommonDialog
Set cDlg = MDIForm1.ComDlg
This results in:
Same if I do:
Code:
Dim cDlg As CommonDialog
Set cDlg = MDIForm1.ComDlg
I now looked inside MDIForm1.frm and see this:
Code:
Begin MSComDlg.CommonDialog ComDlg
How do I place a VBCCR16 CommonDialog instead of a MSComDlg? I only have one CommonDialog button in the Toolbox...

in mdiForm
Code:
Public cDlogM As VBCCR16.CommonDialog
in user Form/Module
Code:
Dim cDlogF As VBCCR16.CommonDialog
Set MDIForm1.cDlogM = New VBCCR16.CommonDialog
set cDlogF = MDIForm1.cDlogM