Click here to Skip to main content
15,891,976 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Have annoying problem with formatting of hand-made tab control Pin
Richard MacCutchan12-Feb-10 22:37
mveRichard MacCutchan12-Feb-10 22:37 
GeneralRe: Have annoying problem with formatting of hand-made tab control Pin
alexandis13-Feb-10 18:13
alexandis13-Feb-10 18:13 
GeneralRe: Have annoying problem with formatting of hand-made tab control Pin
Richard MacCutchan13-Feb-10 21:41
mveRichard MacCutchan13-Feb-10 21:41 
GeneralRe: Have annoying problem with formatting of hand-made tab control Pin
alexandis14-Feb-10 1:27
alexandis14-Feb-10 1:27 
QuestionCertain Flash banner development tips Pin
Honoy10-Feb-10 23:00
Honoy10-Feb-10 23:00 
QuestionNetwork Identification Card( NIC) restricted web-pages Pin
mir_ashraf_ali10-Feb-10 20:30
mir_ashraf_ali10-Feb-10 20:30 
Questionfiledownloadproblem(ASP) Pin
rajiv_kadam10-Feb-10 19:58
rajiv_kadam10-Feb-10 19:58 
AnswerRe: filedownloadproblem(ASP) Pin
T M Gray12-Feb-10 7:38
T M Gray12-Feb-10 7:38 
First I would suggest getting rid of all commented out code before posting. It makes it much easier for other people to read and understand what is going on in your code.

You are setting the content type but then you are doing a response.write of a piece of text that happens to be a URL. So all of the "downloaded" files will just be text files with a URL in them. Since it seems the videos are stored on your web server and not in the database, there is no need to set the content type. Just redirect to the URL of the video itself. The web server will set the content type automatically.

OpenDataBase conn
id=request("id")
sql="select * from newsvideo where newsid=" & id
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
if obj.eof<>true then
response.redirect "http://www.bigbonenews.net/videos/" & obj("videoname") 
else
response.write "Video not found"
end if
obj.close

QuestionProblem accessing QueryString [modified] Pin
sduffield10-Feb-10 9:19
sduffield10-Feb-10 9:19 
AnswerRe: Problem accessing QueryString Pin
thatraja10-Feb-10 18:41
professionalthatraja10-Feb-10 18:41 
GeneralRe: Problem accessing QueryString Pin
sduffield11-Feb-10 10:06
sduffield11-Feb-10 10:06 
AnswerRe: Problem accessing QueryString Pin
Nilesh Hapse10-Feb-10 20:06
Nilesh Hapse10-Feb-10 20:06 
AnswerRe: Problem accessing QueryString Pin
thatraja10-Feb-10 20:24
professionalthatraja10-Feb-10 20:24 
GeneralRe: Problem accessing QueryString Pin
Nilesh Hapse10-Feb-10 20:28
Nilesh Hapse10-Feb-10 20:28 
GeneralRe: Problem accessing QueryString [modified] Pin
thatraja10-Feb-10 23:04
professionalthatraja10-Feb-10 23:04 
GeneralRe: Problem accessing QueryString Pin
sduffield11-Feb-10 10:07
sduffield11-Feb-10 10:07 
QuestionPersonal website engine recommendation. Pin
Giorgi Dalakishvili10-Feb-10 7:34
mentorGiorgi Dalakishvili10-Feb-10 7:34 
QuestionLocations of aspnet files on Windows 7 Pin
Richard Jones10-Feb-10 6:23
Richard Jones10-Feb-10 6:23 
Questionput_innerText / CHTMLView::PutProperty Pin
GBrook10-Feb-10 5:51
GBrook10-Feb-10 5:51 
AnswerRe: put_innerText / CHTMLView::PutProperty Pin
GBrook11-Feb-10 4:53
GBrook11-Feb-10 4:53 
QuestionAccess Web application using IP from others system(In Office)... Pin
spalanivel9-Feb-10 2:28
spalanivel9-Feb-10 2:28 
QuestionEmbedding Flash Version 10 Pin
Paul McGann9-Feb-10 2:00
professionalPaul McGann9-Feb-10 2:00 
QuestionProblem after deployment. Pin
rksdev9-Feb-10 1:17
rksdev9-Feb-10 1:17 
Questionexporting to excel Pin
mabrahao8-Feb-10 8:34
mabrahao8-Feb-10 8:34 
AnswerRe: exporting to excel Pin
Gaurav Dudeja India8-Feb-10 20:15
Gaurav Dudeja India8-Feb-10 20:15 

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.