p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Office > Other Office > BOOK: Professional VSTO 2005 ISBN: 0-471-78813-9
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional VSTO 2005 ISBN: 0-471-78813-9
This is the forum to discuss the Wrox book Professional VSTO 2005: Visual Studio 2005 Tools for Office by Alvin Bruney; ISBN: 9780471788133

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional VSTO 2005 ISBN: 0-471-78813-9 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 9th, 2007, 09:41 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Running Examples - Office Document Customization

Hi,

I'm trying to run the examples and I keep getting the message "Office Document Customization not available"Access to the path 'C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples ' is denied. How do I get around this issue (is it a VSTO issue?)

Thanks in advance


************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples ' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at AllSamples.Sheet1.FileProcessor(String fileName) in C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples \Sheet1.cs:line 47
   at AllSamples.Sheet1.Listing_2_1() in C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples \Sheet1.cs:line 55
   at AllSamples.Sheet1.Sheet1_Startup(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples \Sheet1.cs:line 261
   at Microsoft.Office.Tools.Excel.Worksheet.OnStartup()
   at AllSamples.Sheet1.FinishInitialization() in C:\Documents and Settings\Administrator\My Documents\VSTO Wrox Book\Ch02 code\Chapter_2\AllSamples\C#\AllSamples\AllSamples \Sheet1.Designer.cs:line 59
   at Microsoft.VisualStudio.Tools.Applications.Runtime. AppDomainManagerInternal.ExecutePhase(String methodName)
   at Microsoft.VisualStudio.Tools.Applications.Runtime. AppDomainManagerInternal.ExecuteCustomizationStart upCode()
   at Microsoft.VisualStudio.Tools.Applications.Runtime. AppDomainManagerInternal.ExecuteCustomization(IHos tServiceProvider serviceProvider)


************** Loaded Assemblies **************




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old December 15th, 2007, 07:14 PM
Authorized User
 
Join Date: Sep 2007
Location: , VA, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...OK,
Build the app.

Easy enough.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Office Automation- open word document ayazhoda Access VBA 2 November 4th, 2008 12:01 PM
Running the examples on a stand alone computer MustfaZfar BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 0 December 13th, 2007 01:49 PM
Error - Running examples BadKarma BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 October 31st, 2007 06:44 PM
Office Document Preview Pictures Hunter VBScript 1 September 30th, 2004 10:54 AM
Running examples in text jleeheikkinen BOOK: Professional Crystal Reports for VS.NET 2 January 15th, 2004 05:33 PM



All times are GMT -4. The time now is 05:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc