I am using the acrobat API to manipulate pdf files and all of the methods
seem to be working fine except the CreateThumbs() it always seems to return
false. The API says that it will return false if the thumbnails were not
created successfully or if the viewer does not support editing but I have
no problem editing other parts of the document. Can anyone help me here and
tell me perhaps why the following does not work?

Set pdDoc = CreateObject("AcroExch.PDDoc")

'Open the file entered by the user
openOk = pdDoc.Open(filename)
If Not openOk Then
error = vbCrLf & "Unable to open " & filename & " make sure the path
is correct"
Call ReportBack(error, STD_ERROR_HANDLE)
clean = False
Else
normal = vbCrLf & filename & " open, now creating thumbnails."
Call ReportBack(normal, STD_OUTPUT_HANDLE)
End If


'Create thumbnails of all the pages in the document
'catch errors and send error message
pgCount = pdDoc.GetNumPages

thumbsOk = pdDoc.CreateThumbs(0, pgCount)
If Not thumbsOk Then
error = vbCrLf & "ERROR: Unable to create Thumbnails"
Call ReportBack(error, STD_ERROR_HANDLE)
clean = False
Else
normal = vbCrLf & "Thumbnails created successfully, now updating
properties."
Call ReportBack(normal, STD_OUTPUT_HANDLE)
End If