How can close document not save?
I delete page when process data, i want close document not save.
This my code:
Dim oArobat As Object
oArobat = CreateObject("AcroExch.App")
oArobat.Show()
Dim oDoc As Object
oDoc = CreateObject("AcroExch.PDDoc")
Dim oAVDoc As Object
oAVDoc = CreateObject("AcroExch.AVDoc")
If oAVDoc.Open(strWorkFilePath, "") = True Then
oDoc = oAVDoc.GetPDDoc
End If
oDoc.DeletePages(0, iPage - 2)
// todo data
//Close
oDoc.Close() // can't close
oArobat.CloseAllDocs() // show dialog confirm save
How can close document not save?
