For the backcolor, are you using a VB constant like vbRed? Or just a number?
If a number, it may not be valid in VB. VB6 doesn't use RGB values quite
the way that HTML does.

Signature
Daniel Wilson
Senior Software Solutions Developer
Embtrak Development Team
http://www.Embtrak.com
DVBrown Company
> Hi,
> I find out the problem. In fact it is so strange when i assign the
> backcolor of the picturebox other than black or white it gives error.
> Do you have any idea why it could be ?
>
> Thanks in advance
Timeless - 22 Apr 2005 13:49 GMT
> For the backcolor, are you using a VB constant like vbRed? Or just a number?
> If a number, it may not be valid in VB. VB6 doesn't use RGB values quite
> the way that HTML does.
Thank you for your attention.
I use VB Colors (Constants) and it works fine when I use same dll in a
Win32 EXE Project.