• androidimg
  • phpimg
  • c++img
  • javaimg
  • netimg
  • Android Programming

    Android software development is the process by which new applications are created for the Android operating system. Applications are usually developed in the Java programming language using the Android Software Development Kit.

  • PHP Programming

    PHP is a server scripting language, and widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

  • C++ Programming

    C++ is one of the most popular object oriented programming languages and is implemented for both hardware and operating system platforms. C++ is also used for hardware design, where the design is initially described in C++, then analyzed, architecturally constrained, and scheduled to create a register-transfer level hardware description language via high-level synthesis.

  • Java Programming

    Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. Java source code files are compiled into a format called bytecode.

  • .Net Programming

    Microsoft describes .NET as a set of software technologies for connecting information, people, systems, and devices. This new generation of technology is based on Web services-small building-block applications that can connect to each other as well as to other, larger applications over the Internet.

Monday, 18 April 2016

Posted by Venika Emy
No comments | 20:57
Classes provide reusable code in the form of objects. A class library contains one or more classes that can be called on to perform specific actions. This walkthrough shows how to create a class library project in vb.net and incorporate it into a Web application project.

In order to complete this walkthrough, you will need:
  • The .NET Framework version 3.5.
  • The SP1 release of Visual Web Developer 2010 Express.
The following procedures build upon each other. Therefore, you must follow the order of the procedures to successfully complete this walkthrough.

Creating the Class Library Project

To create the CDemoLib class library and the Customer class file

1.      On the File menu, select New Project to open the New Project dialog box.
2.      In the list of Windows project types, select Class Library, and then type CDemoLib in the Name box.
3.      In Solution Explorer, right-click CDemoLib and then click Properties.
Notice that the Default namespace box contains CDemoLib. The root namespace is used to qualify the names of class in the assembly. For example, if two assemblies provide class named Customer, you can specify the Customer class by using CDemoLib.Customer.
Close the properties window.
4.      In Solution Explorer, right-click CDemoLib, click Add, and then click Class.
The Add New Item dialog box is displayed.
5.      Type Customer.cs in the Name box and then click Add to create the class.
A class named Customer is added to your class library.
6.      In Solution Explorer, right-click Class1.cs and then click Delete.
This deletes the default class that is provided with the class library, because it will not be used in this walkthrough.
7.      In the File menu, click Save All to save the project.

Creating the Class

Constructors control the way your class is initialized. Properties are values of the class that you can get and set. In Visual C#, all constructors have the same name as the class.

To add code to define the Customer class

·         In the code editor, replace the existing code with the following code to define the Customer class in the CDemoLib class library.
VB
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
 Namespace CDemoLib
    Public Class Customer
        Private _age As Integer        Private _name As String      
        Public Sub New()
            Age = 0
            Name = "Not available"        End Sub      
        Public Property Age() As Integer            Get                Return _age
            End Get            Set                _age = value
            End Set        End Property        Public Property Name() As String            Get                Return _name
            End Get            Set                _name = value
            End Set        End Property    End ClassEnd Namespace

Adding the Class Library to a Web Application Project

To test the class, you must have a project that uses it. This project must be the first project that starts when you run the application.

To add the CDemoTest Web Application project as the startup project for the solution

1.      In the File menu, click Add and then click New Project.
The Add New Project dialog box is displayed.
2.      Under Project types, expand Visual Basic or Visual C#, and then click Web to display available Web templates.
3.      In the Templates box, select ASP.NET Web Application.
4.      In the Name box, type CDemoTest as the name of the new application.
5.      Click OK.
creates the Web application project in the existing solution.
In order to use the Customer class, the client test project must have a reference to the class library project. After you add the reference, it is a good idea to add a using statement in C# (an Imports statement in Visual Basic) to the test application to simplify the use of the class.

To add a reference to the class library project

1.      In Solution Explorer, right-click the References node underneath CDemoTest, and then click Add Reference.
2.      In the Add Reference dialog box, select the Projects tab.
3.      Double-click the CDemoLib class library project. CDemoLib will appear under the References node for the CDemoTest project.
4.      In Solution Explorer, right-click Default.aspx and then click View Code.
Adding the reference to CDemoLib lets you use the fully qualified name of the Customer class, which is CDemoLib.Customer.

