HashTable Question

  • Thread starter Thread starter Jack Handy
  • Start date Start date
J

Jack Handy

I tried to declare a HasTable in my sub and get "Type Expected" error. What
am I doing wrong.

Dim ht as New HasTable
 
* "Jack Handy said:
I tried to declare a HasTable in my sub and get "Type Expected" error. What
am I doing wrong.

Dim ht as New HasTable

It's spelled 'Hashtable'!
 
Thanks for catching the typo, but I'm sure you understand what I meant, can
you help with the question?
 
* "Jack Handy said:
Thanks for catching the typo, but I'm sure you understand what I meant, can
you help with the question?

Make sure the namespace 'System.Collections' is imported:

VB.NET: 'Imports System.Collections'.
C#: 'using System.Collections;'.

.... on top of the source file.
 
Back
Top