Using ConvertReportToPDF (Stephen Lebans) with Vista

O

ondinesh

Hi

Is anyone having problems with this on Vista machines? It works
perfectly with xp/Windows Server 2003 but when I use it on Vista it
crashes Access (2000, 2003, 2007). Interestingly, the pdf DOES get
created but Access throws up a 'Microsoft Access for Windows has
stopped working' message and I have to close it.

The line of code where the problem arises is:
blRet = ConvertUncompressedSnapshot(mUncompressedSnapFile, sOutFile, _
CompressionLevel, PasswordOwner, PasswordOpen, PasswordRestrictions,
PDFNoFontEmbedding)

Which runs a function in the strStorage.dll file. I've downloaded the
most up to date dll's to no avail.

Any ideas? I would be very grateful for any help here, this facility
is so useful I really need to solve this.

Many thanks.

Ondine.
 
O

ondine

Hi

Is anyone having problems with this on Vista machines?  It works
perfectly with xp/Windows Server 2003 but when I use it on Vista it
crashes Access (2000, 2003, 2007).  Interestingly, the pdf DOES get
created but Access throws up a 'Microsoft Access for Windows has
stopped working' message and I have to close it.

The line of code where the problem arises is:
blRet = ConvertUncompressedSnapshot(mUncompressedSnapFile, sOutFile, _
CompressionLevel, PasswordOwner, PasswordOpen, PasswordRestrictions,
PDFNoFontEmbedding)

Which runs a function in the strStorage.dll file.  I've downloaded the
most up to date dll's to no avail.

Any ideas?  I would be very grateful for any help here, this facility
is so useful I really need to solve this.

Many thanks.

Ondine.

I think I may have solved my own problem. I installed the updated
dll's (updated 2009) and this is what caused the problem. Using the
original dll's (2006) seems to work - if anyone has the same problem.

Ondine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top