|
-
Jul 14th, 2005, 11:33 AM
#1
Thread Starter
Lively Member
-
Jul 15th, 2005, 07:58 AM
#2
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
bumped. no idea? no suggestion?
if it's not possible.......(at least in my knowledge right now), i've to let my boss know and find another solution/approach
-
Jul 15th, 2005, 08:25 AM
#3
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
get Adobe Acrobat 7.0 and it can create a single pdf from multiple types of documents.
"The dark side clouds everything. Impossible to see the future is."
-
Jul 15th, 2005, 08:29 AM
#4
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal

i need to control it from my program VB.NET.....
can i control adobe acrobat using codes?
-
Jul 15th, 2005, 08:38 AM
#5
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
no you can't control it vb.net.
I've download the trial version of this .net library http://www.o2sol.com/pdf4net/products.htm , but have not tested it.
"The dark side clouds everything. Impossible to see the future is."
-
Jul 15th, 2005, 08:44 AM
#6
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
ck.....this sucked.
i've done some research also...they're offering free trial of pdfmaker DLL..
if that's the only way, anybody here got any experience about it? maybe a suggestin which product?
in that case......if that's really working, then i'll contact the department to buy em...
-
Jul 15th, 2005, 02:01 PM
#7
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
bumped for the day.
still need some help..
-
Jul 18th, 2005, 08:09 AM
#8
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
bumped again...
seems like nobody know about this?
-
Jul 19th, 2005, 11:20 AM
#9
Thread Starter
Lively Member
Re: NEED HELP/IDEA: Merge multiple word/pdf documents into a single proposal
hehehe..
seems like people around here don't have much of an idea about this....but, luckily, i found out how to do it....it's quite simple, actually..
u need to install adobe acrobat professional...and then, add reference of "Acrobat" into your project...
then, the code...is simply:
VB Code:
Dim oPDF As Acrobat.CAcroPDDoc
Dim oTemp As Acrobat.CAcroPDDoc
Dim nPagesTo As Long
Dim nPagesFrom As Long
oPDF = CreateObject("AcroExch.PDDoc")
oPDF.Open("C:\sample.PDF")
nPagesTo = oPDF.GetNumPages
oTemp = CreateObject("AcroExch.PDDoc")
oTemp.Open("C:\sample2.PDF")
nPagesFrom = oTemp.GetNumPages
oPDF.InsertPages(nPagesTo - 1, oTemp, 0, nPagesFrom, True)
oPDF.Save(Acrobat.PDSaveFlags.PDSaveFull, "C:\sample3.PDF")
oPDF.Close()
oPDF = Nothing
oTemp.Close()
oTemp = Nothing
where, as you can see....in this example, we mix sample.pdf and sample2.pdf into sample3.pdf....
-
Jul 24th, 2005, 07:52 PM
#10
New Member
Re: NEED HELP: Merge multiple word/pdf documents into a single proposal [SELF RESOLVED]
Hi Zen_Master
I am having the same requirement as urs (converting docs to PDF and merge them). I installed Acrobat 7.0 professional and started using APIs provided.
I have successfully converted other docs to PDF. But now the merging seems to be a problem. I am doing the same as you. The error I am getting when it executes InsertPages method.
Error description is 'Object doesn't support this property or method : 'InsertPages'.
The object browser in VB 6.0, Visual Studio.NET 2003 displays this method as a public part of AcroPDDoc class. I tried VB 6.0, VB.NET and VBScript. But I am getting same error again and again.
Please help me if you were across this issue.
Many Thanks
Jigar
-
Jul 25th, 2005, 06:57 PM
#11
New Member
Re: NEED HELP: Merge multiple word/pdf documents into a single proposal [SELF RESOLVED]
Solved..
The problem with 2 different version installed on the same machine. Wrong reference was getting inserted.
Cheers
Jigar
-
Jul 26th, 2005, 09:06 AM
#12
Thread Starter
Lively Member
Re: NEED HELP: Merge multiple word/pdf documents into a single proposal [SELF RESOLVED]
yo!
sorry...i didn't check out this thread for a while...
it's good that you solved it! =)
-
Oct 19th, 2005, 04:52 PM
#13
New Member
Re: NEED HELP: Merge multiple word/pdf documents into a single proposal [SELF RESOLVED]
Hello JD SURAT,
Can you please post an example regarding how did you convert a doc file into pdf using adobe API.
Thanks,
Johnny
 Originally Posted by jd_surat
Hi Zen_Master
I am having the same requirement as urs (converting docs to PDF and merge them). I installed Acrobat 7.0 professional and started using APIs provided.
I have successfully converted other docs to PDF. But now the merging seems to be a problem. I am doing the same as you. The error I am getting when it executes InsertPages method.
Error description is 'Object doesn't support this property or method : 'InsertPages'.
The object browser in VB 6.0, Visual Studio.NET 2003 displays this method as a public part of AcroPDDoc class. I tried VB 6.0, VB.NET and VBScript. But I am getting same error again and again.
Please help me if you were across this issue.
Many Thanks
Jigar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|