Stephen Lebans,
Thanks for all the help you've given me, but the solution has been found. I
found this article:
http://www.4guysfromrolla.com/webtech/060100-1.shtml and
was able to get the darn RTF data out from the database. Just in case people
can't get to the above article, here's the code that the article provided:
<%
'Step 1: Read in the employee ID from the querystring
Dim iEmployeeID
iEmployeeID = Request.QueryString("EmployeeID")
'Step 2: grab the picture from the database
Dim objConn, objRS, strSQL
strSQL = "SELECT Picture FROM Employee WHERE EmployeeID = " & iEmployeeID
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "DSN=EmployeeDatabase"
Set objRS = Server.CreateObject("ADODB.Recordset")
objRS.Open strSQL, objConn
'Step 3: Set the ContentType to image/jpeg
Response.ContentType = "image/jpeg"
'Step 4: Use Response.BinaryWrite to output the image
Response.BinaryWrite objRS("Picture")
'Clean up...
objRS.Close
Set objRS = Nothing
objConn.Close
Set objConn = Nothing
%>
I had to substitute this line of the code: objConn.Open
"DSN=EmployeeDatabase" with: objConn.Open "DRIVER={Microsoft Access Driver
(*.mdb)}; DBQ=" & Server.MapPath("dntProjects.mdb").
The output came out with some extra information in the header/footer, but
cleaning that up shouldn't be so hard. Hopefully this will help everyone
else who's having the same problem with pulling out the data that is stored
in a field with OLE Object data type!
Keep in mind the above code came from
http://www.4guysfromrolla.com/webtech/060100-1.shtml.
-mxiong