Good day,
The title is self explanatory. I am trying to make a shared class where I take care of the printing functions.However I cannot seem to be able to reach the namespace/class UltraPrintPreviewDialog.
Imports Infragistics.WinImports Infragistics.Win.PrintingImports Infragistics.Win.UltraWinGridPublic Class ToolPrint Public Sub New(ByVal grid As ultragrid) Dim printDocument As New UltraGridPrintDocument Dim printPreviewDialog As New UltraPrintPreviewDialog printDocument.Grid = grid End SubEnd Class
Error is: Type 'UltraPrintPreviewDialog' is not defined
Yes I did, but I still get the error.
I'll try a brand new project and see if that works. Visual studio has its quirks as well.
Did you add a reference the Infragistics2.Win.UltraWinPrintPreviewDialog.vX.X.dll?