Saturday, January 29, 2011

IP addresses of famous websites…….


IP addresses of famous websites…….

1.       Google.com  -  209.85.231.104 

2.       Microsoft.com –  207.46.170.123

3.       Yahoo.com - 72.30.2.43

4.       Facebook.com - 66.220.149.25

5.       Wikipedia.com - 208.80.152.2

6.       Dell.com - 143.166.83.38

7.       Twitter.com - 128.242.245.116



To find the ip addresses of websites....

1. Goto RUN (Press WINDOW KEY + R)

2. TYPE cmd

3. In the command prompt...
                                                     write ping [url of website]

                                                                      ex: ping www.google.com

Wednesday, January 26, 2011

PHP Simple Programs

Recommended Software: wamp server Click Here 2 Download wampserver !! 

Write code in Notepad

And save into www directory of wamp. You can find it from "c:\wamp\www".
Save your notepad file with .php extension...

For example "demo.php" and select "All files" from save as type and click on save button.

Program 1:


 Output:


100 is greater than 10


Program 2:

Output:

0
1
2
3
4
5
6
7
8
9
10

Author : Technology Stuff: At present 2 Upcoming



Saturday, January 22, 2011

First Flash Game

Click on the balloon............have fun...!!  




                                                               -Maulik Dave

PHP Program


 Output:


This is my first program
30

Friday, January 21, 2011

Next, Previoust......Button Coding in VB.NET

First Declare two variables n and mx.............

Dim n As Integer = 0
    Dim mx As Integer

Make one function for moving........

Public Sub next1()

        TextBox1.Text = ds.Tables(0).Rows(n).Item(0).ToString
        TextBox2.Text = ds.Tables(0).Rows(n).Item(1).ToString
        TextBox3.Text = ds.Tables(0).Rows(n).Item(2).ToString

    End Sub







Here, it will show 'n' th row's data and for first record n = 0 and for last data n = mx -1

MX means maximum data but data start indexing start with 0 so last data is n= mx-1


For first button........

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        cn.Open()
        n = 0

        next1()


        cn.Close()

    End Sub


For Last Button....

 Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
        cn.Open()
        mx = ds.Tables(0).Rows.Count
        n = mx - 1
        next1()

        cn.Close()


    End Sub

For Next Button.......

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
        cn.Open()
        mx = ds.Tables(0).Rows.Count
        If (n <> mx - 1) Then
            n = n + 1
            next1()

        Else
            MsgBox("This is your last data")

        End If

        cn.Close()

    End Sub


For Previous Data............

 Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        cn.Open()
        mx = ds.Tables(0).Rows.Count
        If (n <> 0) Then
            n = n - 1
            next1()

        Else
            MsgBox("This is your first data")

        End If
        cn.Close()

    End Sub

Thursday, January 20, 2011

OLEDB Coding for Techno Stuff Readers

Sorry Friends for being late but its beneficial to revise again...................
Specially Sandeep for YOU......: )

Create one database named emp and make one table emp which contains three coulmns like
id = datatype autonumeric
Name = TEXT
City= TEXT

First of all we have to imports the data and oledb in our coding section
Imports System.Data
Imports System.Data.OleDb

Then we have to declare connection object and dataset in global declaration area because we will need it in many private events like button's click event......

Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\emp.mdb") 

Dim ds As New DataSet 

Now place four textbox, eight buttons and one data-grid-view on design portion......

Now make one function which works for select query.........

Public Sub selectQuery()
        'We made one function for select query and will use it in every place where select query needed


        Dim adp As New OleDbDataAdapter("Select * from emp", cn)
        ds.Clear()
        adp.Fill(ds)


        DataGridView1.DataSource = ds.Tables(0)

    End Sub


First code for Inserting Data.......Double Click On Insert Button.........


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
       
        cn.Open()

        Dim cmd As New OleDbCommand("insert into emp (Name, City) values ('" &TextBox1.Text &"', '"& TextBox2.Text &"') ", cn)
        'we inserted data from textbox into emp table, we didnt included id because it's datatype is autonumeric

        cmd.ExecuteNonQuery()

        MsgBox("Data Inserted Successfully", MsgBoxStyle.Information, vbOK)

        selectQuery()

        DataGridView1.DataSource = ds.Tables(0)

        cn.Close()

    End Sub

