Re: RunTime Error 480: Can't create autoredraw image in TS Sessions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Francois,

Sorry, I know this is not what you are hoping for, but:

You state that you hit the error on an XP box without terminal
services after roughly 25 reports have been displayed. To me that
clearly sounds like a problem in your application. Should it not run
"infinitely" (meaning: very long) withouth errors? Well-written
applications do. Can you imagine Photoshop quitting after having
opened 25 images?

Again, I am sorry I have nothing better to contribute to the solution.

Helge

On 1 Jun., 22:19, Francois G. <Franco...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
*bumb*

Well, anyone have *any* clue about this issue?

I've written a sample VB6 program to demonstrate the issue: a simple user
control onto which borders are drawn with the native "Line" command.
With the Autoredraw property set to "True", as soon as any graphic drawing
method (Textwidth, Circle, Line) is invoked on a control too big, an error
480 is generated.
GDI objects are ridiculously low, User Objects too, Dheapmon too, everything
seems way under any kind of limit.

Anybody have any clue?

What ressource does a PictureBox w. AutoRedraw=True use in TS? How do we
monitor that?

T.I.A

Frustrated in MTL, Francois G.


.



Relevant Pages

  • Re: RunTime Error 480: Cant create autoredraw image in TS Session
    ... These forms use our own custom UserControls, which use standard VB6 drawing ... control onto which borders are drawn with the native "Line" command. ... GDI objects are ridiculously low, User Objects too, Dheapmon too, everything ...
    (microsoft.public.windows.terminal_services)
  • Re: WM_NCCALCSIZE repaints all the control causing flickering
    ... I was just doing some testing with different property settings and found ... that the control is not always painting scrollbars correctly. ... If the GDI Objects column is not shown add it. ... Go back to the running test app and simply tab between the textboxes. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: AUK Awards reeks of Dishonesty, Vote Stacking, Cronyism, and Blatant Cheating
    ... >> I see Horsey Lover has no clue as to how lame it, ... >I see you have no clue who wants to control everyone not only on Usenet ... A Number 1, Grade A, Prime USDA 'Ratz ...
    (sci.med.diseases.hepatitis)
  • Re: AD delegation
    ... If you grant a group full control over user objects, ... the DoCW grants the "Full Control" permission for User objects. ... permissions that should be allowed. ...
    (microsoft.public.windows.server.active_directory)
  • How to display a list of user objects
    ... In one of the windows, I have to show a scrollable list of user objects. ... given "section" of questions on one window in a scrollable control. ... What is the best "container" control to show those? ...
    (microsoft.public.dotnet.general)