WMI Printer Management ?

Hi,

I am using vb 2005 and need help with trying to do the following :

A Form that has a combo box , a listview and 2 command buttons( When the form loads ) i need the combo box to be enumerated with the printers that are on my server ( so will need to connect to my server which is obviously a remote machine ).

Then when ever I select a printer from the combo box, it enumerates the listview with any print jobs that are in that printers que and I am able to select either one or multiple print jobs and click on the cancel print job button ( which will cancel any selected print jobs ) or click the cancel all button which will just delete any print jobs in that printers que.

I know this is a lot to ask but even if I could just get an example of how to enumerate the printers into the combobox and get the listview to display the print jobs ( If any exist ) for that specific printer.

That would be great.

I have an example in c sharp already so I can post what I have in c sharp if thats of any use ?

Thanks

[1027 byte] By [Gecko2648] at [2007-12-22]