-
response.clear
response.write("bmpconv5.asp?userid=1&Lat1=<%topleftx%>&Lat2=<%toplefty%>&Lat3=<%brightx%>&Lat4=<%br ight
y%>&Lon1=<%msh%>&Lon2=<%msw%>")
response.clear response.write("bmpconv5.asp?userid=1&Lat1=
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'toplefty'
/yeomanlocal/geo2.asp, line 145
Dont no what is causing this problem?
help?
-
do not use the ASP script delimiters (<%) when you are already inside the ASP script delimiter tags (you have to be to use response.write...)
change this:
response.write("bmpconv5.asp?userid=1&Lat1=<%topleftx%>&Lat2=<%toplefty%>&Lat3=<%brightx%>&Lat4=<%br ight
y%>&Lon1=<%msh%>&Lon2=<%msw%>")
to this:
response.write("bmpconv5.asp?userid=1&Lat1=" & topleftx & "&Lat2=" & toplefty & "&Lat3=" & brightx & "&Lat4=" & brighty & "&Lon1=" & msh & "&Lon2=" & msw)