I'd like to be able to address pixels on an image on a userform, in Excel, either direct on the form, or via an image control. Ideally, I'd like to be able to write to them, but even reading would be a start.
The ideal way would be via the kind of functionality offered by the pset method of pictureboxes in VB. I know the image control is not a picturebox, but does anyone know of some other control (accessible from a "standard" installation of Office) which would do the job?
I'd even be happy if I could just find a control with an hwnd property, so I could do the addressing by setbitmapbits and getbitmapbits using the API. But neither the userform, nor the image control have hwnd.
Normally, I'd do this kind of stuff in VB, but a few other users would like to use the functionality I'm trying to create, and our PC's are locked down so damned tight that sorting out the paperwork for installing user-created apps is a herculean task. If I can find a way of doing it in plain old excel (or by calling an object everyone has access to by default), that would be much easier.
All suggestions gratefully received...
Tony
The ideal way would be via the kind of functionality offered by the pset method of pictureboxes in VB. I know the image control is not a picturebox, but does anyone know of some other control (accessible from a "standard" installation of Office) which would do the job?
I'd even be happy if I could just find a control with an hwnd property, so I could do the addressing by setbitmapbits and getbitmapbits using the API. But neither the userform, nor the image control have hwnd.
Normally, I'd do this kind of stuff in VB, but a few other users would like to use the functionality I'm trying to create, and our PC's are locked down so damned tight that sorting out the paperwork for installing user-created apps is a herculean task. If I can find a way of doing it in plain old excel (or by calling an object everyone has access to by default), that would be much easier.
All suggestions gratefully received...
Tony