I have a Visual basic 3 App that I am converting to VBA in Microsoft Access 2003. The VB3 app successfully recolors a bitmap image with code using pixel locations when clicking on option buttons used for color selection.
An example is:
Grphecho!Pictur e3.PSet (xpos, ypos), RGB(RRGB, GRGB, BRGB)
where the pixel positions are xpos and ypos in a Picture box(Picture3) using the Pset method.
I know about the need for twips instead of pixels in Access 2003, and can successfully convert my coded pixel values to twips by applying 15 twips to 1 pixel.
My problem is coding to the control on the Access form. How can I get an Image Control or Unbound Object Frame control to accept my x and y values from my code?
Thanks much to anybody for reviewing this.
An example is:
Grphecho!Pictur e3.PSet (xpos, ypos), RGB(RRGB, GRGB, BRGB)
where the pixel positions are xpos and ypos in a Picture box(Picture3) using the Pset method.
I know about the need for twips instead of pixels in Access 2003, and can successfully convert my coded pixel values to twips by applying 15 twips to 1 pixel.
My problem is coding to the control on the Access form. How can I get an Image Control or Unbound Object Frame control to accept my x and y values from my code?
Thanks much to anybody for reviewing this.
Comment