` Printed Icetips Article

Icetips Article



Reports, Printing, Printers: Previewer problems
2004-04-15 -- Timo Multanen
 
Newsgroups: comp.lang.clarion

>I run on a Pentium 4 Siemens Laptop - Windows XP but developed a problem
>with previewing reports
>
>They run fine from the application but not from clarion
>
>I have the same problem with the reportwriter
>
>Could it be a setting somewhere?


Check the Windows %TEMP% -environment variables. Preview generates pages as WMF
fiiles to the Windows temporary directory (CLA*.TMP) , and most preview errors
are caused by errors in accessing these files.

Since the problem only exists when running 16-bit applications, such as the
CIarion IDE, Report Writer or applications run from the IDE (which inherit the
16-bit environment settings), it would be reasonable to think that the error is
related to handling of temp files in 16-bit subsystem. In Windows XP the
Clarion temporary directory seems to always point to %WINDIR\TEMP , so you
could check that this directory exists and that you have full access rights to
that directory. The 32-bit Clarion applications use the Windows default temp
directory, which is by default %USERPROFILE%\Local Settings\Temp .

Sometimes Clarion runs out of temporary WMF filenames to generate (with several
thousands of temp files), so clean out the temp directory every once in a
while.

If this doesn't help, try modifying the %TEMP% and %TMP% -variables.

Cheers,

--
Timo



Printed November 21, 2024, 10:41 am
This article has been viewed/printed 35360 times.
Google search has resulted in 28 hits on this article since January 25, 2004.