Board index » Web Programming » get data from excel and word

get data from excel and word

Web Programming240
I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for

Office.



I just want to be able to get data from a word 2003 document and put it in a

label. How can I do that?


-
 

Re:get data from excel and word

On Jun 25, 12:16 am, "Kat" <KatMagicB...@yahoo.com>wrote:

Quote
I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for

Office.



I just want to be able to get data from a word 2003 document and put it in a

label. How can I do that?



yap



you need a activex control...

Tx office doucument viewer... or some thing like that



Masudur

munnacs.110mb.com">munnacs.110mb.com





-

Re:get data from excel and word

"Kat" <KatMagicBlue@yahoo.com>wrote in message



Quote
I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for

Office.



I just want to be able to get data from a word 2003 document and put it in

a label. How can I do that?



Ignore the earlier reply about ActiveX controls...



If you want to extract tabular data from Excel, you can treat it as a

datasource with ADO.NET:

http://www.google.co.uk/search?sourceid" rel="nofollow" target="_blank">www.google.co.uk/search=navclient&aq=t&hl=en-GB&ie=UTF-8&rlz=1T4GGIH_en-GBGB220GB220&q=Excel+%22ADO%2eNET%22



However, there is no OleDb provider for Word, so you will need something

like this:

www.aspose.com/Products/Aspose.Words/Default.aspx">www.aspose.com/Products/Aspose.Words/Default.aspx



Don't even think about trying to use server-side Office Automation in an

ASP.NET solution - Microsoft don't support it because it doesn't work:

http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;EN-US;q257757#kb2





--

www.markrae.net">www.markrae.net



-

Re:get data from excel and word

I do not know what you mean. What active x control. I search for Tx office

doucument viewer and do not find anything. when find, what do with it.





"Masudur" <munnacs@gmail.com>wrote in message

Quote
On Jun 25, 12:16 am, "Kat" <KatMagicB...@yahoo.com>wrote:

>I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for

>Office.

>

>I just want to be able to get data from a word 2003 document and put it

>in a

>label. How can I do that?



yap



you need a activex control...

Tx office doucument viewer... or some thing like that



Masudur

munnacs.110mb.com">munnacs.110mb.com









-

Re:get data from excel and word

"Kat" <KatMagicBlue@yahoo.com>wrote in message



Quote
I do not know what you mean. What active x control. I search for Tx

office doucument viewer and do not find anything. when find, what do with

it.



See me earlier reply...





--

www.markrae.net">www.markrae.net



-

Re:get data from excel and word

Thanks so much, exactly what I needed!



"Mark Rae" <mark@markNOSPAMrae.net>wrote in message

Quote
"Kat" <KatMagicBlue@yahoo.com>wrote in message

news:uvE$LvotHHA.3688@TK2MSFTNGP03.phx.gbl...



>I have Visual Studio 2005 and do not have Visual Studio 2005 Tools for

>Office.

>

>I just want to be able to get data from a word 2003 document and put it

>in a label. How can I do that?



Ignore the earlier reply about ActiveX controls...



If you want to extract tabular data from Excel, you can treat it as a

datasource with ADO.NET:

http://www.google.co.uk/search?sourceid" rel="nofollow" target="_blank">www.google.co.uk/search=navclient&aq=t&hl=en-GB&ie=UTF-8&rlz=1T4GGIH_en-GBGB220GB220&q=Excel+%22ADO%2eNET%22



However, there is no OleDb provider for Word, so you will need something

like this:

www.aspose.com/Products/Aspose.Words/Default.aspx">www.aspose.com/Products/Aspose.Words/Default.aspx



Don't even think about trying to use server-side Office Automation in an

ASP.NET solution - Microsoft don't support it because it doesn't work:

http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;EN-US;q257757#kb2





--

www.markrae.net">www.markrae.net





-