To add a using or Imports statement

·         Add the following using statement (Imports in Visual Basic) at the top of the code editor window for the Default.aspx page.
VB
Imports CDemoLib
·         Adding this statement lets you omit the library name, and refer to the class type as Customer.

Using the Class from the Class Library

The CDemoTest Web application will call the class that is contained in the class library and display the results.

To add code to create and use a Customer object

1.      In Solution Explorer, right-click Default.aspx and select View Designer.
2.      From the Standard tab of the Toolbox, drag a Label control onto the design surface.
3.      Double-click the design surface to display the Page_Load event handler.
4.      In the Page_Load event handler add the following code:
VB
Dim myCustomer As New Customer()
myCustomer.Name = "Alex Jendar"myCustomer.Age = 30
Label1.Text = "Name: " & myCustomer.Name + "<br/>Age: " & _     myCustomer.Age.ToString()
5.      In the File menu, click Save All to save the solution.

To run and debug the CDemoTest project

1.      Press CTRL+F5 to start the solution.
Notice that the Customer class properties are automatically displayed in the label control.
2.      Close the browser window to return to the development environment.



Read more ...
Posted by Venika Emy
No comments | 20:52
Classes provide reusable code in the form of objects. A class library contains one or more classes that can be called on to perform specific actions. This walkthrough shows how to create a class library project in C# and incorporate it into a Web application project.

In order to complete this walkthrough, you will need:
  • The .NET Framework version 3.5.
  • The SP1 release of Visual Web Developer 2010 Express.
The following procedures build upon each other. Therefore, you must follow the order of the procedures to successfully complete this walkthrough.

Creating the Class Library Project

To create the CDemoLib class library and the Customer class file

1.      On the File menu, select New Project to open the New Project dialog box.
2.      In the list of Windows project types, select Class Library, and then type CDemoLib in the Name box.
3.      In Solution Explorer, right-click CDemoLib and then click Properties.
Notice that the Default namespace box contains CDemoLib. The root namespace is used to qualify the names of class in the assembly. For example, if two assemblies provide class named Customer, you can specify the Customer class by using CDemoLib.Customer.
Close the properties window.
4.      In Solution Explorer, right-click CDemoLib, click Add, and then click Class.
The Add New Item dialog box is displayed.
5.      Type Customer.cs in the Name box and then click Add to create the class.
A class named Customer is added to your class library.
6.      In Solution Explorer, right-click Class1.cs and then click Delete.
This deletes the default class that is provided with the class library, because it will not be used in this walkthrough.
7.      In the File menu, click Save All to save the project.

Creating the Class

Constructors control the way your class is initialized. Properties are values of the class that you can get and set. In Visual C#, all constructors have the same name as the class.

To add code to define the Customer class

