Query a machine using WMI and .NET

A how-to code example from ASPFree.

Contributed by
Rating: 2 stars2 stars2 stars2 stars2 stars / 11
April 24, 2003
Rate this Article:
MEH MEH++


SEARCH ASP FREE
TOOLS YOU CAN USE

advertisement
This code is a "quick-and-dirty" way of launch an instance of Internet Explorer using an WSH file. There are two modes you can launch IE, visible or not-visible. Setting this property can be done by either using a 1 or 0. The one requirement is to have Internet Explorer loaded on the server before you can do this. The Navigate method allows to point to either a local URL or a remote address such as http://www.aspfree.com.

set objIE wscript.createobject("InternetExplorer.Application")
objIE.Visible=1  //1 is for visible  0 is for non-visiable
objIE.Navigate "http://localhost/wsh/submit.asp"  //this can be a local URL or a remote address.

blog comments powered by Disqus
CODE EXAMPLES ARTICLES

- Bipartite Graphs
- Connectivity in Graphs
- The Ford-Fulkerson Algorithm
- Critical Paths
- The Bellman-Ford and Roy-Floyd Algorithms
- Shortest Path Algorithms in Graphs
- Minimum Spanning Tree
- Articulation Edges and Vertexes
- Circles and Connectivity in Graphs
- Depth-First Search in Graphs
- Breadth-First Search in Graphs
- The Prufer Code and the Floyd-Warshall Algor...
- An Insight into Graphs
- Coding a Custom Object with WSC
- Creating a Custom Object with WSC

ASP Web Hosting ASP.Net Web Hosting Windows Web Hosting
 
 
 

ASP Free Forums 
 RSS  Tutorials RSS
 RSS  Forums RSS
 RSS  All Feeds
Site Map 
Request Media Kit
Write For Us Get Paid 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Privacy Policy 
Support 


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap
Most Popular Topics
All ASP.Net Tutorials