Microsoft & .NET Visual Basic Retreive the vb object "printer" corresponding to the Default Printer

Retreive the vb object “printer” corresponding to the Default Printer

Paste the following code into it’s own BAS module (or convert it to a class if required)

'MS Windows API Function Prototypesprivate Declare Function GetProfileString Lib "kernel32" Alias _     "GetProfileStringA

Latest Posts

Related Stories