0 Replies Latest reply on Feb 21, 2016 3:29 PM by janeg8307377

    swatch.item in vb.net

    janeg8307377 Level 1

      I get the following warning when i upgrade indesign script from vb6 to visual studio 2008:

      'UPGRADE_WARNING: Couldn't resolve default property of object myDoc.Swatches.Item(). Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2E C21E9037B2"'

                        

      .FillColor = myDoc.Swatches.Item(1)

       

      .StrokeColor = myDoc.Swatches.Item(1)

       

      How can i fix the problem?