This is a simple looping exercise. PL used : C#, VB.Net , VB6.

This is one of those exercises given to me when i was in my first year in programming.  :D

VB 6
exercise_1_vb6.rar
File Size: 1 kb
File Type: rar
Download File

C Sharp
exercise1_c_sharp.rar
File Size: 40 kb
File Type: rar
Download File

VB. Net
exercise1_vbnet.rar
File Size: 68 kb
File Type: rar
Download File

==== VB. Net language. This is also applicable and the same code for VB 6. 

Public Class Form1
    Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
        If txtInput.Text > 0 Then
            Dim i As Double
            Dim j As String : Dim str As String
            j = "*"
            For i = 1 To txtInput.Text
                For xx = 1 To i
                    If xx <> i Then
                        str = str & j
                    Else
                        str = str & j & vbNewLine
                    End If

                Next
                txtDisplay.Text = str
            Next
        Else
            Dim i As Double
            Dim j As String : Dim str As String
            j = "*"
            For i = 1 To (txtInput.Text * (-1))
                Dim jj As Double
                jj = ((txtInput.Text * (-1)) - i) + 1
                For xx = 1 To jj
                    If xx <> jj Then
                        str = str & j
                    Else
                        str = str & j & vbNewLine
                    End If

                Next
                txtDisplay.Text = str
            Next
        End If
    End Sub

    Private Sub txtInput_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtInput.TextChanged
        'If IsNumeric(txtInput.Text) = False Then
        '    txtInput.Text = String.Empty
        '    'MsgBox("Numeric only!")
        'End If
    End Sub

    Private Sub btnRevert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRevert.Click

        If txtInput.Text > 0 Then
            Dim i As Double
            Dim j As String : Dim str As String
            j = "*"
            For i = 1 To txtInput.Text
                Dim jj As Double
                jj = (txtInput.Text - i) + 1
                For xx = 1 To jj
                    If xx <> jj Then
                        str = str & j
                    Else
                        str = str & j & vbNewLine
                    End If

                Next
                txtDisplay.Text = str
            Next
        Else
            Dim i As Double
            Dim j As String : Dim str As String
            j = "*"
            For i = 1 To (txtInput.Text * (-1))
                For xx = 1 To i
                    If xx <> i Then
                        str = str & j
                    Else
                        str = str & j & vbNewLine
                    End If

                Next
                txtDisplay.Text = str
            Next
        End If
    End Sub

End Class

==== C # language. This is also applicable and the same code for C++. 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace Exercise1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnGo_Click(object sender, EventArgs e)
        {
            double i;
            string j;
            string str = "";
            double val = Convert.ToDouble(txtInput.Text);

            j ="*";

            if (val > 0)
            {
                for (i = 1; i <= val; i++)
                {
                    double xx;
                    for (xx = 1; xx <= i; xx++)
                    {
                        if (xx != i)
                        {
                            str = str + j;
                        }
                        else
                        {
                            str = str + j + Environment.NewLine;
                        }
                    }
                    txtDisplay.Text = str;
                }
            }
            else
            {
                for (i = 1; i <= (val * (-1)); i++)
                {
                    double jj = ((val * (-1)) - i) + 1;
                    double xx;
                    for (xx = 1; xx <= jj; xx++)
                    {
                        if (xx != jj)
                        {
                            str = str + j;
                        }
                        else
                        {
                            str = str + j + Environment.NewLine;
                        }
                    }
                    txtDisplay.Text = str;
                }
            }
        }

        private void btnRevert_Click(object sender, EventArgs e)
        {
            double i;
            string j = "*";
            string str = "";
            double val = Convert.ToDouble(txtInput.Text);

            if (val > 0)
            {
                for (i = 1; i <= val; i++)
                {
                    double jj = (val - i) + 1;
                    double xx;
                    for (xx = 1; xx <= jj; xx++)
                    {
                        if (xx != jj)
                        {
                            str = str + j;
                        }
                        else
                        {
                            str = str + j + Environment.NewLine;
                        }
                    }
                    txtDisplay.Text = str;
                }
            }
            else
            {
                for (i = 1; i <= (val * (-1)); i++)
                {
                    double xx;
                    for (xx = 1; xx <= i; xx++)
                    {
                        if (xx != i)
                        {
                            str = str + j;
                        }
                        else
                        {
                            str = str + j + Environment.NewLine;
                        }
                    }
                    txtDisplay.Text = str;
                }
            }
       }

    }
}

Please leave a comment or suggestion about this post. Thank you. :D Cheers.
 