Delete Query............
 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        cn.Open()

        Dim cmd As New OleDbCommand("Delete * from emp where id = " & TextBox1.Text & " ", cn)
        cmd.ExecuteNonQuery()

        selectQuery()

        cn.Close()
    End Sub

 

Update Query...............

 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        cn.Open()

        Dim cmd As New OleDbCommand("update emp set Name='" & TextBox2.Text & "' where id = " & TextBox1.Text & " ", cn)

        cmd.ExecuteNonQuery()

        selectQuery()


        cn.Close()

    End Sub



Search Button Coding......................

You can search from database by two way. We will see first method double click on search button.
and write below code.

  Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        cn.Open()

        Dim adp As New OleDbDataAdapter("Select * from emp where name='" & TextBox4.Text & "' ", cn)
        ds.Clear()
        adp.Fill(ds)

        DataGridView1.DataSource = ds.Tables(0)
        cn.Close()

    End Sub




Search with Text Changed Event.......
 
 Private Sub TextBox4_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox4.TextChanged
        cn.Open()

        Dim adp As New OleDbDataAdapter("Select * from emp where City like '" & TextBox4.Text & "%' ", cn)
        ds.Clear()
        adp.Fill(ds)

        DataGridView1.DataSource = ds.Tables(0)
        cn.Close()
    End Sub

We will see next, previous and last button coding in next article till then enjoy and read Technology Stuff at Present 2 Upcoming

Wednesday, January 19, 2011

Select Query

 Design:


Imports System.Data
Imports System.Data.OleDb


Public Class Form1

    Dim cn As New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\Maulik Dave\Documents\loginform.mdb")


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        cn.Open()

        Dim adp As New OleDbDataAdapter("Select * from tablogin where username= '" & TextBox1.Text & "' and password='" & TextBox2.Text & "' ", cn)
        Dim ds As New DataSet

        adp.Fill(ds)

        If (ds.Tables(0).Rows.Count > 0) Then

            Me.Hide()
            signup.Show()

        Else

            MsgBox("Program Failed")

        End If



        cn.Close()

    End Sub

End Class

Tuesday, January 18, 2011

PHP Tutorial

