AxSHDocVw

I am using .net 2005 which was upgraded from .net 2003 about 10 days ago. I did a Help.Check for Updates yesterday and now I cannot compile my project. I believe it did an upgrade of Office.

In the references of the project I found that the reference to AxSHDocVw has been removed and Microsoft.Office.Core was inserted which does not have a reference to AxSHDocVw.

Does anyone know a work around or where I can go to do research on this. I have searched Google and there are articles on AxSHDocVw but nothing on it being replace with something else.

In the project I have the following defined private AxSHDocVw.AxWebBrowser axWebBrowser1 which worked because AxSHDocVw was in the references.

Paul Bethel

TradeService Corp.



Answer this question

AxSHDocVw

  • Yoseph

    Thanks for your response.

    I did an un-install and then did a re-install and I got it back.

    Please tell me what is the new web browser control so that I can get away from COM controls.

    Paul


  • barnefr

    That's a bit rude!

    It certainly doesn't lose the COM component on the upgrade, as that came thru ok for me, so I guess it's that office upgrade.

    It's probably decided for you that you should be using the new web browser control instead of the COM control and has removed the COM reference. That's a bit weird though, because that dll is part of IE, not office.

    Check that the dll is still on your system and see if you can add it to your toolbox (Choose items...). From what I remember, that should automatically add the references for you.

    HTH,



  • Calo

    It should be in the toobox under 'All Windows Forms' at the bottom of the list called 'WebBrowser'.

    HTH,



  • AxSHDocVw