devxlogo

November 12, 2003

Get Windows Name Using WMI

Here’s an easy way to get OS information using the Windows Management Instrument (WMI): Private Sub getWindowsInfo() On Error Resume Next Dim strComputername As String Dim objWMIService As Object Dim

Sorting Null Fields Last

If you sort a table from a field which has null values, Null values are typically displayed first. Here is a way to display the NULL values at last. Use