CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Creating objects at runtime

    ... let ' s consider we have a form with a button ... when the button if pressed i want the code to look in a list box on another form and for each item in the listbox create an imagecontrol ... at runtime how can i do that ???
    any help would be greatly apreciated ...

    - Regards -


  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: Creating objects at runtime


    try reflection..

    look at Class.forName(..) , Class.newInstance() functions..


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

Featured