·         In the code editor, replace the existing code with the following code to define the Customer class in the CDemoLib class library.
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 namespace CDemoLib
{
    public class Customer
    {
        private int _age;
        private string _name;
         public Customer()
        {
            Age = 0;
            Name = "Not available";
        }
         public int Age
        {
            get { return _age; }
            set { _age = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
    }
}

Adding the Class Library to a Web Application Project

To test the class, you must have a project that uses it. This project must be the first project that starts when you run the application.

To add the CDemoTest Web Application project as the startup project for the solution

1.      In the File menu, click Add and then click New Project.
The Add New Project dialog box is displayed.
2.      Under Project types, expand Visual Basic or Visual C#, and then click Web to display available Web templates.
3.      In the Templates box, select ASP.NET Web Application.
4.      In the Name box, type CDemoTest as the name of the new application.
5.      Click OK.
creates the Web application project in the existing solution.
In order to use the Customer class, the client test project must have a reference to the class library project. After you add the reference, it is a good idea to add a using statement in C# (an Imports statement in Visual Basic) to the test application to simplify the use of the class.

To add a reference to the class library project

1.      In Solution Explorer, right-click the References node underneath CDemoTest, and then click Add Reference.
2.      In the Add Reference dialog box, select the Projects tab.
3.      Double-click the CDemoLib class library project. CDemoLib will appear under the References node for the CDemoTest project.
4.      In Solution Explorer, right-click Default.aspx and then click View Code.
Adding the reference to CDemoLib lets you use the fully qualified name of the Customer class, which is CDemoLib.Customer.

To add a using or Imports statement

·         Add the following using statement (Imports in Visual Basic) at the top of the code editor window for the Default.aspx page.
C#
using CDemoLib;
·         Adding this statement lets you omit the library name, and refer to the class type as Customer.

Using the Class from the Class Library

The CDemoTest Web application will call the class that is contained in the class library and display the results.

To add code to create and use a Customer object

1.      In Solution Explorer, right-click Default.aspx and select View Designer.
2.      From the Standard tab of the Toolbox, drag a Label control onto the design surface.
3.      Double-click the design surface to display the Page_Load event handler.
4.      In the Page_Load event handler add the following code:
C#
Customer myCustomer = new Customer();
myCustomer.Name = "Alex Jendar";
myCustomer.Age = 30;
Label1.Text = "Name: " + myCustomer.Name +
    "<br/>Age: " + myCustomer.Age.ToString();
5.      In the File menu, click Save All to save the solution.

To run and debug the CDemoTest project

1.      Press CTRL+F5 to start the solution.
Notice that the Customer class properties are automatically displayed in the label control.
2.      Close the browser window to return to the development environment.


Read more ...

Tuesday, 20 October 2015

Posted by Venika Emy
No comments | 23:13
 <script>
            var otp_sent = 0;
            function get_otp() {
                return;
                if (otp_sent == 1) {
                    alert("OTP already sent........");
                    return;
                }
                var mobile_number_val = document.getElementById("mobile_number").value;
                var fid = "21";
                var did = "";
                var bid = "";
                otp_sent = 1;
                $.post("ajax_fucntion.aspx",
                {
                    function_id: fid,
                    contact_number: mobile_number_val
                },
                function(data, status) {
                    alert(data);
                }).fail(function(jqXHR, textStatus, errorThrown) {
                    alert("some error in submiting form plesase re-submit..");
                    _save.disabled = false;
                }); 

                //alert(mobile_number_val);
            }
        </script>                             
Read more ...

Saturday, 1 November 2014

Posted by Venika Emy
No comments | 03:53
To print a statement, you can use alert or console.log.
alert("prosourcecode");
console.log("prosourcecode");
Semicolon can be omitted most of the time, but you should always add a semicolon, because if you don't, the compiler sometimes will get it wrong, resulting hard-to-find bugs.
Read more ...
Posted by Venika Emy
No comments | 03:39
This page will quickly get you started on JavaScript the language. You need to have basic understanding of the language before you can script the DOM/web.

Running JavaScript

To evaluate a piece of JavaScript code, you need to call it in a HTML file and view the file in browser.

Here's how to embed JavaScript into HTML. If you just have few lines of code, do:
If you have more than a few lines of code, put them in a file, and call it like this:

Use Browser's Web Developer Console:

In Google Chrome: 〖Tools ▸ JavaScript Console〗 .
In Firefox: 〖Tools ▸ Web Developer ▸ Web Console〗.
In Safari: 〖Develop ▸ Show Error Console〗.
In Internet Explorer 9: 〖Tools ▸ F12 Developer Tools〗.

Using node.js

Another good way to run JavaScript code is node.js. With node.js, you can run JavaScript like shell scripts in terminal.
On Linux, install by sudo apt-get install nodejs. Or get it at http://nodejs.org/.
You can run it interactively. Type node to start the interactive prompt. Type Ctrl+d to exit.
You can also run it as shell script. Save a JavaScript code in a file  “myscript.js”. Then, you can run the script in shell like this: node myscript.js.
Read more ...

Sunday, 19 October 2014

Posted by Venika Emy
No comments | 22:55
Project Description: Tic-tac-toe game or Noughts and crosses (Xs and Os) game is a paper-and-pencil game of 2 players, in which Player1 put X and Player2 put O, marking the areas inside a 3×3 matrix. The player who succeeds in putting 3 various marks during a horizontal, vertical, or diagonal row wins the sport. This is a C++ project focus on logical algorithm to play and win game and a simple without graphics, text based game.

Tic Tac Toe or Noughts and crosses Game

The simplicity of tit-tat-toe makes it ideal as a pedagogic tool for teaching the ideas of excellent equity and therefore the branch of computing that deals with the looking of game trees. It’s easy to put in writing a worm to play tit-tat-toe dead, to enumerate the 765 basically totally different positions, or the 26,830 doable games up to rotations and reflections on this game area.

download
Read more ...

Wednesday, 15 October 2014

Posted by Venika Emy
No comments | 09:30
Project Description: This project is used to send bulk mails without spamming to promote your products and services. You can send thousands mail using this tool, all mailing address stored in local database and bind with dataGridView data control. Mail marketing or bulk mailing tool send one by one mail and pick mail address for datagridview which import mail addresses from local database. Mail marketing project created in .net framework 3.5 using c sharp language.

Mail Marketing Windows Form Project in C Sharp

Features of Mail Marketing Project:
  • Send thousands of mail on one click.
  • DataGridView Control to bind database on runtime.
  • Used local database to store mail addresses.
  • Protected for mass mailing or spamming.
  • Easy to manage controls and database.
  • Secure app.config file.
download
ProSoureCode:

To Bind Database:
  private void Form1_Load(object sender, EventArgs e)
        {
            DataTable dT;
            BindingSource bS;

            using (SqlCeConnection con = new SqlCeConnection("Data Source=|DataDirectory|\\Database1.sdf"))
            {
                dT = new DataTable();
                bS = new BindingSource();
                string query = "SELECT * FROM mailinglist";
                SqlCeDataAdapter dA = new SqlCeDataAdapter(query, con);
                SqlCeCommandBuilder cBuilder = new SqlCeCommandBuilder(dA);
                dA.Fill(dT);
                bS.DataSource = dT;
                dataGridView1.DataSource = bS;
            }
           
        }

To Send Mails:
   private void button1_Click(object sender, EventArgs e)
        {
            foreach (DataGridViewRow row in this.dataGridView1.Rows)
            {

                var email = row.Cells[2].Value.ToString();
        try
        {
            SmtpClient client = new SmtpClient("smtp.gmail.com");
            client.Port = 587;
            client.EnableSsl = true;
            client.Timeout = 100000;
            client.DeliveryMethod = SmtpDeliveryMethod.Network;
            client.UseDefaultCredentials = false;
            client.Credentials = new NetworkCredential("your mail address", "your mail password");
            MailMessage msg = new MailMessage();
            msg.To.Add(email);
            msg.From = new MailAddress("your mail address");
            msg.Subject = textBox1.Text;
            msg.Body = richTextBox1.Text;
            client.Send(msg);
            MessageBox.Show("Successfully Sent Message.");
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.Message);
        }
   
            }
        }

    
      
    }

Read more ...

Tuesday, 14 October 2014

Posted by Venika Emy
No comments | 10:03
Project Description: Auto Bookmark and SEO Optimizer windows application project is used for auto linking of your site or blog to high page rank sites. This tool ping your site or blog more than 100 sites to check SEO, backlinks, keyword density, bed neighborhood etc. and Analysis html, quality, whois, trustworthiness, CSS, DAML, hCard, JSON validator, W3C link, WCAG 1.0 etc. and accessibility, site network  performance and sites security factors, performance and more, and provide real time view using webBrowser control.  This project build in .net framework 3.5 using c sharp language.

Auto Bookmark and SEO Optimizer Windows Form

Features of Auto Bookmark and SEO Optimizer Project:
  • Instant Backlining.
  • Real Time control.
  • Check Site or blog Performance.
  • Check all W3C validator.
  • Check Meta data and other SEO factors.
  • Check site or blog network performance.
  • Check site security factors.
  • Check site info, grader and review etc.
download

This project containing solution file and form files not setup file, you can request it for $5.


After completing of all submissions, Google index your site or blog within 24 hours. As a result you can see snapshot below:
Google index

Read more ...

About Us

We provide excellent programming solutions & supports in an easy ongoing development environment.
Sitemap