<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Color not working anymore after referencing Inventor to vb.net?? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305171#M36168</link>
    <description>&lt;P&gt;How do I do that otherwise some smartypants will whinge about double posts?&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2016 08:11:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-03T08:11:49Z</dc:date>
    <item>
      <title>Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305159#M36165</link>
      <description>&lt;P&gt;Hi I have a form that I created in vb.net which had no errors untill I refrenced the Inventor "Autodesk.Inventor.Interop.dll" now anything to do with color such as the code bellow has an error stating that "Black is not a member of color"? Thats really anoying dose anybody know how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  'Numeric value check Angle 2 section...S
        If IsNumeric(DataGridView2.Rows(6).Cells(1).Value) Then
            'Restores font style to proper values if error occoured before...
            DataGridView2.Rows(6).Cells(1).Style.ForeColor = Color.Black
            DataGridView2.Rows(6).Cells(1).Style.BackColor = Color.White
        Else&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236568i5C3EF39F033655B8/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="test.png" title="test.png" /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305159#M36165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T08:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305164#M36166</link>
      <description>&lt;P&gt;It is better to post the VB codes in its correct forum, so the following link is for VB.net.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-basic-customization/bd-p/33" target="_blank"&gt;http://forums.autodesk.com/t5/visual-basic-customization/bd-p/33&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:09:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305164#M36166</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2016-05-03T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re : Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305170#M36167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know the Inventor COM API but it may contain a 'Color' type which should create a conflict with the System.Drawing.Color one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using the fully qualified name:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DataGridView2.Rows(6).Cells(1).Style.ForeColor = System.Drawing.Color.Black
DataGridView2.Rows(6).Cells(1).Style.BackColor = System.Drawing.Color.White&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 May 2016 08:11:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305170#M36167</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-05-03T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305171#M36168</link>
      <description>&lt;P&gt;How do I do that otherwise some smartypants will whinge about double posts?&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305171#M36168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T08:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305180#M36169</link>
      <description>&lt;P&gt;IMO you're in the right place as your request is about .NET.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:17:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305180#M36169</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-05-03T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re : Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305182#M36170</link>
      <description>&lt;P&gt;Fair enougth this works... Why is this happening then? (just trying to gain understanding)&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305182#M36170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T08:18:20Z</dc:date>
    </item>
    <item>
      <title>Re : Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305202#M36171</link>
      <description>&lt;P&gt;As I said, two different namespaces may contain a type (class) with the same name so, you need to differentiate them using their fully qualified names (or aliases if this exists with VB).&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 08:39:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6305202#M36171</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-05-03T08:39:04Z</dc:date>
    </item>
    <item>
      <title>Re : Color not working anymore after referencing Inventor to vb.net??</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6307716#M36172</link>
      <description>&lt;P&gt;makes sense &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 11:34:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-not-working-anymore-after-referencing-inventor-to-vb-net/m-p/6307716#M36172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T11:34:01Z</dc:date>
    </item>
  </channel>
</rss>

