Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
SQL Server

How to Work With Menus in

Author: DevASP
Download Source Code :

In this simple article you will learn how to work with menus in VB.Net. Using Visual it is very easy and simple.

Create a New Project in VB.Net. Open ToolBox and Drag a Main Menu Control on your form. Click on the Menu and Write File then press down arrow key then write New then again press down arrow key and Write Open with this way add in the following options in menu:






Save As



Then press on to the right side icon having Text here and write Edit on this and add the following options:



To Upper

To Lower

Select All


This is the simple way to add menus now if you want to write code against the menus. Double click on the menu options and write your desired code. For example, double click on Exit menu option and write code


Private Sub MenuItem6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem6.Click




End Sub



Article Comments
some basic coding of VB.NET

Posted on 3/24/2010 10:35:17 AM by p.krishnavenisriram

Add Article Comment:
Name :
Email Address :
Comments :
<< How to place the Form at Top of all Windows

Disclaimer - Privacy
© 2002-2017