My app runs fine on W2k and XP but won't run on W98

Today I installed my WinForms VB.Net application onto a machine running Windows 98.  I installed the Dotnet 1.1 Framework onto the machine first.  My application runs perfectly when installed onto XP/W2k machines, but gives errors on W98.  From memory (cos I am not with the W98 machine in question right now), the error was something like COMException or CoreInterop exception when it got to the following in my startup form:

Imports System.Management
Imports Microsoft.Win32
Imports System.Data
Imports System.Data.SqlClient
Imports System.Security.Cryptography
Imports System.Text
Imports System.IO

The first thing my app does is looks at certain hardware serial numbers via System.Management

Any help on this will be greatly appreciated.
Who is Participating?
Sigh_ManAuthor Commented:
Thanks - I'll give this a go shortly.
Sigh_ManAuthor Commented:
Do you know if WMI download is freely redistributable, ie can I put it on my app's installation CD without incurring any charges etc?
I don't know, you need to read license agreement  for this version.

Sigh_ManAuthor Commented:
Spot on.  Thanks.   :D
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.