Solved

Microsoft VBScript compilation error '800a03ee'

Posted on 2008-10-12
4
250 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 143

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 143

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding Datediff to staistics page 2 62
sql to convert to date IF entry is in date format 4 94
Call a function within the ASP code 4 19
Designing forms 3 19
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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