unable to open word file... RRS feed

  • Question

  • hi,
    i am using visual studio 2008 pro/3.5 .net sp1

    i am trying to open a word 2003 file in visual basic using the code given in help


    however, it gives me error as

    Error    1    'Application' is not a member of 'WindowsApplication1.writefile'.

    do i need to import something?
    i am a newbie in vb (detail step will help)
    Sunday, December 28, 2008 1:47 AM

All replies

  • See this article for how to use "Office interop" from .NET. Since you are working with a Windows Form, and not VSTO, the MSDN documentation for VSTO won't help you. Please also note that the VSTO forum doesn't support general "Office interop". You'll find links for alternate venues in the VSTO forum's Please Read First message.
    Cindy Meister, VSTO/Word MVP
    Monday, December 29, 2008 8:23 AM