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?
 
Sigh_ManAuthor Commented:
Thanks - I'll give this a go shortly.
0
 
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
0
 
AlexFMCommented:
I don't know, you need to read license agreement  for this version.

0
 
Sigh_ManAuthor Commented:
Spot on.  Thanks.   :D
0
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.