Re: which folder are add-ins running from
- From: "Austin Myers" <austinm@xxxxxxx>
- Date: Mon, 15 Dec 2008 08:24:03 -0600
Which OS are we looking at? (XP/Vista) If you look at the folders
permissions what does it tell you?
I know you suggested forgetting the setup part of your project but that is
where you set your file/folder permissions. (Note, you must do this as VS
does NOT do it on its own with Click Once deployment when it comes to Office
add-ins.) Also, if you are using any registry settings you must also have
permission to access them as you want. This too must be set with your setup
project. It sounds as if you have permission to run the add-in, but it does
not have permission to access the file in its current location.
Keep in mind, you MUST be the machines administrator to make these changes
and you must take into account any system wide "policies" put in place by
your IT folks.
You might want to take a look at this:
http://msdn.microsoft.com/en-us/library/system.security.permissions.fileiopermission.aspx
Austin Myers
AT&W Technologies
Creators of PowerPoint add-ins
"JS." <JS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D2AA68F8-57B2-42C7-91E3-883241B92D4E@xxxxxxxxxxxxxxxx
hi, Austin,
Maybe we dont talk about the setup first.
Everything works fine with I run the add-in from Visual Studio
directly, since the build process with VSTO will deploy the add-in
automatically on local machine. However, when I try to open PowerPoint
directly in the same development PC, the problem appears. The
customtaskpane
shows. But when I clicked the button, the file doesnt get loaded.
If it is the permission issue, how to change the setting? Thanks.
JS.
"Austin Myers" wrote:
It really sounds like a permissions issue. Unfortunately without really
looking at your project, how you have it structured, what the setup
includes, etc. its just too hard to even guess why its happening.
Austin Myers
AT&W Technologies
Creators of PowerPoint add-ins
"JS." <JS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:77CDC01D-E4C3-47CC-B37B-22603DC5C8A7@xxxxxxxxxxxxxxxx
hi, Austin,
Just tried to change load behavior to 2. However, the add-in didnt
appear after changing to 2.
The add-in is created using VSTO. Inside the code, I created a
customtaskpane. Everything works fine when I run directly from the
visual
studio. When press F5, PowerPoint will be loaded automatically, and the
add-in is also loaded, and works as expected. When I click the button
on
the
customtaskpane, some files inside the "icon" folder (I put in under the
bin\debug folder) will be loaded for computation.
The problem now is that the add-in does not run correctly when I
open
PowerPoint directly. The customtaskpane is loaded. However, when I
click a
button in the customtaskpane, I'm prompted that the files cannot be
loaded.
The "icon" sub-folder has already been created during the deployment
using
Windows Installer, and all the needed files are copied into the folder.
Any idea? Thanks.
JS.
"Austin Myers" wrote:
"JS." <JS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FC5CFF46-02C7-4184-A3AC-4F724D10C5CE@xxxxxxxxxxxxxxxx
hi, Austin,
Yes, I have cleaned the build from Visual Studio, and rebuild
the
whole
thing for many times. But the problem still there.
the load behavior is set to be 3.
There is your problem, load behavior MUST be a 2. Change it and try
starting PPT again. If it does not load, look at the reg and if it
has
changed back to a 3 it is NOT being loaded and the menu you see is a
left
over.
Is this on Vista systems or XP?
Austin Myers
AT&W Technologies
Creators of PowerPoint add-ins
.
- Follow-Ups:
- References:
- which folder are add-ins running from
- From: JS.
- Re: which folder are add-ins running from
- From: Austin Myers
- Re: which folder are add-ins running from
- From: JS.
- Re: which folder are add-ins running from
- From: Austin Myers
- Re: which folder are add-ins running from
- From: JS.
- Re: which folder are add-ins running from
- From: Austin Myers
- Re: which folder are add-ins running from
- From: JS.
- Re: which folder are add-ins running from
- From: Austin Myers
- Re: which folder are add-ins running from
- From: JS.
- which folder are add-ins running from
- Prev by Date: Re: What happened to rotate in 2007?
- Next by Date: how to create a Banner
- Previous by thread: Re: which folder are add-ins running from
- Next by thread: Re: which folder are add-ins running from
- Index(es):