Home All Groups Group Topic Archive Search About

CONNECTING PRINTER FROM VB.NET 2005

Author
28 Oct 2006 9:39 AM
Morten Fagermoen
Hi!

What is the easiest way to connect (a network printer) and set a default
printer from a VB.NET 2005 application?

Regards

Morten Fagermoen

Author
28 Oct 2006 4:17 PM
Terry Olsen
You could do it with WMI:
http://boycot.no-ip.com/vb/WMIAddPrinter.vb.html

Or you could do it using PrintUI.dll
http://boycot.no-ip.com/vb/AddPrinterPrintUIDll.vb.html


Show quoteHide quote
"Morten Fagermoen" <mor***@fagermoen.com> wrote in message
news:eMFz8Tn%23GHA.4708@TK2MSFTNGP05.phx.gbl...
> Hi!
>
> What is the easiest way to connect (a network printer) and set a default
> printer from a VB.NET 2005 application?
>
> Regards
>
> Morten Fagermoen
>
Author
28 Oct 2006 9:20 PM
Morten Fagermoen
Thank you for your help!!

Morten


Show quoteHide quote
"Terry Olsen" <tolse***@hotmail.com> wrote in message
news:%238fQDyq%23GHA.4196@TK2MSFTNGP03.phx.gbl...
> You could do it with WMI:
> http://boycot.no-ip.com/vb/WMIAddPrinter.vb.html
>
> Or you could do it using PrintUI.dll
> http://boycot.no-ip.com/vb/AddPrinterPrintUIDll.vb.html
>
>
> "Morten Fagermoen" <mor***@fagermoen.com> wrote in message
> news:eMFz8Tn%23GHA.4708@TK2MSFTNGP05.phx.gbl...
>> Hi!
>>
>> What is the easiest way to connect (a network printer) and set a default
>> printer from a VB.NET 2005 application?
>>
>> Regards
>>
>> Morten Fagermoen
>>
>
>