joe25

Hi,

I want to create an exe from VS 2005 for Office that will run (once the user allows rights to run if necessary) without any install. I would like that whatever additional files (dll's or whatever) could be copied into a folder and the user would be able to just run the program without any installation. The app would be a standard program (no non-MS refererences/dll's/add-ins) and the user would have MS Office 2003 installed. The program runs fine from within VS 2005 for Office. How can I determine what files I need to include The program would be run once outside of Office. The program does not stay resident as the user runs Office. Do I use Publish with an option that I have yet to notice

This is sort of equivelent to providing a Word document with VBA code in Autoopen that runs and then ends with the 'quit' method.

thanks,

Joe



Re: Visual Studio Tools for Office can I create a an exe that I can copy into a folder?

Cindy Meister

Hi Joe

It's really not possible to do anything with .NET that doesn't require an install... Because .NET security requires that you grant explicit (and in the case of VSTO Full) permissions to run the applications.






Re: Visual Studio Tools for Office can I create a an exe that I can copy into a folder?

joe25

Dear Ms. Meister,

Thanks so much for your reply - you just saved me a lot of futile work. As a Word programmer I have benefited tremendously over the years from your expertise (whenever I see something with your name I pay extra attention to it) and I am very happy that you are still doing this kind of support. You are a true 'MVP' in every meaning of the word.

Joe