Excel in SCSF

Topics: CAB & Smart Client Software Factory
Apr 24, 2009 at 3:56 PM
Hi,

I read few discussion where in we can implement office aplications hosting CAB application. In my case, we just need to launch few excel reports from CAB ( excel reports developed using VSTO- no changes to excel toolbars. just data population)

- I see that currently we can not add  VSTO excel worksheet to the existing modules ( C# project types)

Is there any way we can accompish having VSTO projects inside SCSF modules and launch excel sheets from Views?
Apr 28, 2009 at 1:34 PM
Is there any way we can accompish having VSTO projects inside SCSF modules and launch excel sheets from Views?

I would appreciate if any one can give me some direction over it...
Coordinator
Apr 29, 2009 at 7:32 PM

Hi msaivara,

 

Although I do not know your specific scenario, you can launch excel reports from a CAB application. I will share the steps it took me to do it which you might find useful:

1.       Create a new SCSF solution using the Guidance Package.

2.       Create a new Excel Workbook project in the solution.

3.       Add the Module and ModuleController classes to the Excel Workbook project (you can copy this from any other module generated with the recipe).

4.       Add an entry in the profile catalog to load the module .

 

Having performed the previous steps you will have a VSTO project, loaded as one of the modules of your application.

 

Please let me know if this helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman

Apr 30, 2009 at 6:22 PM
Edited Apr 30, 2009 at 6:22 PM
Thank for the help extended.. I followed your steps and was able to load it as one of the modules in SCSF.

This solves one half of my issue, other half ( might be specific to VSTO) is on how could I launch VSTO excel application and how I do I pass data from Windows app ( in this case SCSF) to VSTO excel application, etc..

Thanks..



Apr 3, 2012 at 6:11 PM

I need to create a VSTO Addin project.  Is it possible to use SCSF for this? If so how can I do it?

Apr 4, 2012 at 7:28 PM

Hi,

Based on my understanding, if what you are trying to achieve is to host a CAB application in a .net compatible application like Excel, as mentioned in this thread, the following articles might result handy:

Regards,

Agustin Adami
http://blogs.southworks.net/aadami