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

Posted on 2006-03-20
Last Modified: 2010-04-23
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.
Question by:Sigh_Man
    LVL 48

    Accepted Solution

    LVL 1

    Author Comment

    Thanks - I'll give this a go shortly.
    LVL 1

    Author Comment

    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?
    LVL 48

    Expert Comment

    I don't know, you need to read license agreement  for this version.

    LVL 1

    Author Comment

    Spot on.  Thanks.   :D

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now