
December 11th, 2002, 05:09 AM
|
|
Junior Member
|
|
Join Date: Dec 2002
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
how to set the default printer in code
I am a trainee IT Officer who is being taught to program in VB.NET.
My senior has written a solution (which already contains numeruos projects) to manage staff.
He wants me to create a project (which will contain one module only) which will take a printer name (string) as a paramter from an inputbox and make it the user's default printer.
He doesn't want me to use API's.
I have looked everywhere in the help and asked the question of many forums but no-one knows how to do it.
Someone said something about using the System.Management namespace but not how.
Can someone help with a bit more detail please?
|