srinivas
4th July 2002, 13:50
We are on BaaN IV C4 on Sun Solaris and BaaN Base.


The client m/c are on windows. The user wants to view drwings on a different m/c. In the EDM parameters unless the directory is c:\temp\ and the image is physically avbl in the drawing the drawing is not getting opened in Revisions session.

If I give the directory as c:\xyz\ and keep the image there still the drawing is not getting opened and I am getting error message that \temp\image.jpg is not avbl.

Can't I specify any directory for this to work?

Regards,
Srinivas

isimeon
4th July 2002, 14:12
Drawings must be stored on the server or NFS directory. When the user clicks on the drawing button, script copies the drawing file from server to directory \temp on the client machine and starts drawing viewer or editor. After drawing program exits, the drawing file on the client machine will not be deleted. This is the case with BW client. Also install the latest patch (solution 79582).

srinivas
5th July 2002, 13:59
Thankyou very much.

This is working fine for any images (Type jpg gif etc) and if I view through Internet explorer. But If I use Word as the display drawing program it is not showing the documents in proper formats. It is showing in a junk format. Any solutions?


Regards,
Srinivas

isimeon
5th July 2002, 14:33
Word cannot open picture directly. You can write your own template with macro to insert picture in a new document.

E.g. .....\winword.exe /t<templatename> /m<macroname> /pict<picture file>

(/pict is unknown switch for Word and it does nothing with it. Your macro have to analize command line switch and insert <picture file>)

But why do you want to use Word? If the drawings are in any popular graphics format, Microsoft Photo Editor (part of Microsoft Office) can open it. Also there exists many third party products (freeware or shareware).

srinivas
6th July 2002, 07:09
The drawings include Pictures (pasted in Word) and lot of literature. That is why I want to use Word.

Regards,
Srinivas

isimeon
8th July 2002, 12:49
Unfortunately, in Baan IV you cannot use multiple programs to open drawings. You have two options:

1. Customize EDM parameters and tiedm0015 function source.
2. Write a small program to get drawing file extension, read registry to get open command for this extension and open it. Install this program on every client machine and put it in EDM parameters

Sakhnini
15th July 2002, 13:36
Baan Hot Link from Nazdaq allows you to link any session to an external application.

This tool allows you to link with any application from within a form choice field, with no need to change the script.

howtodo
22nd March 2005, 12:32
Hi Srinivas,
I am trying to achieve Display Drawing in Item Revisions session. I am facing the same problem which you reported here on board.I would like to know how you have solved the issue of coming up error "File//c://temp/filename" not found.Somebody mentioned a solution number,but we are having SP14.
Thanks in advance