Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "clsPrintSelect"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit
'
'----------------------------------------------------------------------------------------
' INTERNAL GENERAL VARIABLES
'----------------------------------------------------------------------------------------
'
Private m_intErrorNumber As Integer ' Storage for Error Number
Private m_strErrorDescr As String ' Storage for Error Description string
'
Private m_prtSelectedPrinter As Printer ' Printer that the user has selected.
Private m_intPaperSize As Integer ' Selected papersize from dialog box.
Private m_intPaperSource As Integer ' Selected papersource from dialog box.
'
'
'----------------------------------------------------------------------------------------
' PROPERTY ROUTINES
'----------------------------------------------------------------------------------------
'
Friend Property Set SelectedPrinter(ByRef prtNewPrinter As Printer)
If IsNull(prtNewPrinter) Then Exit Property
If prtNewPrinter Is Nothing Then Exit Property
Set m_prtSelectedPrinter = prtNewPrinter
End Property
'
'----------------------------------------------------------------------------------------
'
Public Property Get PrinterSelected() As Object ' Printer
Set PrinterSelected = m_prtSelectedPrinter
End Property
'
'----------------------------------------------------------------------------------------
'
'
'----------------------------------------------------------------------------------------
' PUBLIC INTEFACE ROUTINES
'----------------------------------------------------------------------------------------
'
Public Sub PrinterSelect()
frmPrinterSelect.Show vbModal
Set m_prtSelectedPrinter = frmPrinterSelect.SelectedPrinter
End Sub
'
' ---------------------------------------------------------------------------------------
'
'
'----------------------------------------------------------------------------------------
' INTERNAL ROUTINES
'----------------------------------------------------------------------------------------
'
Private Sub Class_Initialize()
Set frmPrinterSelect.PrintSelectCls = Me
End Sub
'
' ---------------------------------------------------------------------------------------
'