Click here to Skip to main content
15,902,853 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhelp needed in slideshow Pin
Pravin H19-Aug-06 22:32
Pravin H19-Aug-06 22:32 
AnswerRe: help needed in slideshow [modified] Pin
gnjunge20-Aug-06 0:53
gnjunge20-Aug-06 0:53 
GeneralRe: help needed in slideshow Pin
Pravin H20-Aug-06 21:38
Pravin H20-Aug-06 21:38 
GeneralRe: help needed in slideshow Pin
gnjunge20-Aug-06 22:59
gnjunge20-Aug-06 22:59 
QuestionSQL Server, Images and DataGrid in ASP.NET Pin
postmaster@programmingknowledge.com19-Aug-06 19:01
postmaster@programmingknowledge.com19-Aug-06 19:01 
AnswerRe: SQL Server, Images and DataGrid in ASP.NET Pin
Colin Angus Mackay19-Aug-06 21:27
Colin Angus Mackay19-Aug-06 21:27 
AnswerRe: SQL Server, Images and DataGrid in ASP.NET Pin
bgates197020-Aug-06 7:43
bgates197020-Aug-06 7:43 
QuestionWebClient Problems Pin
bgates197019-Aug-06 11:11
bgates197019-Aug-06 11:11 
I'm trying to open a server side MS-Word document and present it client side. I just want the word document to appear inside the browser or open up for viewing. When I run the code I'm prompted to "Open" or "Save" the file. If I "Save" the file it is the file that I requested but if I "Open" I get the following error: "This file could not be found. Try one or more of the following: * Check the spelling of the name of the document. * Try a different file name."

Code:
Dim _webClient As New System.Net.WebClient
Dim sURI aAs String = "file://C:\test.doc"
Dim theBuffer As Byte() = _webClient.DownloadData(sURI)
With Page.Response
.ClearContent()
.ContentType = "application/msword"
.AddHeader("content-disposition", "attachement;filename=test.doc")
.OutputStream.Write(theBuffer, 0, theBuffer.Length)
.End
End With
_webClient.Dispose()


bgates1970
AnswerRe: WebClient Problems Pin
Guffa19-Aug-06 13:28
Guffa19-Aug-06 13:28 
GeneralRe: WebClient Problems Pin
bgates197020-Aug-06 7:33
bgates197020-Aug-06 7:33 
GeneralRe: WebClient Problems Pin
Guffa20-Aug-06 14:01
Guffa20-Aug-06 14:01 
Questionhow to get the selected text in textarea Pin
largs19-Aug-06 10:23
largs19-Aug-06 10:23 
AnswerRe: how to get the selected text in textarea Pin
Coding C#20-Aug-06 20:27
Coding C#20-Aug-06 20:27 
Questionjavascript coding for onmouseover event [modified] Pin
bhushan thorat19-Aug-06 4:00
bhushan thorat19-Aug-06 4:00 
AnswerRe: javascript coding for onmouseover event Pin
bgates197019-Aug-06 11:18
bgates197019-Aug-06 11:18 
Questionhow to do this? Pin
Amit Agarrwal19-Aug-06 3:55
Amit Agarrwal19-Aug-06 3:55 
AnswerRe: how to do this? Pin
Colin Angus Mackay19-Aug-06 21:30
Colin Angus Mackay19-Aug-06 21:30 
Questionmenu generation Pin
omi9819-Aug-06 3:34
omi9819-Aug-06 3:34 
AnswerRe: menu generation Pin
Suresh Pirsquare19-Aug-06 4:59
Suresh Pirsquare19-Aug-06 4:59 
GeneralRe: menu generation Pin
omi9821-Aug-06 6:36
omi9821-Aug-06 6:36 
AnswerRe: menu generation Pin
postmaster@programmingknowledge.com19-Aug-06 8:04
postmaster@programmingknowledge.com19-Aug-06 8:04 
QuestionUnable to get the SelectedRow of WebCombo in VB .Net 2003 Pin
arvindbhateja19-Aug-06 2:55
arvindbhateja19-Aug-06 2:55 
QuestionProblem relating to Image Upload on webserver Pin
nabeelkhan18-Aug-06 23:40
nabeelkhan18-Aug-06 23:40 
AnswerRe: Problem relating to Image Upload on webserver Pin
postmaster@programmingknowledge.com19-Aug-06 2:16
postmaster@programmingknowledge.com19-Aug-06 2:16 
QuestionObtaining the total rows of a gridview Pin
HRiazi18-Aug-06 22:35
HRiazi18-Aug-06 22:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.