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. Creating new objects

Creating new objects

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
2 Posts 2 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hello! I'm trying to find a way to create several instances of a module class that represents for example a shape, then setting a variable to that module class i could change its properties and so on.. Is this possible in Vb6? Thank you in advance

    W 1 Reply Last reply
    0
    • A Anonymous

      Hello! I'm trying to find a way to create several instances of a module class that represents for example a shape, then setting a variable to that module class i could change its properties and so on.. Is this possible in Vb6? Thank you in advance

      W Offline
      W Offline
      Wayne Phipps
      wrote on last edited by
      #2

      I could be wrong but I thought that a module was like a class where all the members and properties were shared. If this is correct then any instances would have the same properties, change the value of one and the property changes in them all. I think you should just use a normal Class and create multiple instances. This way the properties and members are not shared by instances. Hope this helps. Regards Wayne Phipps ____________ Time is the greatest teacher... unfortunately, it kills all of its students LearnVisualStudio.Net

      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