I am making a small application to add a network printer. I have a vb script that does so...here is the code I have..
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\server\printer"I have scoured the web, trying to see if there way I can do this same task as part of an event in vb.net
I'm not having much luck, mostly because of my level of knowledge in .net. I've downloaded the WMICodeCreater from Microsoft...one would think you could plug in the code it generates like it says...but I'm not having any luck.
Any thoughts would be greatly appreciated.