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.
Thanks!
LVL 1
Sigh_ManAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?
Thanks
AlexFMCommented:
I don't know, you need to read license agreement  for this version.

Sigh_ManAuthor Commented:
Spot on.  Thanks.   :D
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.