Limitations with Visual Basic 4.0

The Common Dialog ActiveX controls are created using Microsoft's ATL library for ActiveX controls. OLE_COLOR, IPictureDisp*, and IFontDisp* properties do not persist properly in Visual Basic 4.0 using the ATL implementation of property persistence. You will not be able to save settings for these properties at design-time. When you save your form in VB 4.0, the values for these properties will be empty. When you reload that form, you will get errors indicating failure to load these property values. You can ignore these errors. You should initialize these properties to the desired values in your code at run-time. The properties involved are:

Font property

BackColor property

TransparentColor property

WandColor property

Note: This limitation does not apply to VB 5.0.