G
Guest
This code worked before I added option strict. But I should do it correctly.
option ...
option Strict On
Public Structure Itm
Dim mailSvr As String
...
Public Sub New(ByVal a1 As String...)
mailSvr = a1
End Sub
End Structure
Sub...
ht = New Hashtable
ht.Add("0", New Itm("thecorporatecounsel", ".net", "CC", "TCCNET_ID", "T"))
ht.Add("0", New Itm("thecorporatecounsel", ".net", "CC", "TCCNET_ID", "T"))
....
End Sub
Sub ...
str1 = ht(0).mailSvr <<<<----complains here now - say late binding not
allowed
....
End Sub
What do I need to do to make it early binding? What do I need to cast this
to?
Any suggestions appreciated.
Thanks,
Rich
option ...
option Strict On
Public Structure Itm
Dim mailSvr As String
...
Public Sub New(ByVal a1 As String...)
mailSvr = a1
End Sub
End Structure
Sub...
ht = New Hashtable
ht.Add("0", New Itm("thecorporatecounsel", ".net", "CC", "TCCNET_ID", "T"))
ht.Add("0", New Itm("thecorporatecounsel", ".net", "CC", "TCCNET_ID", "T"))
....
End Sub
Sub ...
str1 = ht(0).mailSvr <<<<----complains here now - say late binding not
allowed
....
End Sub
What do I need to do to make it early binding? What do I need to cast this
to?
Any suggestions appreciated.
Thanks,
Rich