Posts

Showing posts from November, 2018

Superscripts in VB

Image
Good Day Friends, I was working on how to calculate the position of students in a class and i got stocked. I did some research on line and i was unable to get the position of student so I left the code for three days. On the third day, i had a good rest and when i went back to my code, i decided to create a public sub, pass a variable to the sub that will determine the position and use the length of the position to get the superscripts . Below is a segment of my code in VB  Public Sub GetSuffix(position As String)         Dim suffix As String = "th"         If Integer.Parse(position) < 11 OrElse Integer.Parse(position) > 20 Then             position = position.ToCharArray()(position.ToCharArray().Length - 1).ToString()             Select Case position                 Case "1"                     suffix = "st"                     Exit Select                 Case "2"                     suffix = "nd"             

Become Skilled In Coding

Image
What is Coding? Coding is the act of writing instructions for a computer to make the computer perform a task. Coding may also be called programming . A finished set of computer instructions is called a program . Every app, game and software program we use requires a coded program to work. Many of our household appliances and even our cars also require a coded program to work. For a program to work it must be written in a way that a computer understands. This is done with a computer language . There are different computer languages designed for different types of computer programs. These computer languages include HTML, Javascript, C and Python. Essentially the computer language converts human generated instructions into binary code – that is, strings of ones and zeroes that tell a computer what to do. When learning to code, children typically learn to use simplified, visual programming tools that allow them to build programs with pre-made blocks of codes that ca

Tips for Better Database Design

Image
Over the years, working as a data modeler and database architect, I have noticed that there are a couple rules that should be followed during data modeling and development. Here I describe some tips in the hope that they might help you. I have listed the tips in the order that they occur during the project lifecycle rather than listing them by importance or by how common they are. 1. Plan Ahead One problem that I have seen is when data modeling occurs at the same time as software development. This is like building the foundation before completing the blueprints. In the past, planning seemed an obvious step before starting development. Development teams would not create databases without planning just like architects would not build buildings without blueprints. In application development, it is critical to understand the nature of the data. Planning is often ignored so that developers can just “start coding”. The project starts and when issues come up, there is no sla

Xara Web Designer Easily create your own website

Create your own website in no time First impressions are key! Create your own webpages just the way you want them using a range of professionally-designed templates. And all without any programming knowledge. Xara Web Designer manipulates text as easily as any text editor, but also includes WYSIWYG, drag-and-drop page design features that let you add images, animation, popup windows, buttons, and widgets. Changing colors and design features that reoccur throughout your template takes little more than a few button and mouse clicks. By providing a simple way to make traditional Web pages with options for adding dynamic content through widgets, Xara Web Designer has hit the exact middle ground between using a free blogging service and paying thousands for a complex pull-out-all-the-stops Web site. And it's really intuitive and easy, even for someone with no Web design experience. Xara Web Designer allows you to effortlessly preview your designs using Chrome, Firef