is it possible to develop a c program which gets the shell windows and fetches the address bar or internet explorer url or a unique id specific to a website .

solution solutin solution PLEASE

commented: you've got 78 posts and still you beg "solution solution solution PLEASE" ? haven't you learned yet? -1

waiting for your answer

I want the code to close all mozilla firefox windows
I have tried doing it using findwindow function and linkbutton with no success

Please provide me the solution

not allowing to surf anything in mozilla , so i want to close mozilla if somebody tries to open it.

I have to do this by coding it in visual basic.

I am having a form where in user enters their details and at the end
i am displaying an image and verification code ( which is 6 digit number and i am generating this by using rand function )

The only thing for which i need solution is i want the code to appear on the Image itself not to the side of the image , so how to bind this number to the image through code.

I dont want to make the label layout relative and put it on the image because at run time it gets displayed some where far from the image.

So please Tell me the solution /code .

commented: Urgent! -2

Hi here image is getting converted into binary and getting inserted into sqltable .

[B]Now I want the opposite of it i mean i want to retrieve the binary
data and display it as image.
[/B]

[code]protected void btnupload_Click(object sender, EventArgs e)
{

    // set temporary variable for database connection
    SqlConnection SqlCon = new SqlConnection("Data Source=localhost;Initial Catalog=ArjunPlastic;Uid=sa;Pwd=vagi0903");
    SqlCon.Open();

    string SQL = "INSERT INTO pictures (Filename,Picture) VALUES ('flower',@image)";
    SqlCommand SqlComm = new SqlCommand(SQL,SqlCon);

    SqlParameter parimage= new SqlParameter("@image", SqlDbType.Image);

    // convert image file to byte array and pass to sql parameter value
    parimage.Value = FileToByteArray("C:\\Documents and Settings\\Administrator\\Desktop\\4014_thumb.jpg");
    SqlComm.Parameters.Add(parimage);
    SqlComm.ExecuteNonQuery();

 }

    public byte[] FileToByteArray(string FileName)
    {
        byte[] Buffer = null;

        // Open file for reading
        FileStream FileStream = new FileStream(FileName,FileMode.Open,FileAccess.Read);

        // attach filestream to binary reader
        BinaryReader BinaryReader = new BinaryReader(FileStream);

        // get total byte length of the file
        long TotalBytes = new FileInfo(FileName).Length;

        // read entire file into buffer
        Buffer = BinaryReader.ReadBytes((Int32)TotalBytes);

        // close file reader
        FileStream.Close();
        FileStream.Dispose();
        BinaryReader.Close();   
        return Buffer;
    }[/code]
commented: I understand your homework is important but stop the duplicate posting. -1