Questions and Answers

The day is over, or it isn’t? At 1.40 AM, fully awake and alert I sit in my room with a plan to push harder and further in this struggle to be on top of things.
It was rather a long day with less classes and more work of running around for projects and presentations. Sitting back, I think, could it be any different for me? Or could it be any better for me?
But then, do these answers really matter? Is it the rush and the race that is more important or is it the moments we stop at junctures to take a look around and enjoy the scenery?

Questions are not always supposed to be answered, for sometimes the answers are the questions themselves. All this may sound too gibberish, but every word has been written thoughtfully. Hope you grasp the message.

Question everything, but there is no need to find answers for every question…

Advertisements

3 thoughts on “Questions and Answers

  1. hi ankur ,
    this is vipipn vishnoi.actually i have a problem regarding use a method in C# .
    actually problem is like that…
    i have method which i have taken from internet .this is in C# Basiccaly it a method to zip multiple file but i m anable to imlement it can u tell me how i can use it with my project .

    i m sending this code to but reply me soon …..
    plz its urgent

    thanks..

    that code is……………

    CompressFile(@”C:\ABC.doc”);

    It will zip the file as ABC.zip

    private string CompressFile(string strFilePath) {
    Crc32 objCrc32 = new Crc32();
    string strTextFile = strFilePath;
    string strFileName = Path.GetFileNameWithoutExtension(strFilePath);
    string strRootPath = Path.GetDirectoryName(strFilePath);
    ZipOutputStream myZipOutput = new ZipOutputStream(File.Create((strRootPath + (“\\”
    + (strFileName + “.zip”)))));
    // myZipOutput.SetLength(6)
    FileStream sFile = File.OpenRead(strTextFile);
    Int32 nFileStreamLength = Convert.ToInt32(sFile.Length);
    byte[,] buffer;
    sFile.Read(buffer, 0, buffer.Length);
    ZipEntry newEntry = new ZipEntry(Path.GetFileName(strTextFile));
    newEntry.DateTime = DateTime.Now;
    newEntry.Size = sFile.Length;
    sFile.Close();
    objCrc32.Reset();
    objCrc32.Update(buffer);
    newEntry.Crc = objCrc32.Value;
    myZipOutput.PutNextEntry(newEntry);
    myZipOutput.Write(buffer, 0, buffer.Length);
    myZipOutput.Flush();
    myZipOutput.Close();
    return (strRootPath + (“\\”
    + (strFileName + “.zip”)));
    }

    plz reply soon

    With Regards
    vipin vishnoi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s