- Code: Select all
'VB
VPE.FontName = "Symbol" <-- stops executing at this line.
VPE.Print(10,10, "a") 'alpha
VPE.FontName = "Arial"
My program has multiple tab pages with an VPE instance.
Sometimes after 2 times, sometimes 10 times, when printing on a new tab page, it stops running after that line.
So it looks like some memory problem.
But the weird thing is that Visual Studio doesn't catch that error. It just stops continuing the code.
I tried wrapping it in a Try/Catch block, enabling break-on-all-errors in VS, but VS still won't show me an error on that line, it just stops executing.
Is this something you recognize?