473,799 Members | 3,121 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASPX VB.NET Connects to WMI

Is there any method to let aspx connects to WMI to get system information.

I found that there is a method called
"System.Managem ent.ManagementO bjectSearcher, but when I tried to import it,
the VS.NET said "namespace or type specified in the Imports.... does not
contain any public member or cannot be found.

What did I missing?
Jun 4 '07 #1
1 1049
"LamSoft" <[nospam]la*****@lamsoft .netwrote in message
news:Os******** ******@TK2MSFTN GP04.phx.gbl...
Is there any method to let aspx connects to WMI to get system information.
Yup - the System.Manageme nt namespace.
I found that there is a method called
"System.Managem ent.ManagementO bjectSearcher, but when I tried to import
it, the VS.NET said "namespace or type specified in the Imports.... does
not contain any public member or cannot be found.

What did I missing?
You have to add a reference to System.Manageme nt in your project...

Obviously, this is going to run server-side, so any information will relate
to the server, not the client machine(s)...
--
http://www.markrae.net

Jun 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1615
by: Ping | last post by:
Hi, Some one asks me what 'Bulk Connects' is, I have never heard of this term. What's the definition of Bulk Connects? Where it is used? TIA Ping
0
1672
by: ingus | last post by:
Hi, i've been trying to run mysqld (safe_mysqld and mysqld_safe) with -W and -- warnings and --log-warnings however, no matter how i try, mysql does NOT write information about Aborted Connects in .err file. Have tried that on Linux and Unix, on 4th (4.0) version and 3rd version, it just don't work. Help pls. wbr, ingus
2
391
by: Rhek | last post by:
Hello, I am hoping that someone can provide a code sample using the following sample information below. I am wanting to create a vb.net application that is run on a local computer and connects to our database on our website. I have seen some connection strings for SQL but not MS Access. I think they would be close to the same but not really sure. database MS Access: test.mdb IP Address: 123.456.78.00
0
1335
by: Visu | last post by:
DB2 7.2 EEE AIX 5.2 Instance is partitioned over two servers. Server A - Catalog node & 4 data node Server B - 4 data node Local and remote connection times to the only database on this instance
10
3359
by: Kristoffer Arfvidson | last post by:
In my server I notice a small delay of about 2 seconds before it starts processing aspx documents... Because I have first off an standard asp page, witch contains the frameset and title and so on... This one comes up quickly, then my IE says Ready... and waits for about 2 seconds, then, it starts to load the aspx file... How come there is a delay before aspx files are processed? The asp file it not cached (And I tryed to remove all...
2
1416
by: Marc Robitaille | last post by:
Hello, I am building an ASPX application. I have a DLL that connects to the DataBase and return all what I need in the n-tier ways. I try to write in the event log when an exception is raise. I get all kind of messages like Access denied or can't access the registry. Is there a tutorial or some one that can help me to demystify all those security problems? -- Marc R.
0
1526
by: Eustice Scrubb | last post by:
In line coding problem. Here's my code: <script language="VB" runat="server"> Dim myConnection As SqlConnection Sub Page_Load(Src As Object, e As EventArgs) ' Create a connection to the SQL Server myConnection = New SqlConnection("Data Source=SERVER;" _ & "Initial Catalog=database;User Id=user;Password=password;")
2
2578
by: rn5a | last post by:
I have created the following WebService named NConnect.asmx using which I want an ASPX page to first authenticate a user & after successful user validation, the ASPX page should display a few TextBoxes for users to enter some data in those TextBoxes which will finally be inserted in a SQL Server 2005 DB table: <%@ WebService Language="VB" Class="NConnect" %> Imports System Imports System.Data
12
2730
by: mistral | last post by:
phpMyAdmin 2.6.2 problem: can no connects to mySQL database: each time shown error #1045 - Access denied for user 'username'@'192.168.1.2' (using password: YES) Is seems, this is most common problem for mySOL and phpMyAdmin. Extremelly ugly and inconvenient program.
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9538
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10470
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10247
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10214
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7561
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.