Cancelado

Populate a Adobe PDF form using vb6 code

I just need a vb6 code that do the following tasks:

1-Open a pdf file created with Adobe Live Cycle Designer

2-Change the value property of 4 text fields

3-Save the pdf file

4-close the pdf file

I already have the code but for some reason it does not work:

Declarations

Option Explicit

Dim gApp As [url removed, login to view]

Dim gPDDoc As [url removed, login to view]

Dim jso As Object ' this is the java script object

Dim iFileName As String

Dim iNewFileName As String

Dim iTopWarningField As Object

Dim iCurrentDateField As Object

Dim iLastNameField As Object

Dim iFirstNameField As Object

Dim SaveRet As Integer

Private Sub Command1_Click()

iFileName = "C:\Documents and Settings\User\My Documents\cfrm\pdf\New Patient Form.pdf"

iNewFileName = "C:\Documents and Settings\User\My Documents\cfrm\pdf\New Patient Form.pdf"

Set gApp = CreateObject("AcroExch.App")

Set gPDDoc = CreateObject("AcroExch.PDDoc")

If [url removed, login to view](iFileName) Then

Set jso = [url removed, login to view] 'set the java script object

'Now start to get a pointer to the pdf fields

Set iTopWarningField = [url removed, login to view]("F1[0].Page1[0].TopWarning[0]")

Set iCurrentDateField = [url removed, login to view]("F1[0].Page1[0].CurrentDate[0]")

Set iFirstNameField = [url removed, login to view]("F1[0].Page1[0].Patient[0].FirstName[0]")

Set iLastNameField = [url removed, login to view]("F1[0].Page1[0].Patient[0].LastName[0]")

'Now start to set the property value of the text fields in the pdf form

[url removed, login to view] = "text"

[url removed, login to view] = CStr([url removed, login to view])

[url removed, login to view] = [url removed, login to view]

[url removed, login to view] = [url removed, login to view]

[url removed, login to view] "New Patient Form_API"

'[url removed, login to view] (PDDocRequiresFullSave)

SaveRet = [url removed, login to view](PDSaveFull, iNewFileName) '-1 if saved successfully

[url removed, login to view]

End If

End Sub

Habilidades: Formulários Eletrônicos, Javascript, Visual Basic

Ver mais: vb6 pdf form fields, vb6 pdf fields, getjsobject getfield, pdf using vb6, vb6 adobe pdf, save pdf vb6, populate pdf form vb6, vb6 pdf form, pdf form vb6, vb6 code adobe, vb6 set pdf fields, vba code populate pdf form, vb6 adobe java getjsobject, vb6 pdf populate form, open pdf file vb6 form, text file pdf file using vb6, adobe vb6 getjsobject, adobe fields vb6, vba pdf form jso, acrobat getfield, vb6 adobe, pddocrequiresfullsave, vb6 populate pdf, pdf vb6, populate pdf form

Acerca do Empregador:
( 2 comentários ) ALPHARETTA, United States

ID do Projeto: #591277

17 freelancers are bidding on average $292 for this job

vietitdotinfo

Ready to start

$250 USD em 1 dia
(13 Comentários)
4.4
WangJiong

I had completed this type of project before and had already fixed your code with your PDF file.

$250 USD em 1 dia
(3 Comentários)
3.1
freddyho

The VB6 program to populate an Adobe PDF.

$300 USD in 10 dias
(3 Comentários)
3.1
SourceBest

Hi Would be able to do the work. Thanks

$300 USD in 5 dias
(1 Comentário)
0.4
ShubhabrataKarma

I am very good in VB6.I have hand on experience on doing such programmes.I am confident of doing it.

$500 USD in 15 dias
(0 Comentários)
0.0
roymanseras

Hi, I have been working to these kind of projects for so much years. I am willing to do the job as soon as possible. Thanks.

$250 USD em 1 dia
(0 Comentários)
0.0
grtdeveloper

Sir, I have gone through your project details and understand your requirements.I have an expertise in VB and had complete many projects in [url removed, login to view] i would like to take up this opportunity to showcase my expertise. Mais

$250 USD in 2 dias
(0 Comentários)
1.0
moibelgal

Please check PM. Thanks.

$250 USD in 2 dias
(0 Comentários)
0.0
jiangtao8121

I had encountered a similar problem, I think I can help you to finish all the problems of the pdf operate as soon as possible. And I have repaired and optimized your codes. It work normal on my computer now.

$250 USD em 1 dia
(0 Comentários)
0.0
ijazaziz

hi, i can do this. contact me for quality work. thanks

$563 USD in 10 dias
(0 Comentários)
0.0
asupercoder

I have 12 years experience with VB.

$250 USD in 5 dias
(0 Comentários)
0.0
np101

I have very good experience with VB6, Acrobat API, Adobe Live Cycle Designer. I will provide quick & professional service.

$250 USD in 0 dias
(0 Comentários)
0.0
piyushpatel13

Hi This is Piyush Patel I have 5 yrs of Exp in VB6,VB.net,SQL and MsAccess. I have developed many applications in VB6,VB.NET. Please Check My PM

$250 USD in 3 dias
(0 Comentários)
0.0
marconady

plz replay if u need

$250 USD in 2 dias
(0 Comentários)
0.0
yunzhongstudio

Please view the PM.

$250 USD em 1 dia
(0 Comentários)
0.0
onlinegc

hi, I am a professional with experience,serious,honest, I use a successfull project management and development process methodology , that will further the objectives of each project effectively. . pls check pm

$300 USD in 10 dias
(0 Comentários)
0.0
applied646

I have over 10 years experience in the technologies that would be used for your project. This experience includes but is not limited to the development and integration of the Acrobat forms and various applications wit Mais

$250 USD in 3 dias
(0 Comentários)
0.0