locked
Dll Compatibility With .Net Framework 4.0 RRS feed

  • Question

  • I have C# windows project in .net framework 2.0
    I have to upgrade this project to .net framework 4.0 in 64 bit Windows 7 Operating System.

    I have few dll(s) references add in my current project. I want to know that will these dll(s) work with .net framework 4.0 and 64 bit or not.

    Dll(s) list are as follows:-
    1) office.dll (Version=7.0.3300.0)
    2) microsoft.vbe.interop.dll (Version=10.0.4504.0)
    3) interop.shdocvw.dll (Version=1.1.0.0)
    4) interop.scripting.dll (Version=1.0.0.0)
    5) VBIDE.dll (Version=5.3.0.0)
    6) Microsoft.mshtml.dll (Version=7.0.3300.0)
    7) Microsoft.Office.Interop.Excel.dll (Version=10.0.4504.0)
    8) Microsoft.Office.Interop.Word.dll (Version=10.0.4504.0)
    9) Microsoft.Office.Interop.Outlook.dll (Version=10.0.4504.0)

    I have checked the updated version that compatible with 4.0 but i need compatibility for these above mentioned dll version list

    • Moved by Amanda Zhu Thursday, May 9, 2013 6:42 AM move to a more appropriate forum
    Wednesday, May 8, 2013 7:11 AM

Answers

  • Hi Devashish,

    Thanks for posting on this forum.

    Based on your description, it seems that you need to know whether .net 4.0 is compatible with Office 2000 PIA or not.

    Since the Office 2000 is expired at 2009/7/14: http://support.microsoft.com/lifecycle/?p1=2484 And .net 4.0 release at 2011, so there is no system test they are compatible or not.

    And I suggest you don't try office 2000 PIA on .net 4.0FM. For the requirements on office 2000, you can try .net fm 1.1.

    I hope this will be helpful.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 9, 2013 1:04 PM
  • Hi Devashish,

    For the first one,

    >>1) interop.shdocvw.dll (Version=1.1.0.0)

    >>2) interop.scripting.dll (Version=1.0.0.0)

    Actually, these two dll is interop dll, they are wrapped from shdocvw.dll and scripting.dll. You can try to directly add the two references to into your .net 4.0 project, and VS will generate the related interop assemblies. So you don't need to suffer from this kind of issues.

    >>3) VBIDE.dll (Version=5.3.0.0)

    This dll is used by VS, in your newly development, this dll should not be used.

    >>4) Microsoft.mshtml.dll (Version=7.0.3300.0)

    Yes.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, May 10, 2013 9:40 AM

All replies

  • Hi Devashish,

    Thanks for posting on this forum.

    Based on your description, it seems that you need to know whether .net 4.0 is compatible with Office 2000 PIA or not.

    Since the Office 2000 is expired at 2009/7/14: http://support.microsoft.com/lifecycle/?p1=2484 And .net 4.0 release at 2011, so there is no system test they are compatible or not.

    And I suggest you don't try office 2000 PIA on .net 4.0FM. For the requirements on office 2000, you can try .net fm 1.1.

    I hope this will be helpful.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 9, 2013 1:04 PM
  • Thanks Mike for the reply,

    This means following dll(s)
    1) microsoft.vbe.interop.dll (Version=10.0.4504.0)
    2) Microsoft.Office.Interop.Excel.dll (Version=10.0.4504.0)
    3) Microsoft.Office.Interop.Word.dll (Version=10.0.4504.0)
    4) Microsoft.Office.Interop.Outlook.dll (Version=10.0.4504.0)
    5) office.dll (Version=7.0.3300.0)

    support for office 2000.
    I have to use this on office 2010 so following versions i have to use
    1) microsoft.vbe.interop.dll (Version=14.0.0.0)
    2) Microsoft.Office.Interop.Excel.dll (Version=14.0.0.0)
    3) Microsoft.Office.Interop.Word.dll (Version=14.0.0.0)
    4) Microsoft.Office.Interop.Outlook.dll (Version=14.0.0.0)
    5) office.dll (Version=14.0.0.0)

    Could you please tell me about other following dll(s)
    1) interop.shdocvw.dll (Version=1.1.0.0)
    2) interop.scripting.dll (Version=1.0.0.0)
    3) VBIDE.dll (Version=5.3.0.0)
    4) Microsoft.mshtml.dll (Version=7.0.3300.0)

    Are these dll(s), compatible with .net framework 4.0 with windows 7, 64 bit machine


    Thanks & Regards Devashish Das



    Thursday, May 9, 2013 2:06 PM
  • Hi Devashish,

    For the first one,

    >>1) interop.shdocvw.dll (Version=1.1.0.0)

    >>2) interop.scripting.dll (Version=1.0.0.0)

    Actually, these two dll is interop dll, they are wrapped from shdocvw.dll and scripting.dll. You can try to directly add the two references to into your .net 4.0 project, and VS will generate the related interop assemblies. So you don't need to suffer from this kind of issues.

    >>3) VBIDE.dll (Version=5.3.0.0)

    This dll is used by VS, in your newly development, this dll should not be used.

    >>4) Microsoft.mshtml.dll (Version=7.0.3300.0)

    Yes.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, May 10, 2013 9:40 AM
  • Now i got my solution here.

    Thanks Mike for the valuable reply to me.


    Thanks & Regards Devashish Das

    Friday, May 10, 2013 10:04 AM