hey i am trying to develop a mock website and in this i want to upload a word file which users can download or just open using "open" "save" or Cancel button on the dialog box. Please if any one could help me with the code.
Thank you.

I got the solution for my problem if any one who is facing this can use it. it worked for me

Dim filePath As String = System.IO.Path.GetFullPath("C:\inetpub\wwwroot\hiralfinalcv2.doc")
    Dim targetFile As System.IO.FileInfo = New System.IO.FileInfo(filePath)
    Dim objFileInfo As FileInfo
Try

            objFileInfo = New FileInfo(filePath)

            Response.Clear()

            Response.Cache.SetCacheability(System.Web.HttpCacheability.Private)

            Response.AddHeader("Content-Disposition", "attachment; filename=" & objFileInfo.Name)

            Response.AddHeader("Content-Length", objFileInfo.Length.ToString())

            Response.ContentType = "application/octet-stream"
            Response.WriteFile(filePath)
            Response.End()
        Catch ex As Exception
            'MsgBox("error")
        End Try