khacharn
asked on
i need the acrobat.tlb file ....
Hi all
I am in dire need to acrobat.tlb file...
this file comes with the registered version of acrobat reader..
it would be great if someone could please provide me with the same file...
points will not be a problem
best regards
Nitin
I am in dire need to acrobat.tlb file...
this file comes with the registered version of acrobat reader..
it would be great if someone could please provide me with the same file...
points will not be a problem
best regards
Nitin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi khacharm,
You have to add the ActiveX component pdf.ocx,
the ocx should be in that SDK that you down loaded.
place this on your form and add this code.
Dim gApp As Acrobat.CAcroApp
Dim gPDDoc As Acrobat.CAcroPDDoc
Dim bOK As Boolean
Private Sub Form_Load()
Height = 6800
Width = 9000
Set AcroExchAVDoc = CreateObject("AcroExch.AVD oc")
bOK = AcroExchAVDoc.Open("c:\ado be.pdf", "")
Set gPDDoc = AcroExchAVDoc.GetPDDoc
bOK = gPDDoc.Save(PDSaveFull, "c:\adobe.pdf")
gPDDoc.Close
AcroExchAVDoc.Close True
'show PDF file here
With Form1
.Pdf1.Visible = True
.Pdf1.setShowToolbar (True)
.Pdf1.LoadFile "c:\adobe.pdf"
.Move (Screen.Width - .Width) / 2, (Screen.Height - .Height) / 2, .Width, .Height
Screen.MousePointer = vbArrow
.Show vbModal
End With
End Sub
Private Sub Form_Resize()
Pdf1.Move 0, 0, ScaleWidth, ScaleHeight
End Sub
You have to add the ActiveX component pdf.ocx,
the ocx should be in that SDK that you down loaded.
place this on your form and add this code.
Dim gApp As Acrobat.CAcroApp
Dim gPDDoc As Acrobat.CAcroPDDoc
Dim bOK As Boolean
Private Sub Form_Load()
Height = 6800
Width = 9000
Set AcroExchAVDoc = CreateObject("AcroExch.AVD
bOK = AcroExchAVDoc.Open("c:\ado
Set gPDDoc = AcroExchAVDoc.GetPDDoc
bOK = gPDDoc.Save(PDSaveFull, "c:\adobe.pdf")
gPDDoc.Close
AcroExchAVDoc.Close True
'show PDF file here
With Form1
.Pdf1.Visible = True
.Pdf1.setShowToolbar (True)
.Pdf1.LoadFile "c:\adobe.pdf"
.Move (Screen.Width - .Width) / 2, (Screen.Height - .Height) / 2, .Width, .Height
Screen.MousePointer = vbArrow
.Show vbModal
End With
End Sub
Private Sub Form_Resize()
Pdf1.Move 0, 0, ScaleWidth, ScaleHeight
End Sub
Also..
... You have to add the ActiveX component pdf.ocx.
I checked and the ocx is not in the SDK.
I have to check but I think it came with the acrobat reader
that you can download free.
... You have to add the ActiveX component pdf.ocx.
I checked and the ocx is not in the SDK.
I have to check but I think it came with the acrobat reader
that you can download free.
ASKER
hi thanx a million for your inputs..
but the problem still remains when i try to execute this code
Set AcroExchAVDoc = CreateObject("AcroExch.AVD oc")
there is an error that Activex component can't create object...
But planoz ....let me tell you what exactly i want to achieve...
its simple...i want to know the path of the pdf doucument currently open ....just this small thing i want to do..
have any idea how it can be done...
please help soon...i m waiting
Best regards
Nitin
but the problem still remains when i try to execute this code
Set AcroExchAVDoc = CreateObject("AcroExch.AVD
there is an error that Activex component can't create object...
But planoz ....let me tell you what exactly i want to achieve...
its simple...i want to know the path of the pdf doucument currently open ....just this small thing i want to do..
have any idea how it can be done...
please help soon...i m waiting
Best regards
Nitin
sorry forgot to add this to your vars.
Dim AcroExchAVDoc As CAcroAVDoc
Take this and let me know how it works.
Dim AcroExchAVDoc As CAcroAVDoc
Take this and let me know how it works.
from you....
But planocz ....let me tell you what exactly i want to achieve...
its simple...i want to know the path of the pdf doucument currently open ....just this small thing i
want to do..
How is the pdf doc being open.. i.e. are you opening the file, is a server opening it?
I need more info on the subject.
But planocz ....let me tell you what exactly i want to achieve...
its simple...i want to know the path of the pdf doucument currently open ....just this small thing i
want to do..
How is the pdf doc being open.. i.e. are you opening the file, is a server opening it?
I need more info on the subject.
Hey khacharn!! are you out there?
ASKER
hi planoz....
yes i m here....do u use YAHOO Messenger planocz ??
Well the users woll open the .pdf in the default acrobat reader...
i want to determine what is the current file open and its name and full path...
can u help still...??
is there some otherway of doing it since i m still not able
u know i will tranfer more points if this problem gets solved...its important for me...
Best Regards
Nitin
yes i m here....do u use YAHOO Messenger planocz ??
Well the users woll open the .pdf in the default acrobat reader...
i want to determine what is the current file open and its name and full path...
can u help still...??
is there some otherway of doing it since i m still not able
u know i will tranfer more points if this problem gets solved...its important for me...
Best Regards
Nitin
ASKER
HI PLANOCZ...
CAN YOU TELL ME WHETHER THE CODE THAT YOU HAVE POSTED WORKS ON YOUR MACHINE...
ALSO WHICH IS THE VERSION OF ACROBAT READER YOU ARE USING ??
BEST REGARDS
NITIN
CAN YOU TELL ME WHETHER THE CODE THAT YOU HAVE POSTED WORKS ON YOUR MACHINE...
ALSO WHICH IS THE VERSION OF ACROBAT READER YOU ARE USING ??
BEST REGARDS
NITIN
Yes, I'm using Acrobat ver. 4
YAHOO Messenger ... No, I can't because of Security.
YAHOO Messenger ... No, I can't because of Security.
ASKER
planocz the code is still not working
i downloaded acrobat 5 reader but still its not workign....
tell me do you have the full acrobat 4.0 or just acrobat reader installed....and is it a registered copy too ??
Nitin
i downloaded acrobat 5 reader but still its not workign....
tell me do you have the full acrobat 4.0 or just acrobat reader installed....and is it a registered copy too ??
Nitin
What kind of error are you getting?
I have a solution but I get an ActiveX error .I'm checking with Adobe about the problem. I will let you know what happens.
ASKER
sure U R A DEAR....
thanx
it would be great if my code works...
i will tranfer the points to you in a week anyways...
cheeku
thanx
it would be great if my code works...
i will tranfer the points to you in a week anyways...
cheeku
khacharn,
A number of these questions are quite old. Please return and reward the Experts who have given you their time and knowledge in responding to your question.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=11503298
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=11454878
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20176230
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20175433
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20174345
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20156027
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20155243
https://www.experts-exchange.com/jsp/qShow.jsp?ta=xml&qid=20011867
Thanks,
Netminder
Community Support Moderator
Experts Exchange
A number of these questions are quite old. Please return and reward the Experts who have given you their time and knowledge in responding to your question.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=11503298
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=11454878
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20176230
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20175433
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20174345
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20156027
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20155243
https://www.experts-exchange.com/jsp/qShow.jsp?ta=xml&qid=20011867
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Force/accepted by
Netminder
Community Support Moderator
Experts Exchange
Netminder
Community Support Moderator
Experts Exchange
ASKER
but there is a problem...
i installed the SDK ..
i wrote this simple code
**********************
**************************
Dim gApp As Acrobat.CAcroApp
Dim gPDDoc As Acrobat.CAcroPDDoc
Dim jso As Object
Private Sub Form_Load()
Set gApp = CreateObject("AcroExch.App
'*****
i get an error here that activex component can't createobject
'****
Set gPDDoc = CreateObject("AcroExch.PDD
If gPDDoc.Open("c:\adobe.pdf"
Set jso = gPDDoc.GetJSObject
jso.console.Show
jso.console.Clear
jso.console.println ("Hello, Acrobat!")
gApp.Show
End If
End Sub
**************************
PLease provide some input..
khacharn
**********************