Click here to Skip to main content
16,010,650 members
Home / Discussions / Web Development
   

Web Development

 
Questiontransmit audio from a microphone Pin
darkasecas26-Sep-05 10:26
darkasecas26-Sep-05 10:26 
QuestionDropdownList Pin
Illegal Operation25-Sep-05 20:06
Illegal Operation25-Sep-05 20:06 
AnswerRe: DropdownList Pin
gokul7825-Sep-05 20:47
gokul7825-Sep-05 20:47 
GeneralRe: DropdownList Pin
Illegal Operation26-Sep-05 0:14
Illegal Operation26-Sep-05 0:14 
GeneralRe: DropdownList Pin
Brian Van Beek26-Sep-05 10:59
Brian Van Beek26-Sep-05 10:59 
QuestionPlease give me a way for display pictures which store in DB Access 2003 by "OLE object"? Pin
tuyenhnp25-Sep-05 18:44
tuyenhnp25-Sep-05 18:44 
AnswerRe: Please give me a way for display pictures which store in DB Access 2003 by "OLE object"? Pin
Guffa25-Sep-05 22:48
Guffa25-Sep-05 22:48 
QuestionRe: Please give me a way for display pictures which store in DB Access 2003 by Pin
tuyenhnp25-Sep-05 22:57
tuyenhnp25-Sep-05 22:57 
Thank you!
I created the script alow:

<%<br />
response.Expires = 0<br />
response.Buffer = TRUE<br />
response.Clear<br />
<br />
Dim rsImage<br />
Dim intImageID <br />
Dim conn<br />
<br />
intImageID = Clng(Request.QueryString("ImageID"))<br />
<br />
<br />
Dim strSQL<br />
<br />
strSQL = "SELECT * FROM Images WHERE id_image = " & intImageID <br />
Set rsImage = Server.CreateObject("ADODB.Recordset")<br />
Set conn = Server.CreateObject("ADODB.Connection")<br />
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("Database/BSGWebsite.mdb")<br />
rsImage.Open strSQL, conn<br />
<br />
Response.ContentType = "image/jpeg"<br />
<br />
Response.BinaryWrite rsImage("image")<br />
<br />
response.End<br />
rsImage.Close<br />
Set rsImage = Nothing <br />
%>


but I get a error. This error is "The image http://localhost/BSGWebsite/myImageSource.asp?ImageID=3” cannot be displayed, because it contains errors."

I tested and saw The error is happened at "Response.ContentType = "image/jpeg"" line.

I using the "Mozilla FireFox" browser.
Please, advice me. Thanks

-- modified at 5:07 Monday 26th September, 2005
AnswerRe: Please give me a way for display pictures which store in DB Access 2003 by Pin
Guffa26-Sep-05 1:09
Guffa26-Sep-05 1:09 
Questionhow i run the avi file in asp Pin
basant_kpg25-Sep-05 18:08
basant_kpg25-Sep-05 18:08 
AnswerRe: how i run the avi file in asp Pin
Vasudevan Deepak Kumar26-Sep-05 1:27
Vasudevan Deepak Kumar26-Sep-05 1:27 
GeneralRe: how i run the avi file in asp Pin
basant_kpg26-Sep-05 5:32
basant_kpg26-Sep-05 5:32 
QuestionChanging my career path Pin
hasanali0025-Sep-05 13:50
hasanali0025-Sep-05 13:50 
AnswerRe: Changing my career path Pin
Member 227812126-Sep-05 8:53
Member 227812126-Sep-05 8:53 
GeneralRe: Changing my career path Pin
hasanali0027-Sep-05 4:53
hasanali0027-Sep-05 4:53 
QuestionJavascript program detect Pin
matty78645425-Sep-05 6:46
sussmatty78645425-Sep-05 6:46 
AnswerRe: Javascript program detect Pin
Guffa25-Sep-05 11:28
Guffa25-Sep-05 11:28 
QuestionConversion of a win form control to a web form control Pin
gridarnv24-Sep-05 21:15
gridarnv24-Sep-05 21:15 
GeneralRe: Conversion of a win form control to a web form control Pin
Guffa24-Sep-05 22:09
Guffa24-Sep-05 22:09 
QuestionHow to download images after page load Pin
ihsany.com24-Sep-05 0:22
ihsany.com24-Sep-05 0:22 
AnswerRe: How to download images after page load Pin
Guffa24-Sep-05 0:30
Guffa24-Sep-05 0:30 
GeneralRe: How to download images after page load Pin
ihsany.com24-Sep-05 0:57
ihsany.com24-Sep-05 0:57 
GeneralRe: How to download images after page load Pin
Guffa24-Sep-05 8:36
Guffa24-Sep-05 8:36 
GeneralRe: How to download images after page load Pin
Vasudevan Deepak Kumar26-Sep-05 1:36
Vasudevan Deepak Kumar26-Sep-05 1:36 
GeneralRe: How to download images after page load Pin
Guffa26-Sep-05 2:12
Guffa26-Sep-05 2:12 

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.