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. create properites and assign to object at rum time

create properites and assign to object at rum time

Scheduled Pinned Locked Moved Visual Basic
5 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.
  • M Offline
    M Offline
    Member 4504891
    wrote on last edited by
    #1

    i wants to create property in a class at run time with different names and datatypes.. thanks

    Muhammad Ismail Khan SoftWare Developer CRM(Islamabad), Pakistan

    D 1 Reply Last reply
    0
    • M Member 4504891

      i wants to create property in a class at run time with different names and datatypes.. thanks

      Muhammad Ismail Khan SoftWare Developer CRM(Islamabad), Pakistan

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Possible, but hardly practical. You'd have to use reflection to do this. I don't know of any examples on the web, nor do I have any myself. Usually, if this comes up, I would have to question the design. Why do you think you have a need for this?

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      P 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Possible, but hardly practical. You'd have to use reflection to do this. I don't know of any examples on the web, nor do I have any myself. Usually, if this comes up, I would have to question the design. Why do you think you have a need for this?

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Dave Kreskowiak wrote:

        Why do you think you have a need for this?

        Looking at the subject line, rum time? I'm so there after a long day. Captain Morgan with Dr. Pepper :-D

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        D 1 Reply Last reply
        0
        • P Paul Conrad

          Dave Kreskowiak wrote:

          Why do you think you have a need for this?

          Looking at the subject line, rum time? I'm so there after a long day. Captain Morgan with Dr. Pepper :-D

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          I'm out of the Captain, but I've got a gallon of Jack Daniels on the kitchen counter! :)

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          P 1 Reply Last reply
          0
          • D Dave Kreskowiak

            I'm out of the Captain, but I've got a gallon of Jack Daniels on the kitchen counter! :)

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            Dave Kreskowiak wrote:

            got a gallon of Jack Daniels on the kitchen counter!

            Whoohoo. That'll work as well.

            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

            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