Archive

Archive for the ‘Programming’ Category

What is Menu Editor in Visual Basic?

March 11, 2014 Comments off

What is Menu Editor in Visual Basic?

Menu Editor utility of VB can be accessed from tools menu in the forms design screen. This utility is used for creating menus. It allows you to create custom menus for your application and to define their properties.

Dialog Box Options:

Caption: Allows you to enter the menu or command name that you want to appear on your menu bar or in a menu. If you want to create a separator bar in your menu, you can type a single hyphen (-) in the Caption box.

To give the user keyboard access to a menu item, insert an ampersand (&) before a letter. At run time, this is underlined (the ampersand is not visible), and the user can access the menu or command by pressing ALT and the letter. If you need an ampersand to show in the menu, put two consecutive ampersands in the caption.

Name: Allows you to enter a control name for the menu item. A control name is an identifier used only to access the menu item in code; it does not appear in a menu.

Index: Allows you to assign a numeric value that determines the control’s position within a control array. This position is not related to the screen position.

Shortcut: Allows you to select a shortcut key for each command.

HelpContextID: Allows you to assign a unique numeric value for the context ID. This value is used to find the appropriate Help topic in the help file identified by the HelpFile property.

NegotiatePosition: Allows you to select the menu’s NegotiatePosition property. This property determines whether and how the menu appears in a container form.

Checked: Allows you to have a check mark appear initially at the left of a menu item. It is generally used to indicate whether a toggle option is turned on or off.

Enabled: Allows you to select whether you want the menu item to respond to events, or clear if you want the item to be unavailable and appear dimmed.

Visible: Allows you to have the menu item appear on the menu.

WindowsList: Determines if the menu control contains a list of open MDI child forms in an MDI application.

Right Arrow: Moves the selected menu down one level each time you click it. You can create up to four levels of submenus.

Left Arrow: Moves the selected menu up one level each time you click it. You can create up to four levels of submenus.

Up Arrow: Moves the selected menu item up one position within the same menu level each time you click it.

Down Arrow: Moves the selected menu item down one position within the same menu level each time you click it.

Menu List: A list box that displays a hierarchical list of menu items. Submenu items are indented to indicate their hierarchical position of level.

Next: Moves selection to the next line.

Insert: Inserts a line in the list box above the currently selected line.

Delete: Deletes the currently selected line.

OK: Closes the Menu Editor and applies all changes to the last form you selected. The menu is available at design time, but selecting a menu at design time opens the Code windows for that menu’s Click event rather than executing any event code.

Cancel: Closes the Menu Editor and cancels all changes.

Dbametrix is one of the worldwide leader to provide remote Oracle database administration support.

Advertisements

Learn About Visual Basic Window Adjustment

January 12, 2013 Comments off

Yesterday I read about VB windows adjustment. Off course, I am beginner in VB but it is really interesting to share some idea about this.

An immediate window enables you to debug your VisualBasic program. When you design your user interface, you use the toolbox to draw objects on a form. After you have drawn your object, the step is to customize the appearance of each object by using the properties window. Finally, after you are happy with the way your program’s user interface looks, you can define the location of the interface on the screen by using the form layout window.

How to Closing and Opening Windows in VB?

The VisualBasic user interface may seem cluttered to you, so do not be afraid to modify it for your convenience. Because most parts of the VisualBasic user interface consist of windows, you may want to close them to give yourself more screen space. Then you need to use the interface windows again, just open them up.

To close a window in the VB user interface, click in the close box of the window you want back again. To open a window and make it appear in the VB user interface choose view and then click on the window you want to open, such as code or properties windows.

How to Resizing and moving your Windows?

Rather that closes a window and makes it disappear completely, you may prefer to resize or rearrange the window instead.

To resize a window move the cursor over the edge of the Window until the cursor turns into a double-headed arrow. Then hold down the left mouse button, drag the mouse, and release the left mouse button when the window has the shape you want the window to be.

To move a window, move the cursor over the title bar of a window, hold down the left mouse button, and drag the mouse and then release the left mouse button when the window is in the desired location.

Now we are capable to adjust windows and sizing concept too. Oracle database supports VB frontend. Remote DBA support team always provides support for Oracle databases.

Visual Basic Tutorials – How to Start New Program?

December 10, 2012 Comments off

What are Options of Project of Visual Basic?

visual basic tutorialsAfter starting Microsoft VisualBasic, you have to create new project dialog box, you have a number of template of the different types of programs you want to create.

Standard Exe:

You can create a stand-alone program that you can copy, give away, or sell to others. Examples of stand-alone programs are Microsoft Word, Lotus, and Netscape Navigator. Stand alone programs have an .exe file extension.

Active X DLL:

You can create a file that has a .DLL file extension. ActiveX DLL files are not meant to be used by them. Instead, these types of files contain subprograms designed to be used as building blocks when creating a stand-alone program.

ActiveX EXE:

You can create a file that has an .EXE file extension. Unlike a standalone exe file, an ActiveX exe file is designed to work as an OLE server, which is nothing more than a program designed to share information with another program.

ActiveX Control:

You can create a file that has an .OCX file extension. Unlike an ActiveX DLL or ActiveX EXE file, an ActiveX control usually provides both subprograms and an user interface that you can reuse in other programs.

ActiveX Document DLL:

You can create a file with a .DLL file extension. An Active X document DLL file is designed to help you run programs on a web site.

ActiveX Document EXE:

You can create a file that has as .EXE file extension. An ActiveX Document EXE file can display a VisualBasic form within an internet web browser.

Addln:

This feature enables you to create an Addln program specially designed to work with the VisualBasic user interface.

VB Application Wizard:

The Visual Basic friendly guide is to help you create a skeleton VisualBasic stand-alone EXE program quickly and easily.

Dbametrix is the worldwide leader in remote Oracle DBA support services.