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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to to be able to edit a MS Word document inside a form

Status
Not open for further replies.

dddenney

Programmer
Nov 29, 2000
41
US
Can anyone offer some advice on embedding a Word document inside a form. The word document is the end result of an OCR'd image. What I need to do is to have the word doc on the left hand side of the screen and the original image on the right hand side, so that the user can compare them. I am able to create a Word object, but it is displayed outside the form, which would cause the user to switch back and forth. I need the embedded word doc to be fully editable. Any suggestions?
 
Hi!

Make a cursor in memory with general field. Add one record. Use APPEND GENERAL ... command to put Word file in it or just create an empty Word document object. THan display content of the general field using OLEBoundControl using its ControlSource property. Using OLEBoundControl.Object reference you can access objects model of the OLE control inside.

Hope this helps.

Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Of course, you don't have to use a bound control and a general field, but if you don't, you need to do some additional programming to save your editing, etc. --Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top