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 / March 2007

Tip: Looking for answers? Try searching our database.

Performance Problem of VSTO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy Li - 05 Mar 2007 08:58 GMT
Runtime environment:

2003Server/ VSTO 2005 Runtime + VSTO2005 Rutime SE / Office2003 + SP1
/ .Net Framework2.0+Framework3.0 / .NET 2 My assembly

My problem is that my word VSTO application with a custom action panel loads
in about 15 seconds!
But DebugView shows that my code finishes after only 6 seconds...Well,the
time between VSTO
automatically generated code this.OnStartup and my ThisDocument_Startup
invoked is about 9s.

What's happened in this 9s? Is that VSTO code load consumed cost?

(Custom property -->Load CLR --> Create AppDomain -- > Download
assembly-->Hook up events -->New / Open event fires  )

If so, how can I step up performance?

Have anyone ran into this kind of problem too? Maybe someone has an idea
what to do?

Thanks so much!

Roy Li
China
Bryan Phillips - 14 Mar 2007 02:56 GMT
Try using ngen to see if there is a performance difference and
troubleshoot from there.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> Runtime environment:
>
[quoted text clipped - 22 lines]
> Roy Li
> China

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.