Click here to Skip to main content
16,005,120 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Javascript in popup Pin
Guffa31-Aug-05 21:09
Guffa31-Aug-05 21:09 
QuestionUSB. Camera & Windows Media . Pin
LEE_3451531-Aug-05 17:55
LEE_3451531-Aug-05 17:55 
QuestionOn load not visible Pin
macca2431-Aug-05 5:24
macca2431-Aug-05 5:24 
QuestionHotKeys for HREF links Pin
Daredeviljpr31-Aug-05 4:31
Daredeviljpr31-Aug-05 4:31 
AnswerRe: HotKeys for HREF links Pin
minhpc_bk31-Aug-05 16:07
minhpc_bk31-Aug-05 16:07 
AnswerRe: HotKeys for HREF links Pin
enjoycrack31-Aug-05 16:14
enjoycrack31-Aug-05 16:14 
AnswerRe: HotKeys for HREF links Pin
Vasudevan Deepak Kumar1-Sep-05 20:15
Vasudevan Deepak Kumar1-Sep-05 20:15 
QuestionUsing ASP to get an image from MS Access Pin
stevusuk30-Aug-05 23:18
stevusuk30-Aug-05 23:18 
I'm trying to get an image from an Access database (which is stored as an OLE Object type) to appear, on the fly, when the page is built using ASP.

My ASP page looks like this:

<%<br />
	var sProductId = Request("productId");<br />
	if (sProductId == null || sProductId == "")<br />
	{<br />
		Response.End();<br />
	}<br />
<br />
	// calls a function from an include file to get the recordset<br />
	var rsImage = getRsUsingParams("procProductImages", sProductId);<br />
	if (!rsImage.EOF)<br />
	{<br />
		Response.ContentType = "image/jpeg";<br />
		Response.BinaryWrite(rsImage("fullsizeImage").Value);<br />
	}<br />
	else<br />
	{<br />
		Response.End();<br />
	}<br />
	<br />
	rsImage.Close();<br />
	rsImage = null;<br />
%>



But what I get back is an empty image placeholder - no picture. Has any one any ideas about what is happening? All the necessary include files are included and when I try this function in isolation I don't get any errors.

HELP!!


stevus

e: stevusuk@yahoo.com

-- modified at 5:19 Wednesday 31st August, 2005
QuestionDisable &lt;script&gt; at runtime Pin
ali khan msc30-Aug-05 23:02
ali khan msc30-Aug-05 23:02 
GeneralRe: Disable &lt;script&gt; at runtime Pin
enjoycrack30-Aug-05 23:46
enjoycrack30-Aug-05 23:46 
AnswerRe: Disable &lt;script&gt; at runtime Pin
Guffa31-Aug-05 3:43
Guffa31-Aug-05 3:43 
GeneralRe: Disable &lt;script&gt; at runtime Pin
DavidNohejl31-Aug-05 4:16
DavidNohejl31-Aug-05 4:16 
GeneralRe: Disable &lt;script&gt; at runtime Pin
Guffa31-Aug-05 8:27
Guffa31-Aug-05 8:27 
GeneralRe: Disable &lt;script&gt; at runtime Pin
DavidNohejl31-Aug-05 8:36
DavidNohejl31-Aug-05 8:36 
AnswerRe: Disable &lt;script&gt; at runtime Pin
DavidNohejl31-Aug-05 4:19
DavidNohejl31-Aug-05 4:19 
QuestionAbout Microsoft Application center Pin
Md Saleem Navalur30-Aug-05 21:40
Md Saleem Navalur30-Aug-05 21:40 
QuestionLoading data through javascript Pin
totig30-Aug-05 19:27
totig30-Aug-05 19:27 
AnswerRe: Loading data through javascript Pin
Andy Brummer30-Aug-05 19:36
sitebuilderAndy Brummer30-Aug-05 19:36 
GeneralRe: Loading data through javascript Pin
totig30-Aug-05 19:41
totig30-Aug-05 19:41 
GeneralRe: Loading data through javascript Pin
Andy Brummer30-Aug-05 19:53
sitebuilderAndy Brummer30-Aug-05 19:53 
QuestionPlease help! Pin
Blue_Skye30-Aug-05 18:14
Blue_Skye30-Aug-05 18:14 
AnswerRe: Please help! Pin
Andy Brummer30-Aug-05 19:42
sitebuilderAndy Brummer30-Aug-05 19:42 
GeneralRe: Please help! Pin
Blue_Skye31-Aug-05 0:09
Blue_Skye31-Aug-05 0:09 
GeneralRe: Please help! Pin
NeverHeardOfMe31-Aug-05 7:38
NeverHeardOfMe31-Aug-05 7:38 
GeneralRe: Please help! Pin
Andy Brummer31-Aug-05 18:08
sitebuilderAndy Brummer31-Aug-05 18:08 

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.