Solved

Microsoft VBScript compilation error '800a03ee'

Posted on 2008-10-12
4
247 Views
Last Modified: 2010-04-21
Hello,

tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/<%=(Recdelforfree.Fields.Item("zippypip").Value)%>")

This is what I have but I end up getting this error with the line of code. can any one let me know what i might be doing wrong.

Microsoft VBScript compilation error '800a03ee'

Expected ')'

/free_img_dl.asp, line 35

tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/<%=(Recdelforfree.Fields.Item("zippypip").Value)



cheers

K
0
Comment
Question by:thatelvis
  • 2
  • 2
4 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22696987
this should work better:
tfm_downloadStream.LoadFromFile Server.Mappath("uploadedimg/" & Recdelforfree.Fields.Item("zippypip").Value)

Open in new window

0
 
LVL 1

Author Comment

by:thatelvis
ID: 22697065
thank you angel I still get one more error

Response.AddHeader "Content-Disposition", "attachment; filename= Recdelforfree.Fields.Item("zippypip").Value


Microsoft VBScript compilation error '800a0401'

Expected end of statement

/free_img_dl.asp, line 40

Response.AddHeader "Content-Disposition", "attachment; filename= Recdelforfree.Fields.Item("zippypip").Value
--------------------------------------------------------------------------------------------^
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22697077

Response.AddHeader "Content-Disposition", "attachment; filename=" &  Recdelforfree.Fields.Item("zippypip").Value
0
 
LVL 1

Author Closing Comment

by:thatelvis
ID: 31505425
Your a gentleman have a  great sunday cheers.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Summer note focus on load 19 193
ASP Classic - Load test 2 33
API not working 33 48
Import csv files to MS SQL 5 61
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now