Results 1 to 6 of 6

Thread: UDT Question

Threaded View

  1. #1

    Thread Starter
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Resolved UDT Question

    I am declaring a UDT in a module. I am also declaring a 2 arrays of the UDT in the same module. So both the UDT and the UDT arrays are public scope ( and declared as such).

    I want to operate on either array using a single subroutine and so I am passing each array into the procedure using Byref, but I am getting the "Byref Argument type mismatch" error. Even though in the target subroutine I am setting the argument type to that of the UDT type.

    I don't want to use classes to get around this if I can help it. Can anyone shed some light on this for me please?
    Last edited by David.Poundall; Oct 1st, 2004 at 10:56 AM.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width