Hey everyone. I'm using Visual Basic 6, and trying to use a library for a specific control application. The function that I'm attempting to access has this syntax:
and the code I'm using isCode:Syntax: cpObject.SetElement index, elementValue
Code:cp.SetElement(1, txtValue.Text)
The error I'm receiving is "Expected: =" on that line.
I was under the impression that this SetElement function is not a value-returning function, since all it is doing is setting the element of an array. What is the issue here? Let me know if you need more information, and thanks.




Reply With Quote