IIS ASP - Problems with GetDetailsOf and SP2

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > March 2007 > Problems with GetDetailsOf and SP2





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems with GetDetailsOf and SP2
Russell Pacy

2007-03-18, 7:16 pm

Hi,

I wonder if anyone has any pointers with this one ... pre SP2 I was forced
to uninstall the KB908531 update, as it seemed to break GetDetailsOf ...
course now SP2 is out, this is no longer an option...

I used GetDetailsOf to read the extended properties of jpg and gif files to
allow people to tag them and display them in a gallery - this had the
advantage that people didn't have to keep 2 sources up-to-date and made it a
little easier for people to update their images without assitance.

To verify the problem, I used the following example code from Microsoft:


<%@ LANGUAGE="VBScript" %>

<%

Dim arrHeaders(35)
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("e:\gallery\test\thumbnail")

For i = 0 to 33
arrHeaders(i) = objFolder.GetDetailsOf(objFolder.Items, i)
Next

For Each strFileName in objFolder.Items
For i = 0 to 33
response.write i & vbtab & arrHeaders(i) _
& ": " & objFolder.GetDetailsOf(strFileName, i) & "<br>"
Next

response.write "<br><hr><br>"

Next


%>


Using the extended properties, I could set an author, subject and title on
the file, and read it using GetDetailsOf - post KB908531, GetDetailsOf only
returns the 1st 8 entries in the file - the extended properties are no
longer visable.

I gather that this update adds an executable called Verclsid.exe ... this
may be the culprit, but I'm at a loss how to fix it.

Any suggestions gratefully received...



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com