Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pdf editor in a form

Status
Not open for further replies.

eyeshield21

Programmer
Aug 13, 2014
62
PH
is there a possible ways to edit a pdf file
viewed into a form in vfp?
Thanks
 
Yes, there are several third-party ActiveX controls which let you edit a PDF (that is, actually edit the text of the document, as opposed to simply filling in a PDF form).

Here a couple of possibilities:

Expert PDF Editor

BlackIce PDF OCX

A quick Google search should throw up a few more.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
You didn't specify free software.

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are not good for you.
 
I don't know of any free controls you can use within VFP forms, I do know that Trakker do a very good PDF editor
with a free option.

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are not good for you.
 


Black Ice is discontinued. Trakker doesn't offer a royalty free licence and their basic licence is very (very) expensive.

I tried Expert PDF from VisageSoft a few years ago but found it very limited (quote from their support "The editor behaves like any vector drawing editor...this is not a word processing editor" )

i'm about to try building TX Text Control's .Net component into a COM object but their support team were sceptical (and their ActiveX product doesn't import PDFs).

i'm also in the market if anyone has other suggestions.....


n
 
... and the amyuni was on a par with visagesoft - you wouldn't want to offer it to customers as a Word Processing screen to, for instance, massage a brochure into shape.

n
 
or is there a word viewer and editor which can be put in the form.?.
 
or is there a word viewer and editor which can be put in the form.?.

Yes, it's called Microsoft Word.

You can drop an OLE Container control on a form, and populate it with a Word document (using the "link" option rather than embedding). You can then give the user the ability to view, edit, print, save, etc. the document. The snag is that the user needs to have Word installed on their computer. But, if they have, you don't need to purchase or distribute any other component.

Alternatively, you can use the Microsoft Rich Textbox control, which comes with VFP. This lets the user view, edit, etc. documents in RTF format, which is compatible with Microsoft Word. They can do that even if they don't have Word installed. But the control doesn't give the user any interactive tools such as menus or toolbars; it is up to you to provide these.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
One drawback to RTF data though, is VFP's report writer does not have a way to render the content.

Best Regards,
Scott
ATS, CDCE, CTIA, CTDC

"Everything should be made as simple as possible, and no simpler."[hammer]
 
i tried the Microsoft Rich Textbox control since i cant find the MS word even
i installed ms word.
but the problem is the content of the opened text file shows unrecognize
letters or shapes..
 
i cant find the MS word even i installed ms word.

Are you sure you followed the correct steps?

1. Open the form in the form designer.

2. Drop an OLE container control on the form; That's the control to the right of the pageframe control in the forms controls toolbar (not the OLE bound control).

3. When you see the Insert Object dialogue, select "Create from File". Then navigate to the Word document that you want to edit.

4. Tick the "Link" checkbox, then close the dialogue.

5. When you run the form, you should see a thumbnail of the document. Double-click on it to let the user view, edit, print, save, etc. from within Microsoft Word. If the user makes changes and saves the doc, the changes will be visible in the form.

Alternatively, don't tick the "Link" checkbox in step 4. This will allow the user to open the doc actually in the form, rather than in Word. The disadvantage is the edited document will no longer exist as a separate file, so any changes the user makes cannot be saved.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
By the way, Eyeshield, the above discussion about embedding an OLE control in a VFP report is interesting, and will be of help to some users. But it has got nothing to do with your original question. So unless you have a difinite requirement for this, don't get side-stepped with it.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
thanks mikelewis..[bigsmile]
what i want sir is that a user can open a file then he can edit it on the form..
that file can be a word or a pdf.
the one you posted is helpful but as you said it cant save ones editted on the form..

or can you suggest best way to do that sir..?
any answer would be a great help.tnx
 
Your intent was already clear from the beginning. I and Mike just pointed out that despite what Scott said you can print RTF.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top