Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2003

Tip: Looking for answers? Try searching our database.

Automating Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fabio Coatis - 13 Nov 2003 18:41 GMT
Just created an Excel.dll with: TlbImp Excel9.olb Excel.dll

Then created the using directives:
using System;
using System.Reflection; // For Missing.Value and BindingFlags
using System.Runtime.InteropServices; // For COMException
using Excel;

But when I try to compile I got the error stating that I needed a
using directive or a reference to Assembly.

Sorry if this is basic but I´m quite new to .Net.

Thanks in advance
Scott Glasgow - 13 Nov 2003 19:52 GMT
try
using Microsoft.Office.Interop.Excel

> Just created an Excel.dll with: TlbImp Excel9.olb Excel.dll
>
[quoted text clipped - 10 lines]
>
> Thanks in advance
Phil Wilson - 14 Nov 2003 00:32 GMT
And think about using the official interop assemblies if you're using XP..

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/od
c_oxppias.asp


Signature

Phil Wilson [MVP Windows Installer]
----

> try
> using Microsoft.Office.Interop.Excel
[quoted text clipped - 13 lines]
> >
> > Thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.