PictureBox

  • Thread starter arista via AccessMonster.com
  • Start date
A

arista via AccessMonster.com

Hi
I am using VBA and would like to include class PictureBox from VB6 into my
VBA. I should probably rip and export the PictureBox class to a .ocx file and
then register the ocx in Windows, I should then be able to import it to
Access VBA - according my friend's advice.
The problem is I do not know how to rip and export in VB6. Does anybody know
please?
Thanks
 
S

Stephen Lebans

You cannot import the class for a native VB control into Access.
You could create a simple ActiveX control in VB that contains the VB
PictureBox control.

Alternatively see:
http://www.lebans.com/imageclass.htm
ImageClass has been replaced by the PictureBoxA97 project. A standard Image
control is wrapped within a class to allow the control to resemble the
standard Visual Basic PictureBox control. Simple drawing methods are
directly supported as is Text output with rotation. A handle to a Device
Context is exposed to allow the developer to use the full range of Graphic
API's. Also supports Screen Grabs, Copy to Clipboard and Save Image control
to a disk Bitmap file. Here is the Access 2000 version, PictureBoxA2K.zip
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top