Consultor Eletrônico



Kbase P100455: LOAD-PICTURE() cannot handle picture files located in procedure libraries
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/1/2006
Status: Unverified

FACT(s) (Environment):

Progress 9
OpenEdge 10.0x
OpenEdge 10.1A

SYMPTOM(s):

Trying to use a picture file stored in a Procedure Library (PL file) in an ActiveX

Warning message "ProcedureLibrary.pl<<imageFile>> contains an invalid path."

CAUSE:

This is expected behaviour. As per the documentation:


"A Progress 4GL r-code library is a collection of r-code procedures combined in a single file. It is similar to an object library in DOS or an archive file on UNIX. However, object libraries and archive files are used solely for efficient storage. R-code libraries allow you to manage and execute r-code procedures more efficiently."

Procedure libraries (aka r-code libraries) are meant to be used for r-code so compatibility with other file types is not guaranteed.

FIX:

Handle the picture files as simple files in a sub directory that is available in the PROPATH, and do not try to handle them in a Procedure/R-Code Library