Visual Basic CSC 22 082900
3 Variations VB - Visual Basic VBA - Visual Basic for Applications VBScript Extensive Overlap
Visual Basic Create Stand-Alone Applications Create ActiveX Modules Create Components
VBA Exists in all office products Examples: http://www.geocities.com/WallStreet/9245/
VBScript Create Web-Based Applications with Active Server Pages. Server must be NT or compatible. Run simple scripts on IE
The VB Family Visual Basic VBScript VBA - Visual Basic for Applications
Visual Basic (VB) is our focus Some coverage of VBScript Extensive Overlap Based on 35 yrs old BASIC Beginners’s All-purpose Symbolic Instruction Code Around 300 Commands
The Visual Basic IDE IDE - Integrated Development Environment Toolbar Toolbox Form Window Form Layout Window Project Window Properties Window Immediate Window (ctrl-G)
Is VB Useful?
Is VB Useful? Yes! VB allows you to rapidly create useful professional applications!
The Programming Process Decide what your application is to do by creating an overall design. Create the visual portion of your application (the screens and menus that your users will interact with). Add Visual Basic programming language code to tie the visual elements together and to automate the program. Test your application to locate and remove any bugs you may find. Compile your tested application and distribute the compiled application to your users.
Event-Driven Programming An event is an activity that occurs during a program’s execution, such as a mouse click, a keystroke, or a system event such as the timer. Event-driven programming applies to programming that responds to Windows events.
Labs A lab or project is assigned each class day. Each lab or project is due before the next class. Labs are the programming exercises at the end of each day/chapter. This excludes any quiz or non-programming exercise found at the end of each chapter.
Bonus Projects Bonus Projects are required and graded. Each day, you will do a lab or project
Lab 1 - Chapter 1 Use the Application wizard to create an application that includes an Internet browser window and a splash screen. Run the application to see how the Internet access works.