I’m kind of embarrassed to admit I don’t know how to do this, but…
I’m writing a little commandline app in VB Express 2008 to reconnect my machine to various network drives using net use. It works fine, but I want the program to execute seamlessly, which means getting rid of the message boxes saying “13176”, “8364” and the like that pop up when net use completes an action. How do I programatically close these out once they appear? Basically, I’m looking for the VB equivalent of manually pressing “OK”.
If my track record in asking programming questions is any indication, I will now remember the answer in the next five minutes, :smack: myself, and return to say “never mind”. In the meantime, though, your help is appreciated!