Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
dialog based applicationthe application which app wizard generates is based on the dialog template
files in a sdi and mdi applicationboth the sdi and mdi projects have 4 implementation files cpp extension these are the files equivalent to the
mdi applicationthe mdi application utilizes the main frame window as the work space in which the user can open more document frame
sdi applicationthe sdi application uses the main frame window to exhibit a document only one document can be opened at a particular
introduction to visual c programmingthis section introduces you to develop the applications using vc the single document interface sdi multiple
deleting recordsto remove a record use the delete method to delete the record from the customer table follow the coding as shown
adding records1 as in the earlier case set the databasename property as cexmdb now set the record source for the data control as customer and set the
the refresh methodthe refresh method transfer to the first record in the record set to invoke the refresh method follow the syntax which is as shown
a project to display a database1 suppose that there are 5 fields describing a customer id address name city amp state2 put 5 text boxes on the form
displaying the databasethe text box image box check box labels picture box can be bounded to the data control for exhibiting the data base contents
data controlthe data control is used to connect to the database three properties are very necessary to connect to the database the primary property
control arraythe control array is a group of similar objects with similar name adding controls with control arrays uses less resource than simply
steps for creating a mdi form1 build a new form and set ismdicontainer property to true2 build a child form class to add to the form3 now right click
modulethe modules are the collection of vb statements modules are used to simplify the program development to add a module to your project choose the
dialog boxes in vbthe two dialog boxes namely the message box and the input box are usually used in the visual basic the message box is used for
associating toolbars for the menu1 insert the tool bar control to your form2 now follow the steps to append the tool bar control to your form3 then
menus and tool bars the menu options can be checked enabled disabled and popped up on an objectthe menu objectthe menu control is used to generate
select casethe select case is used for handling the multiple paths the select case computes the expression and depending on the value of the
control statements the conditional expression uses a comparison operator that results in true or false value if the comparison is valid the
variant typeif no data type is related with the vb variables it takes the default variant type the variable x will be of the variant type when the
fixed length stringsthe fixed length strings are declared by identifying the size of the string for illustration to give a length of 20 for the
variable length stringsthe strings can be declared using as or as shown in the code below the msg and msg1 are the two strings and they are assigned
numeric data typesthe integer long integer are used for entire numbers single and doubles are related with the floating point numbers currency is
option explicit declarationif the option explicit is used essentially then all the variables will have to be declared or else an error will be
files in a vb projectthe project file has thevbp extension the form in which we draw has the frm extension mod denotes the module file cls denotes