Using ConvertReportToPDF (Stephen Lebans) with Vista

  • Thread starter Thread starter ondinesh
  • Start date Start date
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.
 
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.
 
Back
Top