I am modifying a legacy project that must run in VB6, and I have OOP experience but not VB.
Anyway I thought this would be straightforward, I need to add data to a hashmap.
I can call the retreive data function but not the set data function.
Here is the set data function (or sub I guess).
Sub SetSetting(Name As String, Value)
Member of MBCSettings.MBCSettings
Store the named setting in the current settings map
So if I try to set something like this:
gobjMBCSettings.SetSetting("UserName", "223")
I get: Compiler Error, Expected "="
Is my object broken or am I missing something obvious? Thanks.