C#Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

I am finally finished with the code in the application I was creating! Well, now that I have it complete, I need to make it an executable file so my boss can just click on an icon and begin using it. The only problem is I don't know what to do or where to start. I read through some articles in the MSDN, but it made me even more confused. If anyone can help me I would greatly appreciate it.

Using:
Excel 2003 automation code in C#
Sql Server database

Also, how do I deal with the connections to my database after an executable has been created? BTW this is the first time I've ever had to create an executable in any environment.

I figured out that it is almost impossible to create an executable file with a VSTO application. The best way is to make the assemblies in sync with the Excel or Word file that you are using. Also, the permissions on the .NET Framework have to be changed. You have to grant full permissions to the project .dll file for proper execution of the VSTO application.