Thanks Marco,
At least I'm not going mad!! I had alook at that support article and I'll
try the fix mentioned. I'll post how I get on.
Thanks.
> I do not see anything wrong with your code. In fact,
I> use the same for automatic printing in applications
r> unning 24/7 as well (NT4, VB6) and I haven't see that
p> roblem.
D> id you check Q244350: <Memory Leaks in "Drsd" Tag When
P> rinting to Generic Text Printer> ?
> Marco
>
>> I was wondering if anyone had seen this before...I'm using the vb
p> rinter
o> > bject to print a doc from an application. Each time the Enddoc
method
i> s
c> > alled it eats up about a couple of K of memory. The app has to run
24/7
w> > ith no oppertunity to shutdown and restart. The example below gives
you
a> > n idea of what's happening the real app is a bit big and akward to
put
i> n
h> > ere.