Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2000

Status
Not open for further replies.

rjbalicki

Programmer
Jan 30, 2001
28
US

We run NT 4.0 and have Office 2000 here. I've installed the SDK 1.0 of .NET and want to try to automate Excel using C#.

Do I need some sort of wrapper to do this because this version of Excel isn't .NET ready?

I've automated Excel from VB 5 & 6 and Delphi, but I have no idea what I need for C#. Any pointers would be helpful.
 
C# can automate Excel thru Excel's COM interface. You'd point Visual Studio at the Office automation typelib file, and it would automatically generate the COM-callable wrapper classes for you.

Do a search here, and in the VB.NET forum for helpful tips.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I think that's my issue. We don't use the new versions of Visual Studio .NET, I'm just winging it using the SDK (and 1.0 at that).

Is there a comparable command line or third party solution that can create the COM callable wraper? Or is Visual Studio .NET the only way?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top