Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. URGENT

URGENT

Scheduled Pinned Locked Moved Visual Basic
databasedata-structuresxml
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 16796
    wrote on last edited by
    #1

    Private Type RECT left As Long top As Long Right As Long Bottom As Long X As Long y As Long data As String color As Long index As Integer End Type dim Die() as RECT I have a class module which populates this array for RECTs from xml fie Now i want to pass this array to Form which will then use and modify this data.i want to pass it byref so that form will modify data of this instance of class. VB is not allowing me to pass this array as argument to a function. Anybody can suggest how should i modify this data of class from form. This is very urgent thanx in advance Tushar

    A 1 Reply Last reply
    0
    • U User 16796

      Private Type RECT left As Long top As Long Right As Long Bottom As Long X As Long y As Long data As String color As Long index As Integer End Type dim Die() as RECT I have a class module which populates this array for RECTs from xml fie Now i want to pass this array to Form which will then use and modify this data.i want to pass it byref so that form will modify data of this instance of class. VB is not allowing me to pass this array as argument to a function. Anybody can suggest how should i modify this data of class from form. This is very urgent thanx in advance Tushar

      A Offline
      A Offline
      Andrew Peace
      wrote on last edited by
      #2

      Wrap it in a class module and then pass the class module, and put properties in the class module so it looks like the original type definition. -- Andrew.

      F 1 Reply Last reply
      0
      • A Andrew Peace

        Wrap it in a class module and then pass the class module, and put properties in the class module so it looks like the original type definition. -- Andrew.

        F Offline
        F Offline
        Firoz
        wrote on last edited by
        #3

        Wow...That really is a great idea... FiRoZ

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups