ActiveX Font property

Hello,

In an application I'm upgrading from VB6 to VB2005 I have an ActiveX control which has a font property. On upgrading it upgraded a font size change to this:

AxLEAD1.Font = VB6.FontChangeSize(AxLEAD1.Font, NewFontSize)

I have two different forms where this occurs on one of them it seems to work fine on the other one it generates the following exception:

System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'Interop.StdType, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
Source="AxInterop.LEADLib"

Any ideas of a fix

Many thanks,

Richard


Answer this question

ActiveX Font property

  • ActiveX Font property