ADODC: –

ADODC: - The ADO data control give developers the easy of building data bound forms that include navigation with the power and control of using ADO. It uses any database including SQL with Microsoft ActiveX data object to quickly create connection between data bound controls and data source. We can add ADO data control to … Continue reading ADODC: –

Advertisements

Font dialog box: –

Font dialog box: - The common dialog control also provide facility for changing font, font style and its size using font dialog box. The showfont method is used with name of common dialog control to show font dialog box. Syntax of the show font method is –                 <Control Name>.ShowFont The font dialog box allows … Continue reading Font dialog box: –

Color dialog box: –

Color dialog box: - The common dialog control provides color dialog box. The show color method is used for calling color dialog box from common dialog control. Syntax of the ShowColor method is –                 <Control Name>.ShowColor We use the common dialog control’s color property to retrieve the color selected by the user. The property … Continue reading Color dialog box: –

Save as dialog box: –

Save as dialog box: - The save as dialog box is used to open a save as dialog box by calling the common dialog controls ShowSave method. This method used with name of common dialog control. Syntax of the ShowSave method is –                 <Control Name>.ShowSave Here control name is the name of common dialog … Continue reading Save as dialog box: –

Open dialog box: –

Open dialog box: - We display the open dialog box by calling the dialog control method. The ShowOpen method used to open the dialog box. Syntax of the ShoeOpen method is –                 <Control Name>.ShowOpen Here, control name is the name of the common dialog control and ShowOpen is a concentric constant which is used … Continue reading Open dialog box: –

The common dialog control: –

The common dialog control: - The common dialog control used in visual basic to insert dialog box into document window. Most windows user using dialog box to brows their disk for a file to open or for a location to save a file. We can equip our application with the standard dialog boxes that most … Continue reading The common dialog control: –

Opening file: –

Opening file: - The open statement used in visual basic to open a sequential access data file as well as to open a random-access data file. If a data file is opened in random method, two items increases instead of sequential access method. An access mode and a record length must be specifying with open … Continue reading Opening file: –

Moving the record pointer: –

Moving the record pointer: - The seek statement is used to move record pointer in a random-access file. This statement can be used to move record pointer at any one record position. Syntax of the seek statement is –                 Seek <File Number>, <Record Position> If the next put or get statement does not specified … Continue reading Moving the record pointer: –

Reading Record: –

Reading Record: - The random-access file read one full record at a time. The get statement is used to input a record from a random-access file. Syntax of the get statement is –                 Get <File Number> [,Record Number] <,Variable Name> Where file number, record number and variable name have the same meaning as in … Continue reading Reading Record: –

Writing record: –

Writing record: - In the random-access file, a full record write into file instead of particular variable. Put statement is used to write a record into random access file. Syntax of the put statement is –                 Put <File Number> [,Record Number] <,Variable Name> Where file number is the number of a file that has … Continue reading Writing record: –