View Full Version : Leban's Memo Justifying Class ....Problem


Azal
08-07-2010, 08:15 PM
Hi,

I am trying to use Leban's class to justify memo fields in a report,
but the problem seems to be the class is not recognized; when create an instance of the class to invoke the function it stops on the function showing these error messages:
Bad file name or number (52)
Or
Path/file access error (75)

Even the sample database developed by Leban’s doesn't work.

Would any body help please....

the class here:
http://www.lebans.com/justidirect.htm

Azal
08-08-2010, 11:19 PM
OK...
I discovered the problem, But facing another one now,

The problem was this line:
Open "c:\Reportlog" & m_FileNumber & ".txt" For Output As #m_FileNumber

it is trying to create the log file in the C drive, where it is not allowed.
I changed to another path and get rid of that error,
BBBBBUT the new error is:
There isn’t enough free memory to update the display. Close unneeded programs and try again

And it doesn't justify the text.

Any Idea