Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Visual Basic Express 2010 Tutorial 41 Dynamically Adding Invaders - EZInvaders Part 10 Game

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,253
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 30, 2011

http://www.schoolfreeware.com
Copy and pasting objects in the form manually does works for small sets of objects. If the application needs 100s of objects then copy and pasting will not work well. What is needed is to dynamically add objects to the form. Make a variable as the object you want to create. Make a new instance of that object, set the properties, then add the object to the controls by using Controls.Add

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Invaders(x).Image = My.Resources. doesnt work for me @ 1:56 please help

  • WHY DID YOU MAKE ME MAKE ALL THEM THEN DELET. IHML IT TOOK ME HOURS TO FIX IT, IM SO TIRED>

    kk rage aside i love your tuts.

  • Do We Have to do this?

    

  • @robinp7720 Thanks for responding but already got it whats wrong

  • @kallejjk well try this "My.Resources.Invader.png" i'm not doing this but it should work with the extansion

  • omg it says My.Resources.Invader is not member of ezinvaderresources

  • help needed

    its saying for My.Resources.Invader invader is in resourses but cant be use in the exspression

    and helps usful

  • @MrThermostaat goto google search dvdvideosoft free studios

    it has many converters and youtube downloaders

  • you should make the it pause a second or 2 before making another invader :D

    i wud appreciate if u do make a tutorial on that :D

  • mine dosent have the png as a reasorce

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more