My friend ask me about this if this is possible and i said yes it is possible to read an unread email using IMAP then it's up to you if you want to save the mail in your Database or you just want to read it. This simple sample program uses VB.net, .net framework 4 and chilkat imap.dll for .net 4 . If you want to use C#, just visit  http://converter.telerik.com/ for easy conversion. But not all conversions are correct especially on syntax so its better for you to convert it manually anyway syntax are all on the web. Just learn to use google but if you can't do that, then just leave a comment so that i can convert the codes for you. Dont forget to leave a comment after download. Thank you :) 
emailfetch.rar
File Size: 2038 kb
File Type: rar
Download File

 
This is for those beginners who want to learn programming using Csharp (C#) language. If you have knowledge in desktop programming using vb.net then it is an advantage to you. The logic of programming is important and the only difference between c# and vb.net for me is only the syntax. Just learn to love programming. 

I hope this simple sample program of mine will help you with your dream to become a computer programmer. This simple phonebook system has the basic functions like add,update,delete and search. The database used for this is MySql and uses infragistics, and mysql data 6.4. Download and leave a comment if you want. Thank you. 

phonebookcsharp.rar
File Size: 195 kb
File Type: rar
Download File

 
Could somebody help me. I have an error on my wordpress website. I can't add new pages. It only gives a blank screen result every time I click the Add new page menu. Thanks for the help in advance. 
 
Would somebody help me on my study on ASP.Net and Wordpress? :D
Any tutorials and e-books will do. Thanks a lot.
 
Skin cancer is sneaky, and not because it doesn't give fair warning. An early -- and curable -- cancer can usually be spotted, but often you never see it (it's hiding on the back of your upper thigh), or you dismiss it as just another freckle. Sure, you've heard the "changing color, ragged edges" litany many times, but do you know exactly what that looks like on your own skin?

Time for some show-and-tell. Now -- when you're still wearing your shorts and flip-flops and showing more skin than usual -- is the perfect time to see whether you can spot skin cancer.
 
DAVAO CITY (MindaNews/18 August) – Sixteen-year old Rahima Usman from the Maranao tribe was crowned Hiyas sa Kadayawan 2011 on Wednesday
evening at the Davao Recreation Center.

Usman, a nursing student at San Pedro College, outshone nine other candidates from the Tausug, Matigsalog, Obu Manuvu, Maguindanao, Bagobo Tgabawa, Sama,  Bagobo Klata, Ata and Kagan tribes.

After the seven Hiyas sa Kaliwatan (Tribal Gems) had been named, only three candidates were left: Usman, Bernalin Mamboo of the Ata tribe and Almeline Cheenee Hamid of the Sama tribe.

Mamboo was crowned as the first runner-up and named Hiyas sa Kauswagan (Gem of Progress) while Hamid was the second runner-up and named Hiyas sa Tingusbawan (Gem of Fulfilled Promise).

The seven Hiyas sa Kaliwatan are Judelyn Ogos (Bagobo Tagabawa), Mia Rose Sarip Apadan (Kagan), Jhel Ann Oboc (Obu Manuvu), Fauzia Jamsuri (Tausog), Norie Fe Licomes (Bagobo Klata), Zarina Mangadta (Maguindanao), and Leah Jean Benito (Matigsalog).

Speaking in their own dialects, the candidates addressed the jam-packed Davao Recreation Center, formerly Almendras gymnasium,
during the introduction.

Usman, who earlier performed a Maranao cultural presentation by playing the Kulintang and later danced the Singkil, was also adjudged
as the Best in Cultural Skills Showcase. She also earned the Miss Photogenic and Miss Face of the Night awards.

Mamboo bagged the Miss Friendship award and Apadan the Smart Texters Choice award.

Instead of the usual question and answer portion during pageant shows, the candidates picked up a number and then a corresponding photo was flashed on the wall which they were asked to interpret.

One of the most applauded interpretations was about the Mt. Apo photo. Ogos was able to give its exact elevation (2,954 meters above sea level) aside from explaining that the country’s highest mountain also represents their tribe.

Crowd-favorite Usman interpreted a photograph of buildings in the city as symbols of “modernization and globalization of the city.”

Last year’s Hiyas sa Kadayawan was Mernadeth Sicutan of the Ata tribe.

Hiyas sa Kadayawan is one of the highlights of the annual festival that opened on August 15. (Keith Bacongco/MindaNews)

 
Job description Systems developers work on the internal operations of computers. They work within organisations to solve computer problems using existing systems or incorporating new technologies to meet particular needs. They test both hard and software systems, and diagnose and resolve system faults. The role also covers writing diagnostic programs and designing and writing code for operating systems and software to ensure that they function more efficiently. When required, they make recommendations for future developments to software or operating systems.

Systems developers may also create systems in response to technical specifications supplied by an IT analyst. This may require integrating off-the-shelf software packages into the existing systems.

Typical work activities Tasks vary according to the type of organisation and size of employer that you are working for, but will typically involve:

  • consulting with colleagues or clients with a view to writing or modifying current operating systems;
  • evaluating and implementing ways to incorporate existing or new technologies;
  • observing, testing, diagnosing and resolving faults in the software;
  • writing and testing code and then refining and rewriting as necessary;
  • writing systems to control the scheduling of jobs on a mainframe computer or to control the access allowed to users or remote systems;
  • providing written documentation for users, perhaps in conjunction with a technical author;
  • working with other IT specialists both internally and externally;
  • undertaking short and longer-term project work.
Job titles and descriptions in IT are not as standardised as in some other industries. In some cases, systems developers may be called systems programmers, analysts or engineers. In some areas, a systems developer may have a more defined role and work within a group of IT specialists, which can include systems analysts and systems designers, or they may work solely on testing systems. The work of a systems developer can also form part of the role of a software engineer or an applications programmer.