473,324 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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.Management.ManagementObjectSearcher, 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 1025
"LamSoft" <[nospam]la*****@lamsoft.netwrote in message
news:Os**************@TK2MSFTNGP04.phx.gbl...
Is there any method to let aspx connects to WMI to get system information.
Yup - the System.Management namespace.
I found that there is a method called
"System.Management.ManagementObjectSearcher, 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.Management 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
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
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...
2
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...
0
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...
10
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...
2
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...
0
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...
2
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...
12
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.