Image Uniface and Doc Word

All resolved helpdesk issues are moved here.

Moderators: martin, administrator, petemonk, Moderators

Image Uniface and Doc Word

Postby Bignon » Fri Dec 05, 2008 4:14 am

Hello,

I've got a field "Signature" in a table ( in my database). This field is VarBinary. It's an JPG image stored with fileload/raw.
This part is ok.
Now i want to put this field, or image, or signature at the bottom of my Word document.

An idea ? Help !

Thanks a lot

Jérôme Bignon - France.
Bignon
 
Posts: 18
Joined: Tue Apr 01, 2008 7:02 am
Location: France - Nantes

Re: Image Uniface and Doc Word

Postby Uli » Fri Dec 05, 2008 6:42 am

Hi Jerome,

just a "manufactural" way:

1.) create a flat JPG file with a temporary name.
2.) like you do with the menu, perform Insert->Image->from File->Filename.
3.) If you insert NOT as a hyperlink, you should be able to delete the JPG file now.

Success, Uli
Success, Uli
mailto:Ulrichmerkel@web.de / http://www.uli-merkel.de
Ceterum censeo if CPWR is paid for support, CPWR should provide the support.
Uli
 
Posts: 684
Joined: Thu Jul 17, 2003 7:44 am
Location: Frankfurt / Germany

Re: Image Uniface and Doc Word

Postby Hoss » Wed Feb 17, 2010 6:23 pm

Uli,

I am trying to do a similar thing now with Word COM signatures in Uniface. Unfortunately, I don't quite understand the solution you posted. Currently, I perform this process with a macro which I execute at the right time but I would much prefer a process where I don't have to do a weird find and replace macro to get it to work. Any insight you might have would be appreciated.

Thanks,
Larry
Hoss
 
Posts: 2
Joined: Tue Sep 16, 2003 1:12 pm

Re: Image Uniface and Doc Word

Postby Uli » Sat Feb 20, 2010 2:18 pm

Hi Larry,

just the manual way:

we have a abc.gif file.

Open WInWord and your document,

Position your cursor where you want to add the image.
Select: Insert => Image => from file => (path to abc.gif) (include file)

Now we change the contents of the abc.gif file

Position your cursor where you want to add the next image.
Select: Insert => Image => from file => (path to abc.gif) (include file)

At the end, you should see 2 different images in your WInWordfile.

After the positioning, we use the identical commands (so we con do this with a macro).
From Uniface, each occurence can be handled like:

Position in the document (if necessary)
Create the abc.gif file using "filedump"
Invoke the WinWord macro to include the abc.gif image to the document.

Success, Uli
Success, Uli
mailto:Ulrichmerkel@web.de / http://www.uli-merkel.de
Ceterum censeo if CPWR is paid for support, CPWR should provide the support.
Uli
 
Posts: 684
Joined: Thu Jul 17, 2003 7:44 am
Location: Frankfurt / Germany


Return to Uniface: Solved Helpdesk Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron