Am using StrStorage.dll & DynaPDF.dll
(Lebans tools) for creating PDF's. At most
sites, there are no glitches. However, I
have a problem at one site.
Just so happens its a site on which I mentioned
in another thread that, in spite of my having installed
a runtime application there, I'm apparently not
operating in a runtime environment, as the database
window will display with the right commands.
The Sorry...cannot find the DynaPDF.dll file message
I keep getting is in spite of the fact that the file
exists both in the system32 directory and the
app dir. Anyone set me straight on this? 6 14362
The DLL should reside in the same folder as the Front End of your app. If
you look through the code you will see it checks the current folder to see
if the DynaPDF DLL exists and if so calls LoadLibrary against it.
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"MLH" <CR**@NorthState.netwrote in message
news:1f********************************@4ax.com...
Am using StrStorage.dll & DynaPDF.dll
(Lebans tools) for creating PDF's. At most
sites, there are no glitches. However, I
have a problem at one site.
Just so happens its a site on which I mentioned
in another thread that, in spite of my having installed
a runtime application there, I'm apparently not
operating in a runtime environment, as the database
window will display with the right commands.
The Sorry...cannot find the DynaPDF.dll file message
I keep getting is in spite of the fact that the file
exists both in the system32 directory and the
app dir. Anyone set me straight on this?
I remember that part. And for all but one of the folks I've
recommended this to, it seems to follow exactly what you
said. But for one guy, he has it in the AppDir and even in
System32 - which, of course, is in the PATH. Still, the error
persists. So I'm thinking there might be something unusual
about his system causing this. Dunno.
On Fri, 17 Nov 2006 12:26:40 GMT, "Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.comwrote:
>The DLL should reside in the same folder as the Front End of your app. If you look through the code you will see it checks the current folder to see if the DynaPDF DLL exists and if so calls LoadLibrary against it.
On Fri, 17 Nov 2006 08:35:51 -0500, MLH <CR**@NorthState.netwrote:
So why don't you enhanve the error message to tell you where it looked
for the DLL, and where the AppDir is?
-Tom.
>I remember that part. And for all but one of the folks I've recommended this to, it seems to follow exactly what you said. But for one guy, he has it in the AppDir and even in System32 - which, of course, is in the PATH. Still, the error persists. So I'm thinking there might be something unusual about his system causing this. Dunno.
On Fri, 17 Nov 2006 12:26:40 GMT, "Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.comwrote:
>>The DLL should reside in the same folder as the Front End of your app. If you look through the code you will see it checks the current folder to see if the DynaPDF DLL exists and if so calls LoadLibrary against it.
On Fri, 17 Nov 2006 12:26:40 GMT, "Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.comwrote:
Stephen,
I haven't seen the code for DynaPDF, but why are you checking if it
exists, rather than allowing Windows to do what LoadLibrary normally
does, which includes checking for the DLL in various locations
(AppDir, CurDir, SystemDir, etc) in a defined order? Some might say:
so I can control which version is used. But then I say: not if you're
the second app and another copy of the library is already in memory.
If the OP wants that behaviour, he could just comment out the check
for existence, and the path part of the filename passed into
LoadLibrary.
-Tom.
>The DLL should reside in the same folder as the Front End of your app. If you look through the code you will see it checks the current folder to see if the DynaPDF DLL exists and if so calls LoadLibrary against it.
Hi Tom,
two reasons:
1) I would prefer the DLL be placed in the same folder as the front end
MDB/MDE. For XP and later, MS strongly suggest this course of action.
2) The behaviour of which and what order WIndows searches is different
across all of the windows versions.
For the last several months, I have been receiving on average, 3 - 5 EMail
requests a day for help with my ReportToPDF solution. In 90% of the cases,
users do not follow my instructions for locating the DyanPDF DLL.
I'm just trying to reduce Tech support requests.
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tom van Stiphout" <no*************@cox.netwrote in message
news:ch********************************@4ax.com...
On Fri, 17 Nov 2006 12:26:40 GMT, "Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.comwrote:
Stephen,
I haven't seen the code for DynaPDF, but why are you checking if it
exists, rather than allowing Windows to do what LoadLibrary normally
does, which includes checking for the DLL in various locations
(AppDir, CurDir, SystemDir, etc) in a defined order? Some might say:
so I can control which version is used. But then I say: not if you're
the second app and another copy of the library is already in memory.
If the OP wants that behaviour, he could just comment out the check
for existence, and the path part of the filename passed into
LoadLibrary.
-Tom.
>>The DLL should reside in the same folder as the Front End of your app. If you look through the code you will see it checks the current folder to see if the DynaPDF DLL exists and if so calls LoadLibrary against it.
Makes sense to me, your objective. In my case, I have
it in two places ==didn't really expect that to remedy
the issue. But hey, one never can tell.
Could it be that my runtime installation there is complicated
by the fact that the user also runs retail version of A97 on
his machine? I even tried putting the dll in c:\program files\
Microsoft Office\ there with the msAccess.exe file. Didn't
help me. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: michael_hk |
last post by:
Hi,
I am learning .NET remoting and following the tutorial
http://www.csharphelp.com/archives2/archive460.html
Everything works fine.
Now I want to modify it a bit for my personal use but...
|
by: L Mehl |
last post by:
Hello --
Fairly often, but not always, when I start the app by clicking the mdb or an
icon set up to start it, I get the message
"Cannot find the file 'c:\path...\dbname.mdb' ...."
and...
|
by: SampathTangudu |
last post by:
Hi,
We are trying to use the Hash Tables for passing information from one aspx
page to another aspx page. We are using the below code.
IsolatedStorageFile isoStore =...
|
by: Michael |
last post by:
I am running a web server (IIS) on Windows 2003 SP 1. My ASP.NET C#
applications run fine. However, my application is a combination of Classic
ASP and C#. For some reason when you attempt to...
|
by: chanmm |
last post by:
Dear all,
I have run the same web application in my Windows XP Pro without any problem
but once I deploy it in Windows 2003 Server the message below appear:
The system cannot find the file...
|
by: antonis |
last post by:
When I restarting my pc a warning appears with the error
cannot find the file C:\winnt\system32\1.tmp
Please advice me how can I solve this problem
Thanks
|
by: Ben |
last post by:
Hi
We have setup a Strong Name for our Applications, but are having problems
with the essembly throwing an error:
Error creating assembly manifest: Error reading key file...
|
by: Curious |
last post by:
Hi,
I'm not sure if this is the right place to post such command issues.
If you know a better forum where people respond to messages fairly
often, please let me know! Anyway, would appreciate...
|
by: bharathreddy |
last post by:
Hai,
In general why do we get the "This system cannot find the file specified". exception eventhough all the files used in the C# application are present.
Here in my application I am refering...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |