Locked LineShapeArray.vb

  • Friday, April 20, 2012 5:03 AM
     
     

    I migrate a project from vb 6.0 to vb.net 2008 after migrate in vb.net it make a new file LineShapeArray.vb. This file contain lot of errors like ' Type LineShape is not defined ', ' type ShapeContainer is not defined '

    My question is why this file has been created, what is the work if this file and how can I remove the errors.

    If someone know then please help me .

    Thanks.

All Replies

  • Monday, April 23, 2012 3:38 AM
    Moderator
     
     Answered

    Hi lokeshMasih,

    Welcome to the MSDN forum.

    Your issue is caused by the VS2008 doesn’t contain the correct version of PowerPacks.So one solution is downloading and adding reference to Power packs 2 (Microsoft.VisualBasic.PowerPacks.dll). Another solution is delete the powerpacks control and use the powerpacks that installed with VS2008.

    Hope this helps. 


    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

  • Tuesday, May 01, 2012 5:49 AM
    Moderator
     
     

    Hi lokeshMasih,

    We haven’t heard from you for several days. I’d like to mark my reply as answer firstly. If you have any additional questions, you also can unmark the replay and post your question here. 

    Sorry for any inconvenience and have a nice day.


    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

  • Friday, May 04, 2012 5:24 AM
     
     

    Thanks Mark Lu-lxf for reply me.

    I did install the Visual Basic Power Pack 3.0 and add Reference into my Project Now it's working fine.

    Thanks again.