473,394 Members | 1,769 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,394 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?


Jul 21 '05 #1
0 874

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...
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...
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
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...
0
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...

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.