I've created an ActiveX control in VB6. The project works great, but then I did a test where I switched the computer font to 120dpi from 96dpi. Well let me tell you, all hell broke loose. The control images were all screwed up. Image controls were sizing relative to the UserControl Object as opposed to the Picture Box Control on which I had created them. The images being screwed up was understandable, but now we're seeing some functionality issues that are only present in 120dpi but not in 96dpi.

On top of all this, Visual Basic doesn't seem to have anyway of dealing with this. To handle the images, I just did a check on the system FontDPI. A function on found on VBWorld. When I detect that it's at 120, I then manually resize all the location parameters (top, left) for all the image objects and resize the UserControl Object to a more usable size.

Has anyone else come across this problem? What are some things you have done to get around this??