elyush
15 years agoOccasional Contributor
can i declare array with one element?
Hi !
I have declared array, and now i want to add one item in array, and when i execute, i get en error!
can't i declare array with 1 length,? i mean can't i have array with one element?
For example
I have declared array, and now i want to add one item in array, and when i execute, i get en error!
can't i declare array with 1 length,? i mean can't i have array with one element?
For example
MyStruct = DLL.DefineType("TemplateCodesStruct", VT_VARIANT, "Value")
Set TemplateCode = DLL.New("TemplateCodesStruct",1)
TemplateCode.Item(0).Value = "AEdit"
And the error was "Objecy doesn't support this property or method TemplateCode.Item:"