Little problem with Lebans Print to PDF facility

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I am using Lebans facility to print a snapshot to PDF (it works like a charm
on my computer, thanks very much to Stephen Lebans...).
But now a few of my users complain that they get the message

"Sorry...cannot find the DynaPDF.dll file"
even while they are SURE to have this file in the current directory AND in
the windows/system32 directory.

Does anyone have a clou what might cause this?

Thanks for help...
 
If the DynaPDF.DLL file is in the Windows\System32 folder or in the same
folder as the front end of your MDB than it would be impossible to generate
that error message. If they mistakenly placed the DLL in the Windows\System
folder than yes, this error would be generated.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi Stephen, (nice to talk to you, and thanks for your super work...)
Yes, i still do not understand either....
But i now found out that those same users are having other problems also
(trying to use a vba routine to browse the file system for instance that does
not work on their machine), so the problem is probably not in your soft (so
excuse me for thinking such a stupid thing :-)


But anyhow, i downloaded your new print to PDF (version 22 march) and on
testing it on my computer (where the older version did work super) ; it gives
me "Bad DLL calling convention" on the 'how to use' form.

Does that ring a bell?

thanks again,
 
The latest version of the StrStorage DLL has changed the calling convention
of the exposed function(s). I know it's not nice to do this and apologize
for the trouble. I did publicly refer to these earlier versions as BETA for
a reason and that was to allow me to change the functionality as required
prior to a production ready release.
All of this is documented in the comments with the source code and the
README form.

There will be a new release next week. No, the calling convention for the
exposed functions is now stable and will not change in the future releases
so as to cause incompatability issues.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Sorry Stephen,
The "Bad DLL calling convention" error was mine...
I forgot to copy the new dynaPDF.dll and StrStorage.dll to my
windows\system32 (where the old versions where still were present).
Maybe you could first look in the current front end directory and then in
the windows\system32 dir for those files; that would prevent stupid errors
like mine...??
 
Hi Stephen,
Thanks for your explaination...it was stupid of me not to read carefully
your instructions. In my previous post (that did nor arrive i think) i
suggested you first look for those files in the front end directory and then
when not found in windows\system32.

I have however still a problem with the 22 march release.....
The way i proceded to implement your new release is:
I deleted the old modules from my application and created 2 new modules.
Then i copied the integral text of your clsCommonDialog module into my new
one and named it as you did : clsCommonDialog. I did the same for the
ModReportToPDF module.
It works fine now, but....
I had to translate some texts into french and then i tried to compile it.
error: on the lines ......Set clsDialog = New clsCommonDialog
error: Compile error: "A module is not a valid type"

Yet another stupid error of me? Cannot find ou why, recompiling your
original modules does not give that error. ?!?
 
clsCommonDialog is a Class Module, not a regular module. When you're in the
VB Editor, you need to insert a Class Module, not a Module (you cannot do
this by selecting "New Module" from the database window)
 

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

Back
Top