vb6 - picture box erratic
- From: Peter Bostock <dont@xxxxxxxxxxx>
- Date: Fri, 23 Jun 2006 21:32:36 +1000
I have some programs (VB6 sp6) that create simple on-screen maps by drawing gridlines, text and
circles etc on a picture box. These programs have worked fine until recently. Now my department is
implementing a very strongly-controlled managed operating environment (MOE) and (perhaps
coincidentally) the picture box controls are behaving erratically, at least in the RDC-connected
virtual PC that I have been "given" to test my programs.
I should note that the picture boxes have Autoredraw set to True. Each program works properly in Win
2k as currently implemented by my department (we are moving to XP sp2 in the MOE). They also work
properly on my home PC with XP sp2.
One symptom of the problem is that a graphics box might appear to be partially drawn, but if I use
Alt-PrintScreen to capture the form, ALL of the graphics are present in the captured image! Also,
when I calculate a map repeatedly (I am plotting the position on a stylized map of a user-entered
GPS reading, for example) with no change to input data, I may get full drawing of the box on one
occasion, but the box will not draw at all on the next execution.
I wondered whether this might be associated with the RDC connection, or could it be related to some
Group Policy.
Any clues would be appreciated.
.
- Follow-Ups:
- Re: vb6 - picture box erratic
- From: Mark J. McGinty
- Re: vb6 - picture box erratic
- Prev by Date: Re: how to add grid lines to a list view control in vb
- Next by Date: Re: Calling DLL API
- Previous by thread: how to add buutons to a list view using vb
- Next by thread: Re: vb6 - picture box erratic
- Index(es):
Relevant Pages
|