Home > Software engineering >  How to use VB6 to edit and save the PDF file
How to use VB6 to edit and save the PDF file

Time:11-15

How to use VB6 to edit and save the PDF file, save as a PDF file

CodePudding user response:

PDF file is bad to be edited, but you can use PDF printer to generate PDF files

CodePudding user response:

You find a relevant control, in PYTHON, it is very convenient to change

CodePudding user response:

Declare the Function ShellExecute Lib "shell32. DLL" Alias "ShellExecuteA" (ByVal HWND As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd) As Long As Long

Sub aaa ()

Call ShellExecute (Application. The HWND, "Open", "E: \ your PDF file path \ "[]" & amp; A1 & amp; "" & amp; .pdf, "vbNullString vbNullString, 5)
End sub

Sub ZLDCCMX ()
Dim Rng As Range
For Each Rng Selection In
If Rng. Column=3 And Rng. Row & gt; 7 Then=
The file name=Rng. Value
Jf=InStrRev (filename, "")
P_A=Left (filename, jf - 1)
Filename=Mid (filename, jf + 1)
ChDir P_A
ChDrive Left (Rng) Value, 1)
Shell "C: \ Program Files \ Adobe \ 7.0, Acrobat, Acrobat, Acrobat exe/p/h" & amp; The file name
End the If
Next
End Sub


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * for your reference * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

CodePudding user response:

Thank you ╰ '(* ︶ ` *) ╯ know
  • Related