PDF is not Merging. Please help me
Hi I have a windows applicatoin which is developed using vb.net and i am trying to Attach or Combine 2 pdf's into one . It works for once or twice and after that it will not attach any pdf . The first pdf stays as such.
The vb.net code is below. Please help me what was causing the problem and any possible solution.
Code:
Dim
sFileName As String = ""
sFileName =
"doc1.pdf"
FileCopy(sFileName,
"Temp.pdf")
Me.wbReport.Navigate("Temp.pdf")
'Get File Name
Dim sFileAttach As String = ""
With Me.OpenFileDialog1.DefaultExt =
"PDF"
.Multiselect =
False
.Title =
"Select file to attach"
.FileName =
.Filter =
"Adobe PDF Files (*.pdf)|*.pdf"
.ShowDialog()
sFileAttach = .FileName
End With
If sFileAttach = "" Then
Exit Sub
End If
Dim AcroApp As Object = CreateObject("AcroExch.App")
' ACRODISTXLib.PdfDistiller6
Dim InsertPDDoc As Object = CreateObject("AcroExch.PDDoc")
Dim RptPDDoc As Object = CreateObject("AcroExch.PDDoc")
Try
RptPDDoc.InsertPages(
CType(RptPDDoc.GetNumPages, Integer) - 1, InsertPDDoc, 0, CType(InsertPDDoc.GetNumPages, Integer), False)
Catch ex As
ExceptionMsgBox(
"Error Attaching Documents. Documents were not attached.")
End Try
Nothing
InsertPDDoc =
Nothing
Me.wbReport.Navigate(sFileName)
Any Suggestions ????
Thanks in Advance for the help.
RptPDDoc.Save(1, sFileName)
RptPDDoc.Close()
AcroApp.Exit()
RptPDDoc =
InsertPDDoc.Close()
AcroApp.Hide()
RptPDDoc.Open(sFileName)
InsertPDDoc.Open(sFileAttach)
suadfromshkoder wrote:
...i bought a used iphone 4 ...
The Apple ID and Password that was Originally used to Activate the iDevice is required.
If you cannot get this information from the seller
Removing a device from a previous owner’s account
you need to return the Device for a refund, as you will not be able to re-activate it.
Similar Messages
-
PDF will not print please help
I am using Win7 64, updated print driver, updated Adobe. When I try to print a pdf document it will not print unless I restart my computer for each document. I can print Word documents but not pdfs.
Please follow the workaround available at http://forums.adobe.com/thread/949886?tstart=30 in order to resolve this issue.
Thanks,
Atul -
I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!
You mean an image such as a scanned document?
If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat. -
I received a replacement iPad. On my original iPad I had dozens of books and PDF's. I completely backed up my original iPad. The categories of my iBook files transferred but NOT the actual PDF and Books. Please help.
Are the PDFs and ibooks on your computer's iTunes ? If so then you should be able to re-sync them, if not then you can re-download ibooks for free as long as they are still available in the store and you use the same iTunes account as you originally used to buy them : http://support.apple.com/kb/HT2519 . The backup doesn't contain the contents of the ibooks app, so for them to be restored to the device they needed to be in your iTunes library.
-
I have made a file using the Pages app.I mailed it to a friend.When she tried opening the same file on her pc at home , It did not open.Please help me as to how to open the file in the Microsoft word format on her pc.
Send it as a PDF.
-
my ipod touch 4th generation won't synch.i'm trying to put a pdf file on it.please help thanks in advance...
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on anoterh computer to help determine if you have an iPod or computer problem.
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
my iphone 4s does not start by power switch, it starts when i connect to pc. the proximity sensor is not working. please help.
Sounds like it may be a hardware issue.
Please contact Apple Support in your country.
Here is a list of numbers: http://support.apple.com/kb/HE57
Regards
J -
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
-
I have 4s iPhone , I download the iOS 7. Now the front receiver microphone is not working , please help me that how to fix the problem.
I live in South Africa, and I had the same problem with my iPhone 4.
After weeks of frustration and swearing, I was in the process of restoring my phone to a previous iOS. To do that you need to turn the "Find my iPhone" option off, since i turned it off, my problem was solved. No need to repair anything or revert back to old iOS.
***** that i cant use Find my iPhone, but atleast i can use my phone. -
I installed windows 7 on my macbook pro. all is working but lan adaptor and sound od laptop is not working. please help me or send the link where i can download the these drivers.I have lost my resource cd .
If you are running Lion or Mountain Lion, the drivers are downloaded from within Bootcamp Assistant. If you are running Snow Leopard the drivers are on your Snow Leopard install disk.
Read the Bootcamp Install Guide for your version of OSx. http://www.apple.com/support/bootcamp/
Bootcamp questions should be asked in the Bootcamp forum where the Bootcamp gurus hang out https://discussions.apple.com/community/windows_software/boot_camp -
I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi
Plawexki wrote:
... do you know if the contacts, photos, messages etc will be wiped?
Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
SYNCING with iTunes
See here > http://support.apple.com/kb/HT1386
From Here > http://www.apple.com/support/iphone/syncing/
You may find this information of interest...
Have a read here...
https://discussions.apple.com/message/18409815?ac_cid=ha
And See Here...
How to Use Multiple iDevices with One Computer -
I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem
You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.
-
I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update serverTry this:
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
this is what my iphone 4 shows. iv tried switching off again and again, closing apps by double tapping the home button but still not working. please help.
is there any other method to download ios 6.1.2.
my phone is not being recognized by itunes on my new windows 8. neither its working on touch copy.
kindly help.
thankswell in thatcase, i need another help .
thanks for your instant reply.
i have currently bought a new laptop (windows 8) and my iphone is not being recognized by itunes.
because i have no backup on my previous laptop, i downloaded touchcopy but even touch copy is not recognizing my iphone. -
i have restored my iphone but it has been 2days saying that the activation server is not available. please help me.
That is almost always because the phone was hacked to illegally unlock it. Contact the carrier it's locked to and ask about having it legitimately unlocked. If they will not do so, you will not be able to activate that phone.
-
while updating 4.0 version to 5 version system shows sim card is not valid. My iphone is not working .Please help me
I would imagine your iPhone was hacked to make it work on your local carrier.
Updating the iOs to 5.xx will lock it back to the original carrier .The carrier holding the lock are the only
entity able to authorise the unlock .You will have to contact them and see if they unlock and the terms the apply
Maybe you are looking for
-
Wireless Print Server and Macintosh
Hello: I am using a Linksys Wireless Print Server WPS54GU2. I have a HP LaserJet 1012 printer hooked up to it. i have a iMac and a Dell Windows PC. From the dell Windows PC, the wireless printing is working fine to the laserjet, however i just bought
-
Why do we need IMP and Exchange servers integration?
According to this document, Microsoft Exchange integration with Cisco Unified Presence allows users to incorporate their calendar/meeting status in Microsoft Outlook into their availability status on Cisco Unified Presence. http://www.cisco.com/en/US
-
i have a value and set it to session. I can get it by session.getAttribute(" xxx") at another jsp page, Can I pass the value into a java class to perform some task ?
-
~/Library crashed by multiple logins?
Hi, I am running a 10.4.7 Server and have a bunch of users that can login from different machines, even at the same time. My main question: Is this a possible cause for a crash in ~/Library/* files when a user logs in from several machines and works
-
Dear , i have a blackmagic declink studio on my hp workstation Z600 and im working on a premiere cs project and wanted to watch on a external monitor , when going to prefernces playback setting blackmagik isnt appearing as an option but in audio h