Ghost21 Posted November 27, 2007 Share 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 ???? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 27, 2007 Developers Share 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. Link to comment Share on other sites More sharing options...
Ghost21 Posted November 27, 2007 Author Share Posted November 27, 2007 Do you have the COM event handler setup in your script as described in the Helpfile ?Probley not!!! a link ??? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 27, 2007 Developers Share 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. Link to comment Share on other sites More sharing options...
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