Sunday, October 31, 2010

C # programming in LINUX (TOOL-: monodevelop)

MonoDevelop is an IDE primarily designed for C# and other .NET languages.

link http://monodevelop.com/

really it is a good.......

Visual C# projects

the first basic project is calculator..........its simple but its necessary

so here the program......

snapshots:







code
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;

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

        private void Form1_Load(object sender, EventArgs e)
        {

        }
        Double fno, sno, result;
       
        private void btn_add_Click(object sender, EventArgs e)
        {
            int I = Controls.Count;
            for (int i = 0; i < I; i++)
            {
                if ((String)(Controls[i].Tag) == "A" && Controls[i].Text == "")
                {
                    MessageBox.Show("you have not entered values in " + Controls[i].Name, "error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    Controls[i].Focus();
                    return;
                }
            }
            fno = Double.Parse(txt_fno.Text);
            sno = Double.Parse(txt_sno.Text);
            result = fno + sno;
            txt_result.Text = result.ToString();
            lbl_result.Text = "Sum";
            lbl_result.Visible = true;
            txt_result.Visible = true;
        }

        private void btn_sub_Click(object sender, EventArgs e)
        {
            int I = Controls.Count;
            for (int i = 0; i < I; i++)
            {
                if ((String)(Controls[i].Tag) == "S" && Controls[i].Text == "")
                {
                    MessageBox.Show("you have not entered values in " + Controls[i].Name, "error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    Controls[i].Focus();
                    return;
                }
            }
            fno = Double.Parse(txt_fno.Text);
            sno = Double.Parse(txt_sno.Text);
            result = fno - sno;
            txt_result.Text = result.ToString();
            lbl_result.Text = "Subtract";
            lbl_result.Visible = true;
        }

        private void btn_mul_Click(object sender, EventArgs e)
        {
            int I = Controls.Count;
            for (int i = 0; i < I; i++)
            {
                if ((String)(Controls[i].Tag) == "M" && Controls[i].Text == "")
                {
                    MessageBox.Show("you have not entered values in " + Controls[i].Name, "error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    Controls[i].Focus();
                    return;
                }
            }
            fno = Double.Parse(txt_fno.Text);
            sno = Double.Parse(txt_sno.Text);
            result = fno * sno;
            txt_result.Text = result.ToString();
            lbl_result.Text = "Multiplication";
            lbl_result.Visible = true;
        }

        private void btn_div_Click(object sender, EventArgs e)
        {
            int I = Controls.Count;
            for (int i = 0; i < I; i++)
            {
                if ((String)(Controls[i].Tag) == "D" && Controls[i].Text == "")
                {
                    MessageBox.Show("you have not entered values in " + Controls[i].Name, "error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    Controls[i].Focus();
                    return;
                }
            }
            fno = Double.Parse(txt_fno.Text);
            sno = Double.Parse(txt_sno.Text);
            if (sno == 0)
            {
                MessageBox.Show("not allowed");
                txt_sno.Focus();
                txt_sno.SelectionStart = 0;
                txt_sno.SelectionLength = txt_sno.Text.Length;
            }
            result = fno / sno;
            txt_result.Text = result.ToString();
            lbl_result.Text = "Division";
            lbl_result.Visible = true;
        }

        private void txt_fno_TextChanged(object sender, EventArgs e)
        {
            try
            {
                fno = Double.Parse(txt_fno.Text);
            }
            catch
            {
                SendKeys.Send("{BACKSPACE}");
            }
        }

        private void txt_sno_TextChanged(object sender, EventArgs e)
        {
            try
            {
                sno = Double.Parse(txt_sno.Text);
            }
            catch
            {
                SendKeys.Send("{BACKSPACE}");
            }
        }

        private void txt_fno_Validating(object sender, CancelEventArgs e)
        {
            if (txt_fno.Text == "")
                e.Cancel = true;
        }

        private void txt_sno_Validating(object sender, CancelEventArgs e)
        {
            if (txt_sno.Text == "")
                e.Cancel = true;
        }

        private void btn_reset_Click(object sender, EventArgs e)
        {
            txt_fno.Text = "";
            txt_sno.Text = "";
            txt_result.Text = "";
            txt_fno.Focus();       
        }

        private void btn_quit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
 

Thursday, October 14, 2010

If you want a better job in IT sector PLZ you need to know about it...........

IT is back in demand and with it the IT jobs. Almost all IT companies, big, mid-sized and small appear upbeat on hiring.

So, which are the IT skills that are being sought after and are sure to get you a big break or a good jump? eWeek recently released a list that names 10 non-certified technology skillsets in demand.

Here's over to them......

SAP Basis Components

Topping the list of non-certified IT skills is SAP Basis Components.

Basis is the administering programme that administers the SAP Application. Basis Administrator administers the SAP application using the tools or transactions available under Basis component. Normal functions like creating user, assigning access rights, backup, restore are some of the transactions available under Basis component in SAP.


RAD/Extreme Programming/Agile Programming


Next on the list is an IT skill that involves more flexible and time-to-market processes, according to the report.

Rapid Application Development or RAD refers to a software development methodology that involves minimal planning. The absence of pre-planning allows software to be written much faster, making it easier to change requirements. Extreme Programming on the other hand involves improving software quality and responsiveness to changing customer requirements.

VPN

At No. 3 is virtual private network (VPN). There is a need of security specialist to provide remote office access to users to their organization's network.

It is a network that uses a public telecommunication system and Web to provide remote access of a corporate network.


Business Continuity/Disaster Recovery Planning

With almost every company fearing an impact of a serious incident which can hamper its operations, it is little surprsing to see disaster recovery among the most required IT skillsets.

The process involves putting policies and procedures in place for recovery of critical organisation data. It also involves continuation of technology infrastructure that is critical to a company after a natural or human-related disaster like flood, explosion, computer malfunction or accident.

Web 2.0: AJAX, Adobe Flex, Adobe Flash, Javascript, JSON

Next on the list of hottest non-certified IT skills is Web 2.0 technologies that use powerful graphical elements of the Web, according to the report.

Adobe Flex is a free and opensource framework used for building Web applications that can be seen across browsers, desktops, and operating systems. It is based on Adobe Flash platform. Flex applications can be written using Adobe Flash Builder or by using the freely available Flex compiler from Adobe.

JavaScript is another much-in demand skillset for IT pros. The programming language is primarily used to make Web pages interactive. Javascript support is built right into Web browsers. In simple words, JavaScript is a language that makes websites interact with their readers and respond to them.

Windows 7

With Windows XP taking backseat, Microsoft's latest operating system Windows 7 is gaining ground as companies prepare to shift to the new OS.

Gartner recently predicted that organisation may face shortage of Windows 7 migration experts. The research firm also said that organizations worldwide will migrate about 250 million PCs to Windows 7 over the next few years.

Little surprising that Windows 7 migration skills are hot in demand

SAP Web Application Server

SAP Web Application Server is the application platform of the SAP NetWeaver, which is the basis for the other NetWeaver components.

SAP Web Application Server lets implement both server-based and client-based Web applications. Server applications like online shops or portals can be created in the integrated development environment or in an external tool.

These applications can contain Web pages as well as static HTML code and dynamic script code.

SAN/Storage Administration

At No. 8 is storage area network (SAN), a key management skill required in everything that needs to be digitally stored in an enterprise.

According to the report, the skill is hot in demand in large scale storage of data warehousing, customer records management, legal compliance for HIPAA and Sarbanes-Oxley laws and research and development tracking

RFID/Wireless Sensors

With the growing use of RFID technology in the retail industry, there is need for security to mobility technicians in this domain. According to the report, "inventory tracking and investment in shipping technologies makes wireless RFID skills a specialization."

Python

At No 10 is the open-source, object-oriented programming language Python.

According to the report says, Python is "a flexible powerhouse that can handle practically any problem domain. Build your own Web server in three lines of code. Build flexible data-driven code using ... dynamic introspection capabilities and advanced language features."




references.... TOI TECH

Tuesday, October 12, 2010

JAVA-----

we already know that java is the platform independence programming language.....why? need to know...
so first of all i want discuss that what is the the meaning of cross platform....
It is a quality or feature of an particular application or multiple application which can be easily implemented on other computer platforms.

Two types of cross platform

1. Which requiers some building block or called as compiler
2. Another one is which doesn’t need any thing and run without any preparation

why c/c++ is not a platform independence language.....

Platform independent means the execution of the program is not restricted by the type of os environment provided

Java is a platform independent language becoz of the bytecode. In java, when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.
Whereas C and C++ are complied languages which makes them platform dependent. The source code written in C / C++ gets transformed into an object code which is machine and OS dependent. That's the reason why C and C++ languages are termed as Platform Dependent.