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.
Private m_PrintSelect As clsPrintSelect
Set m_PrintSelect = New clsPrintSelect
m_PrintSelect.PrinterSelect
Set ptrMyPrinter = m_PrintSelect.PrinterSelected
VBGROUP 5.0
StartupProject=Test1.vbp
Project=PrintSelect.vbp
Type=OleDll
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\WINDOWS\SYSTEM\StdOle2.Tlb#OLE Automation
Class=clsPrintSelect; clsPrintSelect.cls
Form=printsel.frm
Module=mdlPrinterAccess; mdlPrinterAccess.bas
Startup="(None)"
HelpFile=""
Command32=""
Name="PrinterSelectPrj"
HelpContextID="0"
CompatibleMode="1"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Professional Logics Corp"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=1
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\WINDOWS\SYSTEM\StdOle2.Tlb#OLE Automation
Reference=*\APrintSelect.vbp
Form=Test1.frm
Startup="frmTest1"
Command32=""
Name="Test1"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Professional Logics Corp"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
VERSION 5.00
Begin VB.Form frmTest1
Caption = "Print Select Test"
ClientHeight = 1080
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1080
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdSelectPrinter
Caption = "Select &Printer"
Height = 495
Left = 1200
TabIndex = 0
Top = 240
Width = 1815
End
End
Attribute VB_Name = "frmTest1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private m_PrintSelect As clsPrintSelect
Private m_SelectedPrinter As Printer
'
Private Sub cmdSelectPrinter_Click()
m_PrintSelect.PrinterSelect
Set m_SelectedPrinter = m_PrintSelect.PrinterSelected
MsgBox m_SelectedPrinter.DeviceName
End Sub
Private Sub Form_Load()
Set m_PrintSelect = New clsPrintSelect
End Sub