Results 1 to 2 of 2

Thread: Moving an object in VB.NET

  1. #1

    Thread Starter
    Junior Member Tekmaven's Avatar
    Join Date
    Jun 2002
    Posts
    18

    Moving an object in VB.NET

    How exactly is this done? I'm about to write a simple game, and if I remember, the .Move property is gone from VB6.
    PC Mod Kingdom powered by ASP.NET - Your source for all PC Mod Info!

  2. #2
    Fanatic Member Mr.No's Avatar
    Join Date
    Sep 2002
    Location
    Mauritius
    Posts
    651
    I think you can set the Location property of the object like

    object.Location = New Point(x, y)
    Using VB.NET 2003/.NET 1.1/C# 2.0
    http://del.icio.us/rajoo
    Blow your mind, smoke gunpowder
    Ashes to ashes, dust to dust
    If God won't have you, the devil will. - Author unknown
    Don't follow me, I'm lost too ...

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