|
|
 |
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.
|
 |

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
|
|
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 **************
|

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
|
|
...OK,
Build the app.
Easy enough.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |