473,320 Members | 1,881 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,320 software developers and data experts.

ConnectServer() on W98 with WMI

I used the following to create a WMI object:

loloc = createobject('WbemScripting.SWbemLocator')
lowmi = loloc.ConnectServer()

After lowmi is created, I will try to access its properties.

It works fine on both W2K and XP but fails on W98. I installed WMI from
http://www.microsoft.com/downloads/d...displaylang=en
on W98. I found that the object can be successfully created in W98 but it
has no properties (its count is 0). Is there any values/parameters that I
should provide when I call ConnectServer on W98?


Nov 22 '05 #1
0 830

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

Similar topics

1
by: Sean | last post by:
I can connect to a machine remotely with no problems but I'm having trouble trying to create a process remotely. Initially this was a perl and VB script which I'm converting to python. Its entire...
0
by: benjamin schollnick | last post by:
I am attempting to convert the following VB Script code to Python, but with limited success. I appear to be connecting fine, but I can't get the registry information out... I can get the...
0
by: Joey Pang | last post by:
I used the following to create a WMI object: loloc = createobject('WbemScripting.SWbemLocator') lowmi = loloc.ConnectServer() After lowmi is created, I will try to access its properties. It...
4
by: Don Nell | last post by:
Hello Why is there a memory leak when this code is executed. for(;;) { ManagementScope scope = new ManagementScope(); scope.Options.Username="username"; scope.Options.Password="password";...
2
by: Stephen Corey | last post by:
How can I access the hardware information of a system, like hard drive(s) model & serial numbers, video card model, etc...? Thanks!
2
by: Brx | last post by:
I am having an issue using WMI StdRegProv in a class that I'm creating to make it easer to access remote registries. It works great the first time I create and access it, but if I create a second...
1
by: Lou Civitella | last post by:
I have found code that Recycles the Application Pool but it was written in VBScript can anyone convert this for me to VB.Net? Thanks! 'Appendix B: Application Pool Recycle script - Save as...
0
by: jdmccla | last post by:
Hello all; I am 1 of 8 System Administrators managing 800+ Microsoft/Linux servers. I have a ServerName_list.txt file. I want to parse this txt file line by line for each line get specific...
0
by: arvindchaubey | last post by:
hi everyone ,please help me.. I want to implement the code of rtp but havn't get success. I hav implemented the socket programming part but now want to attach the headers of rtp with any file of the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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: 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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.