Technocratic
Programmer
I searched the existing threads on this subject and nothing works. Also researched extensively with the help of Google..
running VB6 with SP5...
this should be so simple, but it acts odd... I have a form that I populate with data (on labels), then call Form.Printform, then loop through some more data, and print it again as long as needed..
I built in a pause to make sure the printer could keep up, I do NOT display the form at any time, and the wierdest part.. the first instance prints perfectly, any after that cut off the bottom of the page...
tracing through the code, I see that as soon as the PrintForm method is called, the Height property of my form is changed to 11000... which accounts for the cutting off thereafter.. but why is it doing that? I cannot seem to reset the height back to 15500, it ignores any attempts to do so...
I appreciate any advice!
running VB6 with SP5...
this should be so simple, but it acts odd... I have a form that I populate with data (on labels), then call Form.Printform, then loop through some more data, and print it again as long as needed..
I built in a pause to make sure the printer could keep up, I do NOT display the form at any time, and the wierdest part.. the first instance prints perfectly, any after that cut off the bottom of the page...
tracing through the code, I see that as soon as the PrintForm method is called, the Height property of my form is changed to 11000... which accounts for the cutting off thereafter.. but why is it doing that? I cannot seem to reset the height back to 15500, it ignores any attempts to do so...
I appreciate any advice!