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 / Visual Studio.NET / VS Tools for Office / February 2008

Tip: Looking for answers? Try searching our database.

Please help me get my bearings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Ellis - 12 Feb 2008 11:39 GMT
Hi, sorry if my line of questioning is way off whack... I think I'm pretty
far off at the moment.  I keep on reading about host controls found in
Microsoft.Office.Tools.Word, and how they are extended versions of the
regular interop ones.  The documentation says:

"When you create a Microsoft Office Word 2003 application, Microsoft Visual
Studio 2005 Tools for the Microsoft Office System automatically creates a
Document host item within the project. You reference the Document host item
using ThisDocument."

Now, I am creating an add-in for Word 2007 using Visual Studio 2005 and VSTO
SE, and no document host is in my project.  There is no ThisDocument.  All
of the documentation that I read makes it seem as though there should be,
and adding host controls is as easy as apple pie, but I can't seem to find
any bridge between the interop stuff in my add-in and the extended code
found in Microsoft.Office.Tools.Word.  As a matter of fact, I just checked
and my project didn't even have a reference to that assembly... ok... so I'm
guessing that I'm the problem here... and that I am way off somewhere... and
my guess is I probably don't need the extended host controls anyway.  I
can't seem to figure out how they are better... except that I can
drag-n-drop them at design-time... that is... assuming I have something that
I can drag-n-drop them onto... which I don't :o)

if anyone could straighten me out and get me pointed in the right direction,
it would be very much appreciated...

Thank you in advance,
Chris
Ivan A. Vasilyev - 16 Feb 2008 14:03 GMT
Hi

VSTO and VSTO SE are DIFFERENT versions of the technology. VSTO allows to
create "document-level" extensions (using ThisDocument) but VSTO SE does
not. SE (second edition) is light version of its big brother VSTO :)
VSTO 3.0  (built-in in VisualStudio 2008) is a evolution of VSTO, so you
could use it for your tasks.
But the major consideration you should take into account is VSTO SE is free,
but VSTO is not free :)

Hope this helped.

> Hi, sorry if my line of questioning is way off whack... I think I'm pretty
> far off at the moment.  I keep on reading about host controls found in
[quoted text clipped - 24 lines]
> Thank you in advance,
> Chris

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.