answersLogoWhite

0


Best Answer

VB stands for Virtual Basic, an event-based programming language that is also Microsoft's integrated development environment that was released in the early 1990s. Mouse events are what happen when you click mouse buttons, and keyboard events occur when you press keys on your keyboard.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Make a form. Go to its events tab. Double click on the text that says: "FormClosing". You should be taken to the code to Form1_FormClosing(). Under here, write MsgBox("Window is closing!"). Debug your program and press the X button. The message box should pop up.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

While writing Caption (in vb) and Text (in vb.net) place '&' symbol before the letter you want to assign from keyboard. While executing, press ALT and that letter to access the button via keyboard

Thanks Aarti Rathore

This answer is:
User Avatar

User Avatar

Wiki User

16y ago

See example from Microsoft:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.keypress.aspx

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

sendkeys.send(keys:=a) will send a sendkeys.send(keys.a) will send keycode for a

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you assign a keyboard key to a Button in Visual Basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is button in visual basic?

ez beb et b


What is option button in visual basic?

ez beb et b


Why access keys are use in visual basic?

We use these to make ur project respond through the keyboard


How do you create a save button to save a dataset into a database in Visual Basic?

i love pie


What is the meaning of control in visual basic?

It is user interface Ex Button, Checkbox, Label


What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


Where is the alt button on a kindle?

The alt button location depends on which Kindle version you have. The original Kindle has a keyboard with the alt key located on the left near the space bar. The basic Kindle has neither. On the Kindle 4, the newest version, you will find the keyboard by pressing the keyboard button found at the bottom of the screen.


How can you make an URL button at visual basic 6?

http://www.swapitshop.com/friend_jump?user_id=1759213&creative_id=17


The year of invention of visual basic?

Visual Basic was started in 1991.


Who developed visual basic?

Microsoft is the developer of visual basic


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.