Ionsworld InfoTech Consult

Ionsworld InfoTech Consult Founded by the C.E.O. and Chief Logistics Officer, Iheanacho Nwaji Awama, a B.Eng and M.Eng holder of Electronics / Telecommunications engineering.

Ionsworld Infotech Consult Engages in: 1. Advanced Online Computer Training in Visual Basic Programming Language, Computer Networking, Microprocessor Programming, Microsoft Office Suite and Corel Draw, Java Programming Language, Website Design and Hosting. 2. Customised Software Writing and Production. 3. Customised Electronic Circuit Production. 4. General Supply and Maintenance of Computers and

Communication Equipment. 5. Information and Communication Technology, and General Engineering Consulting. 6. Picture, Video and Audio Editting.

A radio station in Port Harcourt needs the service of a Broadcast Engineer. Interested applicants can submit their CV to...
28/03/2026

A radio station in Port Harcourt needs the service of a Broadcast Engineer. Interested applicants can submit their CV to [email protected]

14/03/2017

ELEMENTS OF WRITING A PROGRAM (CODING)

Writing a program involves having a dynamic and calculative mindset. A properly designed program goes through several process of planning and debugging before the final program is released for use and can be trusted to solve the target problem within the limit of the programmer's intellect and program capability.

Every program has these four major elements: 1. The Start / Start processes 2. Process procedures 3. Decision route 4. The end / termination tagging.

1. Start / Starting processes: Every program must include a command for the compiler of the code to start ex*****on of the program. These compilers vary according to the programming language or software used. A java program will require a java compiler and a Visual basic 2008 program will require its own specific compiler that can understand the coding language. Each has it appropriate starting command or syntax that is recognizable by the compile to start the compiling, ex*****on and possibly debug the program. For example in VB2008, the appropriate start command is simply the heading of the program that gives the space to start writing the code. i.e.

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.BackColor = Color.FromArgb(255, 255, 0)

End Sub
End Class

The Public class and private sub declaration orders the program class Form1 to start ex*****on by loading its object properties as stipulated by the necessary event arguments.

The Start processes can also include the declaration of all data and data types to be used in the program; it can also include data initialization. Of course data must be initialized to take up a default value as the program starts so as to minimize if not eliminate errors in processing.

2. The Process procedures: This is simply the task that is to be accomplished in logical and sequential order. These task could be calculations or analytical. The simplest sequential and logical procedures a itemized until the task at that terminal point is achieved where another logical task is started. These process can be simple looping like Do While, Do Until, etc. (many may argue that this is a decision process. But I really think that at the Do While, Do Until stage a process is taking place which will lead to the next logical task after that process.)

3. The Decision route: This is colloquially regarded as the escape route. Granted it can be used for looping processes especially for complex looping that Do While and Do Until may not be proficient.

At this stage alternative route(s) are provided that can help the program handle various technical issues that are speculated to arise within the limit of the programmer's findings. In fact the decision route is one of the most powerful (if not the most powerful) provisions in programming. It helps programmers used their logical, emperical, and analytical minds to the fullest as well as test their intellectual capability. For example, the If...Then...Else etc.

4. The End / Termination tagging: This like the Start, is a command that is issued to the compiler to end the compilation and ex*****on of the program. It is looking for specific synax that will enable the compiler trigger the stop action. This also vary depending on the type of language or software used. For example in VB2008 it is:

End Sub
End Class

Every good program contains at least three of these elements (start, process, end). Other elements in programming exists that can be researched upon and applied as the specific need arise, but these four elements when applied logically and accurately will give a viable error-free program. It is worthy of note that a good programmer see beyond the present and make his program versatile and easy to update and upgrade without major changes in logical pattern or calculation and data.

ASSIGNMENT
Please research the processes of developing a program.

02/03/2017

DATA DECLARATION

Before any data is used in programming as a storage medium, it must have its data type declared. This ensures that it continually stores and remits only that consistent data type to enable the program run optimally.

For example, if you have two buckets, one for storing and retrieving water for use and the other for storing kerosene, should the one for water is then added kerosene it ruins the content in that bucket and vice versa.

The data type is like the bucket that stores specified and uniform data. Once declared, it can conveniently handle that data within the limits of the declaration.

In visual Basic 2008 and upward, Dim is used as the data declaration code syntax

Data can be declared as:
1. numeric data types: eg Byte, Integer, Long, Single, Double, Currency, Decimal

2. non-numeric data types: eg String, Date, Boolean, Object, Variant (numeric or text)

Rules for declaring data:
1. Data must be less than 255 characters.
2. No spacing is allowed in data declaration.
3. Data type It must not begin with a number.
4. Period and some specific symbols (please find them out) are not permitted.

eg. My_bae and not My.bae, Thisboo not 2Thisboo, his_her_bucket not his&herbucket.

Therefore, declare data as Dim "Variable Name" As "Data Type"

ie. Dim password As String
Dim name As String
Dim counter As Integer
Dim average As Decimal
Dim askDate As Date

Assignment:
1. write a list of data names and the possible declaration type.
2. Elaborate the various data types and the range of data they can hold.

28/02/2017

Try this:
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Show()
Dim val As String
val = "my first code"
RichTextBox1.Text = val
If val = "" Then
Label1.Text = "welcome to visual basic tutorial with ionsworld infotech consult"
Else
Label1.Text = "welcome to visual basic tutorial with ionsworld infotech consult here is what you have typed: " + val

RichTextBox1.Hide()
End If

End Sub

End Class

Assignment: Run the code and try to alter the richtext box from the form dynamically.

28/02/2017

WRITE YOUR FIRST VISUAL BASIC PROGRAM

When a vb development software is run, it displays a form that serves as an interface where the design is done and program executed. In vb 2008 upward, the code area starts with the tag line:

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class

This signifies that the form that is to be designed as an interface is a public object. However, the properties of each procedures of the object can be private to the extent determined by the programmer. Hence, the program code are inserted between the space of:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

It should be noted that each form or object as the case may be can be subjected to any procedure as determined by the way the programmer wants the program to operate. In this example, the program object Form1 is run immediately it is loaded as seen in Form1_Load.

Other procedures exist as: activated, click, doubleClick, DragOver, KeyDown etc.

Note that you can add other object on the form as label, textbox etc; and their procedures can be determined as you type the name on the code eg. label1.text etc

Example 1

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Show()
Label1.Text = "welcome to visual basic tutorial with ionsworld infotech consult"
End Sub


End Class

Now run the program to see your first code executed.

For any questions or comment/suggestion please feel free to drop them in the comment section provided. Thanks!

my inspiration:   project!!! Other nations are doing it...https://youtu.be/IW5DA4PBYTA
13/09/2016

my inspiration: project!!! Other nations are doing it...
https://youtu.be/IW5DA4PBYTA

San Marcos, TX. June 23rd 2010. Texas State's Director of Campus Recreation explains how the gym's cardio machines help generate power.

Address

Port Harcourt
Harcourt

Website

Alerts

Be the first to know and let us send you an email when Ionsworld InfoTech Consult posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Ionsworld InfoTech Consult:

Share