We help IT Professionals succeed at work.

Create a predefined Arraylist of values and then pass the values off to a class routine.

cmdolcet
cmdolcet asked
on
64 Views
Last Modified: 2019-01-29
I am trying to create an array of values "Array1" that I want to get passed into a class below.

  Private Sub PopulateOMRONValues()
        RetrieveOMRONvalues()
        newRuntimeClass.Values(Obj)
    End Sub
    Public Obj As New ArrayList
    Public array1 As ArrayList ({1, 2, 3, 4, 5, 6, 7, 8, 9})
    Private Sub RetrieveOMRONvalues()
             obj = array1
      End Sub

Open in new window

Comment
Watch Question

Developer
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.