Thanks again to everyone for their help. But I have to risk trying people's patience as now I've decided that it would be nice to add a section to the script that allows users to delete printer(s). I've found two UDFs but they seem to delete all connections. So I made my own function that looks like this so far:

Code:

Function DeleteAPrinter()

Select

Case ComputerLabPrinterRadioButton.Checked = "True"
DelPrinterConnection ComputerLabPrinter
Case LibraryPrinterRadioButton.Checked = "True"
DelPrinterConnection LibraryPrinter
Case OfficePrinterRadioButton.Checked = "True"
DeletePrinterConnection OfficePrinter

;If Printer Button is check off, but printer is not currently installed, then ? That printer is not currently installed on your computer.

;If no Radio Button is checked off, then ? You chose not to delete a printer. Existing Script.

EndSelect
EndFunction



I thought that it would be easiest to create a 'checkboxable' list of all possible printers on the system rather then trying to create a checkbox list from all the enumerated printers (cause I thought that would be tougher to do). Then I could set it up so that users could choose one or more printers to delete in one go. I tried to follow the other bits of code in the beginning of the script to do this but I'm getting a bit confused. Tomorrow I'll look on the KixForms Online Help page and that will probably give me the answer.

But could someone tell me if my process for deleting printers seems logical? And I'm assuming that it's not bad practice or a security risk to delete the printer connections but not necesarily the printers drivers and ports? And one last question. I'd probably never do this, but does putting a space in a printer share (i.e. "\\server\lexmark printer") cause issues? (Shares are on a W2K3 server and all clients are either XP or 2K).

Thanks again for everyone's support.
Jeremy
_________________________
---
Bishop Grandin Technology Department
'Either we're on time, or we're late'