Wednesday, October 28, 2009

Have you seen date beyond 31 in a Professional site?????????

hi,

while searching a flight for my home town i found an interesting thing in a site, there were option to select the date which can never come like 32 october 2009,33 october 2009,34 october 2009 up to 36 October 2009.

how can a professional developer do a mistake like this..?????????????

please have a look... 32 October 2009

in the above link please check the Drop down for the Flight Status:option...



waiting for your comments







Thanks
Anil Kumar Pandey
System Architect, MVP
Mumbai, Maharshtra



Intresting new features of Windows 7

hi all,
have a look to the interesting new features of the windows 7, the latest operating system from windows. please follow the below line...



Thanks
Anil Kumar Pandey
System Architect, MVP
Mumbai, Maharshtra

Thursday, October 8, 2009

Downloading a file

Hello all,

here is the code for downloading any file from the specified location using the file stream.. Please refer the code for the same..

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim root As String = "C:\Inetpub\wwwroot\Test\"
Dim filepath As String = "C:\Inetpub\wwwroot\Test\Test.2.zip"
If File.Exists(filepath) And filepath.StartsWith(root) Then
Dim filename As String = Path.GetFileName(filepath)
Response.
Clear()
Response.
ContentType = "application/octet-stream"
Response.
AddHeader("Content-Disposition", "attachment; filename=""" & filename & """")
Response.
Flush()
Response.
WriteFile(filepath)

End If
End Sub

Thanks
Anil Kumar Pandey
System Architect, MVP
Mumbai, Maharshtra

Friday, October 2, 2009

On Top of the World Today!!!!!!

Hello everyone,
I am very happy to inform you all that i have got the Prestigious Microsoft MVP(Most Valuable Professional) award today.. I dont have words to explain my feeling right now, this is all my friends good wishes that i have got this award. i would thanks to all my friends who have supported me in each moment of my life...

you can see the announce lise here.. MVP


Thanks
Anil Kumar Pandey
System Architect
Mumbai, Maharshtra

Kontera