Introduction:
  • PHP is a powerful tool for making dynamic and interactive web pages. 
  • PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
  • PHP stands for Hypertext Preprocessor
  • PHP is a server side scripting language.
  • PHP supports many databases like MySQL, Informix, Oracle, Sybase, Solid etc.
  • PHP is an open source software
  • PHP is free to download and use

    Monday, January 17, 2011

    Different Desktop Environments on Linux

    Different Desktop Environments on Linux

    All computers are nothing without Operating Systems, much the same as the principle that power is nothing without control. Lamborghini could make the fastest car in the world next year, nothing coming even relatively close to it. However if they weld the doors closed and fill the whole cabin with cement, so there is no way to ever drive or operate the car, the whole entire thing is worthless. Think of this as a computer without an operating system, it’s a wild beast, waiting to be tamed. When you choose an OS not only are you establishing a whole “front-end” from which you can operate the computer, your pouring a little bit of yourself in it as well. Changing the color of the car, from my earlier metaphor if you will.
    There are a TON of things that happen when you install an OS, but you only see the graphical parts of it, the “graphical user interface” or GUI. Obviously, if that's the main thing your seeing, its fairly important to you on every level. Linux however, took this whole concept a step further, and established several “flavors” of GUI for your desktop on your Linux OS. Wikipedia describes a desktop environment as just that: A Desktop Environment (DE) commonly refers to a style of graphical user interface (GUI) derived from the desktop metaphor that is seen on most modern personal computers.
    This is very important, because if you’ve ever used Linux AT ALL, you know that choice is everything. It’s not about just using “what works” or “whats provided”, its about carving your own path based on precisely what YOU want. If you don’t like the way the taskbar functions on one particular distribution or “distro” of Linux, and you think that the support is poor and you could never see yourself using it, just choose a different one! It’s about having absolutely everything as close to tailor-made to your specific liking as you can, hence why desktop environments are so important.
    It’s the GUI, it’s what you will be looking at and toying with directly for hours and hours and hours, lets spend some time finding out what you want, and let’s do it right. The problem being that I really can’t just choose one for you, it’s not that easy. It’s purely aesthetics, it really is, however things like that do in fact matter when your spending that much time dealing with it. Listed below is a number of screenshots of different DE’s, or desktop environments, notice that the differences are minimal, but there is certainly is still a difference between each of them.
    Gnome, KDE, XFCE, and LXDE are just a few of Linux distro’s most popular DE’s, mostly just because they are the main ones. There is a direct correlation between the name of the DE and the distro of Linux that your using. If you look up things regarding Ubuntu, you will notice that it comes standard with the GNOME DE. However, if you look at Xubuntu, a different branch or “flavor” of Ubuntu, you might wonder what the difference between the two is. Sure enough, the X stands for the XFCE type DE that Xubuntu uses, meaning that you can deduce that Xubuntu is the same as Ubuntu, except with an XFCE DE, without even researching if you’d seriously want to try the distro or not you already know what DE it uses.

    Difference between Internal And External Command in Linux.


    Internal commands are the commands that are executed 
    directly by the shell. These commands will not have a 
    separate process running for each.
    External commands are the commands that are executed by the 
    kernal. These commands will have a process id running for 
    it.
    Internal Commands: Echo, CD
    External Commands: cat, ls

    Tuesday, January 11, 2011

    MULTIMEDIA QUESTION BANK

    TYPE 1: ONE WORD ANSWERS


    1. Combination of different media to communicate ideas 
         - Multimedia


    2. Art of producing movement to static objects
        - Animation


    3. Data which is stored in binary format ??


    4. A multimedia application which allows the user to interact in some way or other ??

    5. A methodology of teaching academic curriculum , in an interesting and entertaining manner ??

    6. Device which converts analog signal to digital signal
        - ADC (Analog to Digital Converter)


    7. The card which is used for graphic acceleration
       - Graphics Card


    8. The software used for installing and configuring multimedia peripherals ???

    9. The tools used for creating/editing digital multimedia data ??

    10. The tools which are used for encoding/decoding multimedia contents and for converting one file to another ??

    Monday, January 10, 2011

    Microsoft Surface Computer



    Microsoft Launches New Product Category: Surface Computing Comes to Life in Restaurants, Hotels, Retail Locations and Casino Resorts.
    Microsoft Surface Computing brings to life a whole new way to interact with information that engages the senses, improves collaboration and empowers consumers. By utilizing the best combination of connected
    software, services and hardware, Microsoft is at the forefront of developing surface computing products that push computing boundaries, deliver new experiences that break down barriers between users and technology, and provide new opportunities for companies to engage with people.
    First commercially available surface computer from Microsoft breaks down barriers and provides effortless interaction with information using touch, natural gestures and physical objects.




    Microsoft's definition of surface computing: direct interaction (for example, you might "dip" your finger on an on-screen paint palette, and then use your finger to draw on the screen); multi-touch contact, so the screen can react to multiple fingers and inputs simultaneously; multi-user experience, so multiple people can gather around and interact with the screen simultaneously; and object recognition, so the surface can recognize tagged objects and interact with them.

     

    Direct interaction. Users can actually “grab” digital information with their hands, interacting with content by touch and gesture, without the use of a mouse or keyboard. You can buy songs from a virtual music store and drag them directly into a Zune music player that you’ve placed on the glass. You can set a cellphone down on the table — and copy photos into it just by dragging them into the cellphone’s zone.




    Tabletop PC introduced at 'D: All Things Digital' conference will respond to touch commands from multiple users at once. Microsoft Surface is a "multi-touch" tabletop computer that interacts with users through touch on multiple points on the screen. The concept is simple: Users interact with the computer completely by touch, on a surface other than a standard screen.



    Multi-touch. Surface computing recognizes many points of contact simultaneously, not just from one finger like a typical touch-screen, but up to dozens of items at once.





    Multi-user. The horizontal form factor makes it easy for several people to gather around surface computers together, providing a collaborative, face-to-face computing experience.





    Object recognition. Users can place physical objects on the surface to trigger different types of digital responses, including the transfer of digital content.

    Saturday, January 8, 2011

    Multimedia Project Documentation



    Download the documentation of multimedia project and get reference from it. You should have RAR software to open this file. If you want to install RAR software click below and use it......


    This file is just example of previous year student's multimedia project. So try to make better than this one.