Converting a .pdf attachment to a .tif through LotusScript

Hi all

I must convert an attached .pdf file in a notes document to a .tif file, on a harddrive.

So, I gather what I should do is:

1- detach the .pdf to the harddrive

2- Create an Adobe session

3- launch the attachment in Adobe

4- Save the attachment from the Adobe session to a .tif file on the harddrive

So far, I have 1 and 2 covered. Just for reference, the code for 2 that I figured out was:

Dim adobeApp as Variant

Set adobeApp = CreateObject( “pdf.pdfctrl.5” )

But… to get it to open the attachment is a mystery. I have tried something like

dim adobeFile as Variant

set adobeFile = adobeApp.LoadFile(FileName$)

but no luck. Doesn’t work.

Please help.

Adeleida

PS: Sorry for the duplicate post in the 4&5 forum, but it is really urgent.