Search:

Type: Posts; User: fstephane

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    11,181

    Re: VB6 - Convert Variant to Node

    It just says empty. Aren't For Each elements always Variant?
  2. Replies
    9
    Views
    11,181

    Re: VB6 - Convert Variant to Node

    I tried adding the 'Set':


    Dim elem As Variant

    For Each elem In ndArray
    Dim nodle As Node
    Set nodle = elem
    Next
  3. Replies
    9
    Views
    11,181

    Re: VB6 - Convert Variant to Node

    I tried doing this:


    Dim nod As Node

    nod = ndArray(0)

    So I skipped the CType method and tried putting a Variant into a Node variable. Now it's giving me this error: "Object variable or...
  4. Replies
    9
    Views
    11,181

    Re: VB6 - Convert Variant to Node

    When I try to do something like this, it doesn't work:


    Dim nod As Node

    nod = ndArray(0)

    So here I'm skipping the CType method and trying to put a Variant into a Node variable. The...
  5. Replies
    9
    Views
    11,181

    VB6 - Convert Variant to Node

    I am using a For Each loop to go through a Variant array in VB6. At one point, I want to convert the element of the loop (elem), which is a Variant, to a Node.


    Dim elem as Variant

    For Each...
Results 1 to 5 of 5



Click Here to Expand Forum to Full Width