Ghost21 Posted November 27, 2007 Posted November 27, 2007 When I do a Query requests on a Network service how can goto the next query or function if there is a error ? I keep getting this when I scan a certain PC On the network... ' $colItems = $objWMIService.ExecQuery ("SELECT * FROM Win32_NetworkAdapterConfiguration", "WQL", _ $wbemFlagReturnImmediately + $wbemFlagForwardOnly) $colItems = $objWMIService^ ERROR ON error exitloop or something ????
Developers Jos Posted November 27, 2007 Developers Posted November 27, 2007 Do you have the COM event handler setup in your script as described in the Helpfile ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Ghost21 Posted November 27, 2007 Author Posted November 27, 2007 Do you have the COM event handler setup in your script as described in the Helpfile ?Probley not!!! a link ???
Developers Jos Posted November 27, 2007 Developers Posted November 27, 2007 Open the helpfile and search for "COM events" and read the Com reference page. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now