Results 1 to 3 of 3

Thread: Vsto

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2008
    Posts
    43

    Vsto

    I've happily done nearly all coding using VB 6 to develop DLLs for Office
    97-2003.

    I expect to build a PC later this year, so I thought that it was about time
    I considered getting Office 2007.

    While perusing the Office 2007 pages, I saw a link for VSTO, expecting it to
    take me to a product page. Instead, it took me to what looks like an info/resource page for VSTO 2005 and VSTO 2005 SE.

    I then went to MSFT's retail licensing page and found a license only for
    VSTO 2003, which I already have.

    So what's the poop on VSTO?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Smile Re: Vsto

    VSTO, or Visual Studio Tools For Office is not a product per-se which you can purchase. Rather, it's a freeware add-on or Visual Studio containing callable classes and method "wrappers" specifically for the purpose of interacting with MS Office applications.

    Where it is:
    You can download it free here http://www.microsoft.com/downloads/d...displaylang=en and don't need to buy a licence, though you will need a copy of Visual Studio to use it (ok just checked the requirements from that page & you'll need VS.Net 2005 or above).

    What it is:
    If you're asking what it is, then think of all officve versions, 2007 (and the next one too) included as containing a COM based / VB6-style programming library and interface - i.e. you hit Alt+F11 in any of the office programs in any version and you're presented with a VBA editor which is remarkably like VB6 designed for interaction with the office apps - not .Net like at all.

    VSTO provides you with libraries which you can use in VS.Net. Once added, you can type Dim xlObj as Excel.Application and all the methods and intellisense you're used to in office are there. Behind the scenes it takes your .Net written code and converts it to old style COM code to run against the office applications.

    2003 / 2007 specific versions:
    Finally, if you're asking where the 2007 specific version is - take a look at that link, the 2003 and 2007 office versions can both be interacted with, by using this same, single version of VSTO.

    Hope this helps.
    Last edited by alex_read; Apr 21st, 2008 at 04:25 AM.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2008
    Posts
    43

    Re: Vsto

    Quote Originally Posted by alex_read
    VSTO, or Visual Studio Tools For Office is not a product per-se which you can purchase. Rather, it's a freeware add-on or Visual Studio containing callable classes and method "wrappers" specifically for the purpose of interacting with MS Office applications.

    Where it is:
    You can download it free here http://www.microsoft.com/downloads/d...displaylang=en and don't need to buy a licence, though you will need a copy of Visual Studio to use it (ok just checked the requirements from that page & you'll need VS.Net 2005 or above).

    What it is:
    If you're asking what it is, then think of all officve versions, 2007 (and the next one too) included as containing a COM based / VB6-style programming library and interface - i.e. you hit Alt+F11 in any of the office programs in any version and you're presented with a VBA editor which is remarkably like VB6 designed for interaction with the office apps - not .Net like at all.

    VSTO provides you with libraries which you can use in VS.Net. Once added, you can type Dim xlObj as Excel.Application and all the methods and intellisense you're used to in office are there. Behind the scenes it takes your .Net written code and converts it to old style COM code to run against the office applications.

    2003 / 2007 specific versions:
    Finally, if you're asking where the 2007 specific version is - take a look at that link, the 2003 and 2007 office versions can both be interacted with, by using this same, single version of VSTO.

    Hope this helps.
    Thanx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width