title: Conversion from type 'Font' to type 'String' is not valid VB6 to VB.NET
body: <p>I have a project that I have converted from VB6 to VB.NET using Visual Studio 2008. I have an line of code that throws and an error at run time, but not in compiling. The line of worked well in VB6. The code:</p>
  
  <pre><code>SizingLabel.Font = VB6.FontChangeName(SizingLabel.Font, FromObject.Font)
  </code></pre>
  
  <p>The error is:</p>
  
  <blockquote>
    <p>Conversion from type 'Font' to type 'String' is not valid.</p>
  </blockquote>
  
  <p>I am not sure why it is throwing an <code>InvalidCastException</code> I thought font was a string. I tried to add <code>.ToString()</code> to everything, but when I do that I get an error in the IDE:</p>
  
  <blockquote>
    <p>Value of type 'String' cannot be converted to 'System.Drawing.Font'.</p>
  </blockquote>
  
  <p>Can someone please point me in the right direction?</p>