Visual Basic Final Project Special Features!

 

 

Include the following Visual Basic techniques in your final project for added functionality and ease of use (for the potential end-user).  These techniques will be demonstrated in-class. 

 

 

 

                       

 

§         Set the splash screen to be the default Startup Form (Project, Properties, Startup Form, from the menu bar).

§         Events that you should code to get to the Main form could be: Form_KeyPress, Form_MouseDown, Frame1_click.

 

 

      

                              

 

 

CommonDialog1.ShowPrinter

 

 

 

 

§         Use the Index tab and the Insert Panel Button to add additional panels.  Use the Style Drop-down list box to select a different type of information to appear in a panel.

 

 

 

 

§         Select different pictures to appear in your image list by clicking on the ‘Insert Picture’ command button.  It is important to remember the order of your pictures.  If you cannot locate graphics that you desire, go online and download your graphics (www.iconbazaar.com   this is a good site for icons and graphics for your toolbar).

§         After the ImageList has been created, add a Toolbar control to the form.

§         Right-click on the ImageList control and select Properties.

§         From the General Tab, make sure the ImageList you created above is set in the ImageList text box.

§         From the Buttons Tab, locate the Index Button.  The Buttons you add should correspond to the icons you created in the ImageList (from the previous step).  Name the command buttons, and make sure you give the appropriate ‘Key’ name in the Properties below.

 

 

 

Select Case Button.Key

       

        Case "Open"

            ‘Add code here for Open

                       

        Case "Go to Web"

            mnuProjectWeb_Click

 

        Case "Print"

            mnuFilePrint_Click

 

        Case "Exit"

            mnuFileExit_Click

           

    End Select

 

 

 

 

§         Code the ‘About Dialog’ form to appear from the menu bar (for example, the Windows menu bar)