Forums
This topic is locked
error '800a01a8'
Posted 06 Mar 2004 22:36:32
1
has voted
06 Mar 2004 22:36:32 sander kerstens posted:
hi there,i get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: '[string: "/upload/115787464817/foto1.jpg"]'
/prifonet/example.asp, line 23
with this script...:
<%@LANGUAGE="VBSCRIPT"%>
<% Option Explicit %>
<!--#include file="asptar.asp"-->
<!--#include file="../Connections/prifo.asp" -->
<%
Dim fotos
Dim fotos_numRows
Set fotos = Server.CreateObject("ADODB.Recordset"
fotos.ActiveConnection = MM_prifo_STRING
fotos.Source = "SELECT * FROM orders"
fotos.CursorType = 0
fotos.CursorLocation = 2
fotos.LockType = 1
fotos.Open()
fotos_numRows = 0
%>
<%
Dim strfoto
Set strfoto = fotos.fields.item("fotonaamthumb".value
Dim objTar
Set objTar = New Tarball
objTar.AddMemoryFile "foto1.jpg",strfoto
objTar.WriteTar
%>
<%
fotos.Close()
Set fotos = Nothing
%>
all the help is very much apreciated
greetzzz Sander