I am trying to control the printing functions in VB6 by using the Vbprndlg.dll instead of the Commondialog for printing. The reason is the Commondialog changes the default printer if the user changes printers and so far the Vbprndlg.dll does not. The problem I am having is getting some of the options on the screen to be available, for example the Pages option. I have included code such as:
printDlg.Flags = VBPrinterConstants.cdlPDReturnDC _
Or VBPrinterConstants.cdlPDPageNums _
Or VBPrinterConstants.cdlPDAllPages
I was thinking that this will make them available, but it does not. Am I missing something? This example came from Microsoft at the Q322710 knowledgebase article.
Thanks in advance.
printDlg.Flags = VBPrinterConstants.cdlPDReturnDC _
Or VBPrinterConstants.cdlPDPageNums _
Or VBPrinterConstants.cdlPDAllPages
I was thinking that this will make them available, but it does not. Am I missing something? This example came from Microsoft at the Q322710 knowledgebase article.
Thanks in advance.