LESSON 6: INTRODUCTION TO PROGRAMMING Flashcards
referred to as computer
programming and involves various activities or tasks like examination, accepting, discerning, and disentangling problems. It can be defined as “a way of developing and executing numerous sets of commands to let a computer implement different tasks.”
Programming
the process of
multiple people working together on the same
codebase.
The Collaborate on existing code-
an Integrated Development Environment (IDE) that allows users to write programs in a variety of languages, including C#.
It’s designed to manage and develop large .NET
The Visual Studio without any code-
Visual Basic Demonstration
-You must select the New Project option in order to begin
constructing your initial application. The New Project
dialog box that follows will show up once you click on the
new project
Visual Basic Demonstration
- There are five different project types available to you in the
dialog box. We’ll choose Windows Forms Application since we’ll be learning how to construct Windows applications. - You can modify the default project name Windows Application 1 at the bottom of this dialog box to any other name you choose, such as my First Program. Once you’ve
made your name modification, click OK to proceed.
Visual Basic Demonstration
- To close the Properties window, click the Close button on
the title bar. To open the window, select Properties - Window from the menu bar after selecting View.
- Click the tab of the Team Explorer window in your IDE, and
then click the Close button located on its toolbar. - Within the Solution Explorer window, click the Auto Hide
(vertical pushpin) button. After being minimized, the Solution Explorer window shows up as a tab on the IDE’s edge.
Visual Basic Demonstration
- Move your mouse pointer over the Solution Explorer tab to bring up the Solution Explorer window momentarily. The window for Solution Explorer opens. You’ll see that the Auto Hide button is no longer a vertical pushpin but a
horizontal one. - Remove the Solution Explorer window using the mouse pointer.
- The window shrinks and re emerges as a tab.
- Close the Data Sources window by yourself.
Visual Basic Demonstration
- A control can be inserted into a form by dragging and
dropping it from the toolbox. You can alter it to suit your
requirements. - You can adjust its size and position, for instance. Let’s
look at some instances when the Button, Label, Textbox,
List Box, and Picture Box were used. As you move on to
other lessons, we will go over the program syntaxes, so
you don’t need to worry too much about the code at this
time. The common controls Toolbox will open when you
select the Toolbox tab.
Visual Basic Property Windows
The attributes are called__________are listed in the Properties window. When an
object is created, a default value is
assigned to each of its properties.
properties
Visual Basic Splash Screen Application
- A SplashScreen can be added by clicking on Project Add
Windows Form then selecting Splash Screen from the
template. The SplashScreen must be configured within the
properties of the application. To get the properties, click
Project “The Application’s Name” Properties. Make sure the - Application Tab is clicked on and click Assembly Information.
- To activate the SplashScreen go to the Application Tab within
Properties and select the SplashScreen under Splash screen. - To change how long the SplashScreen is shown click on View
Application Events within the Application Tab of the
Properties.
Visual Basic Project “Write Code”
- User actions trigger events in
Visual Basic project. - Basic code for specific events
automatically executes
procedures. - VB ignores events without
written procedures.
Visual Basic Procedures
“Write Code”
- Each procedure is a sub
procedure, starting with Private
Sub and ending with End Sub. - The form’s class name matches
the file’s name. - Visual Basic automatically
names event procedures,
including the object name,
underscore (), and event name.
Visual Basic Procedures “Write Code”
These methods are also referred to as
event-handling
methods.
Visual Basic Code Statements
“Write Code”
- are for project documentation only, not executable.
- Aim is to make the project more readable and understandable.
Remark statements
- Remarks are not actual code but explanatory text that helps you and others understand
your program. - The compiler ignores remarks during program execution.
Remark statements