I have a program that is being used by many users, but one is getting an
exception of "Invalid Namespace". I have no idea why or how to fix this
problem. The following is the code that is being used:
Dim disk As New System.Management.ManagementObject
_("Win32_LogicalDisk.DeviceID=""C:""")
disk.Get()
The error is occuring on the .Get function. The user is running Windows98,
and I had to run the wmi9x.exe file to get WMI installed. Could the WMI be
some how corrupted and if so, how can it be fixed, would running the
wmi9x.exe file again fix this problem? I am not sure if the user is running
Windows 98 or Windows 98 Second Edition, does WMI work on plain Win98 or only
on Second Edition and up?
Any info about this error and how to fix it would be greatly appreciated.
Mark