Main Takeaway: Code: If KeyCode = 40 Then Shape1.top = Shape1.top + 360 If KeyCode = 38 then Shape1.top = Shape1.top - 360 If Keycode ... Codes: Select Case KeyCode Case vbKeyW Shape1.Top = Shape1.Top - 30 Case vbKeyA Shape1.Left = Shape1.Left - 30 Case ...

Visual Basic 6 0 Moving An Object On Screen Using Keys -

Code: If KeyCode = 40 Then Shape1.top = Shape1.top + 360 If KeyCode = 38 then Shape1.top = Shape1.top - 360 If Keycode ... Codes: Select Case KeyCode Case vbKeyW Shape1.Top = Shape1.Top - 30 Case vbKeyA Shape1.Left = Shape1.Left - 30 Case ... Normally it would be a lot smoother, without the lag, but whenever I am recording my computer slows down a lot.

Important details found

  • Code: If KeyCode = 40 Then Shape1.top = Shape1.top + 360 If KeyCode = 38 then Shape1.top = Shape1.top - 360 If Keycode ...
  • Codes: Select Case KeyCode Case vbKeyW Shape1.Top = Shape1.Top - 30 Case vbKeyA Shape1.Left = Shape1.Left - 30 Case ...
  • Normally it would be a lot smoother, without the lag, but whenever I am recording my computer slows down a lot.

Why this topic is useful

A structured page helps reduce disconnected snippets by grouping the main subject with context, examples, and nearby entries.

Sponsored

Frequently Asked Questions

Is the information always complete?

Not always. Some topics may need verification from official or primary sources.

How should readers use this information?

Use it as a starting point, then open related pages for more specific details.

What should readers check next?

Readers should check related pages, official references, or updated sources when details matter.

Reference Gallery

Visual Basic 6.0, Moving an object on screen using keys
Visual Basic 6.0 RPG Game Tutorial Part 1, (Moving An Object Using W, A, S, D Keys)
[Visual Basic] Episode 6 - Moving Objects With Code
How to move any object by keys in visual basic 10
How To Move Shapes In Vb6 With Your Keypad (2011)
Visual Basic 6.0 Moving object - Tutorial
How to move and image with the keyboard VB6
Sendkeys in Visual Basic 6
Visual Basic 6.0 - Game - Moving object
Visual Basic PictureBox move with keys (Tutorial)
Sponsored
View Full Details
Visual Basic 6.0, Moving an object on screen using keys

Visual Basic 6.0, Moving an object on screen using keys

If you need help, feel free to leave a comment. But I almost completely forget

Visual Basic 6.0 RPG Game Tutorial Part 1, (Moving An Object Using W, A, S, D Keys)

Visual Basic 6.0 RPG Game Tutorial Part 1, (Moving An Object Using W, A, S, D Keys)

Read more details and related context about Visual Basic 6.0 RPG Game Tutorial Part 1, (Moving An Object Using W, A, S, D Keys).

[Visual Basic] Episode 6 - Moving Objects With Code

[Visual Basic] Episode 6 - Moving Objects With Code

Normally it would be a lot smoother, without the lag, but whenever I am recording my computer slows down a lot. It should not ...

How to move any object by keys in visual basic 10

How to move any object by keys in visual basic 10

Read more details and related context about How to move any object by keys in visual basic 10.

How To Move Shapes In Vb6 With Your Keypad (2011)

How To Move Shapes In Vb6 With Your Keypad (2011)

Code: If KeyCode = 40 Then Shape1.top = Shape1.top + 360 If KeyCode = 38 then Shape1.top = Shape1.top - 360 If Keycode ...

Visual Basic 6.0 Moving object - Tutorial

Visual Basic 6.0 Moving object - Tutorial

Read more details and related context about Visual Basic 6.0 Moving object - Tutorial.

How to move and image with the keyboard VB6

How to move and image with the keyboard VB6

Read more details and related context about How to move and image with the keyboard VB6.

Sendkeys in Visual Basic 6

Sendkeys in Visual Basic 6

Read more details and related context about Sendkeys in Visual Basic 6.

Visual Basic 6.0 - Game - Moving object

Visual Basic 6.0 - Game - Moving object

Codes: Select Case KeyCode Case vbKeyW Shape1.Top = Shape1.Top - 30 Case vbKeyA Shape1.Left = Shape1.Left - 30 Case ...

Visual Basic PictureBox move with keys (Tutorial)

Visual Basic PictureBox move with keys (Tutorial)

Read more details and related context about Visual Basic PictureBox move with keys (Tutorial).