Varun


hi all,

please help me in this...

requirement is....

I M WORKING WITH OFFICE 2007 AND ASP.NET 2.0 NO (SHAREPOINT SERVER)

I WANT TO USE VSTO.

AND WEB SERVICE WITH MY APPLICATION.

I HAVE A EXCEL SHEET WHICH HAS TWO NUMBERS AND ON THE CLICK OF THE BUTTON(LOCATED ON EXCEL SHEET) SHOULD CALL A WEBSERVICE IN MY APPLICATION TO DO A SIMPLE FUNCTION.

THANKS A LOT




Re: Visual Studio Tools for Office vsto and excel services

Nathan Anderson - MSFT

From my limited knowledge of VSTO, using web services should be the same as from other managed code.

Moving to VSTO forum for any additional input.





Re: Visual Studio Tools for Office vsto and excel services

Steve Hansen

Hi,

This is no problem - you do it exactly like you would in any other Visual Studio project. Simply Add a Web Reference to your project, add a UI element to allow the user to initiate the action (button, ribbon or custom task pane), and handle to appropriate event to make the call to your web service (using values from your worksheet as input parameters).

I assume you're using Visual Studio 2005, in which case you'll need to create an Excel add-in to do this (Excel 2007 document level solutions aren't supported at design time in VS 2005).

Regards,

Steve






Re: Visual Studio Tools for Office vsto and excel services

Ji Zhou ¨C MSFT

Hi Varun,

I have seen another same thread you posted in this forum. I have replied you there:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2023144&SiteID=1

Thanks

Ji