N
navin
Hi,
I am using Leban's utility Report2PDF and it's working perfectly but
when i try to merge 2 pdf files, i get error "File not found:
strStorage.dll".
i have copied the 2 dll files in the same folder where i have the mdb
file and also copied in C:\Windows\system32 but i am still getting the
same error.
After reading one of the posts, i tried calling the loadlib function
before MergePDFDocument function, but error remains there.
Private Declare Function LoadLibrary Lib "kernel32" _
Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
Public Declare Function MergePDFDocuments Lib "StrStorage.dll" _
(ByVal PDFMaster As String, _
ByVal PDFChild As String _
) As Boolean
Private Sub cmdMerge_Click()
Dim blRet As Boolean
Dim ldLib As Boolean
' Call our Merge function
' Please note the PDF doc passed as the second param is merged into
the PDF doc passed as the first param.
' For testing purposes:
Dim sMaster As String
Dim sChild As String
sMaster = "C:\Documents and Settings\e366091\Desktop\Document8.pdf"
sChild = "C:\Documents and Settings\e366091\Desktop\Orders.pdf"
ldLib=Loadlib("strStorage.dll")
blRet = MergePDFDocuments(sMaster, sChild)
MsgBox "How did we do:" & blRet
End Sub
Please help in getting this error resolved.
Thank you very much.
Navin
I am using Leban's utility Report2PDF and it's working perfectly but
when i try to merge 2 pdf files, i get error "File not found:
strStorage.dll".
i have copied the 2 dll files in the same folder where i have the mdb
file and also copied in C:\Windows\system32 but i am still getting the
same error.
After reading one of the posts, i tried calling the loadlib function
before MergePDFDocument function, but error remains there.
Private Declare Function LoadLibrary Lib "kernel32" _
Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
Public Declare Function MergePDFDocuments Lib "StrStorage.dll" _
(ByVal PDFMaster As String, _
ByVal PDFChild As String _
) As Boolean
Private Sub cmdMerge_Click()
Dim blRet As Boolean
Dim ldLib As Boolean
' Call our Merge function
' Please note the PDF doc passed as the second param is merged into
the PDF doc passed as the first param.
' For testing purposes:
Dim sMaster As String
Dim sChild As String
sMaster = "C:\Documents and Settings\e366091\Desktop\Document8.pdf"
sChild = "C:\Documents and Settings\e366091\Desktop\Orders.pdf"
ldLib=Loadlib("strStorage.dll")
blRet = MergePDFDocuments(sMaster, sChild)
MsgBox "How did we do:" & blRet
End Sub
Please help in getting this error resolved.
Thank you very much.
Navin