Article ID: 137035
Article Last Modified on 1/8/2003
' In Visual Basic 4.0 the constants would be: Const vbCFNoSimulations = &H1000& Const vbCFPrinterFonts = &H2& ' In Visual Basic 3.0 the name of the constants would be: Const CF_NoSimulations = &H1000& Const CF_PrinterFonts = &H2& Either set of constant names would work as long as you are consistent in your usage. The rest of this article uses the version 4.0 constants.
Private Sub Form_Load()
' The following line can be written either like this:
CMDialog.Flags = vbCFNoSimulations Or vbCFPrinterFonts
' or like this:
' CMDialog.Flags = vbCFNoSimulations + vbCFPrinterFonts
CMDialog.Action = 4
End Sub
Additional query words: 4.00 3.00 vb4win vb4all
Keywords: kbprb KB137035