Click here to Skip to main content
15,889,403 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: The Duct Tape Programmer (aka the squatter) Pin
Pete O'Hanlon25-Sep-09 9:38
mvePete O'Hanlon25-Sep-09 9:38 
AnswerRe: The Duct Tape Programmer (aka the squatter) Pin
Paul Conrad13-Oct-09 7:55
professionalPaul Conrad13-Oct-09 7:55 
QuestionDesign a system to Transform source Files to target file. Pin
lucky akky21-Sep-09 20:54
lucky akky21-Sep-09 20:54 
AnswerRe: Design a system to Transform source Files to target file. Pin
Mycroft Holmes27-Sep-09 22:37
professionalMycroft Holmes27-Sep-09 22:37 
AnswerRe: Design a system to Transform source Files to target file. Pin
puri keemti7-Dec-09 0:43
puri keemti7-Dec-09 0:43 
QuestionPageRank and its mathematics: Explanation needed Pin
kentipsy20-Sep-09 8:41
kentipsy20-Sep-09 8:41 
Answerignore -- repost Pin
Luc Pattyn20-Sep-09 9:11
sitebuilderLuc Pattyn20-Sep-09 9:11 
Questionhow to pass excel application object to automation object? Pin
SRKSHOME17-Sep-09 20:51
SRKSHOME17-Sep-09 20:51 
Hi,
I am working on shared add-in in c# for Excel. Let us consider 3 components A,B,C. Where A is a Shim,B is Shared an add-in(used IDTExtensibility interface) which creates all tool bars, menu items for Excel and C is an automation add-in which contains UDFs.

I have static property in Automaion add-in(C) which set/gets Excel Application object. Whenever OnConnection(..) of shared add-in is called from the framework, I am setting the Excel application object using this property. So When I type some UDF in Excel, it uses this Excel application object for further work on Excel.

Recently I tried to remove the Shim and put the VSTO on it. When I use VSTo, it doesn't use shared add-in.Here also I set the Excel application object by using static property. Now I have I enabled this Auotomation add-in(add-in->Options->Automation Tab).But when I type some UDF in Excel cell, excel object is not available that is set from VSTO.How do I pass reference to Excel object to Automation add-in so that the same Excel Object is available in Automation add-in when we type some UDFs.

What I observed here is VSTO and Automation add-ins are working in different AppDomains.

Please help me.
Thanks.
AnswerRe: how to pass excel application object to automation object? Pin
David Skelly17-Sep-09 22:48
David Skelly17-Sep-09 22:48 
QuestionDesign Pattern Pin
Chiman111-Sep-09 10:02
Chiman111-Sep-09 10:02 
AnswerRe: Design Pattern Pin
Eddy Vluggen13-Sep-09 2:22
professionalEddy Vluggen13-Sep-09 2:22 
GeneralRe: Design Pattern Pin
Chiman118-Sep-09 9:57
Chiman118-Sep-09 9:57 
Questionwhich is the best design or architecture for developing small windows apps using c#? Pin
jarajeshwaran9-Sep-09 8:01
jarajeshwaran9-Sep-09 8:01 
AnswerRe: which is the best design or architecture for developing small windows apps using c#? Pin
Richard MacCutchan13-Sep-09 1:51
mveRichard MacCutchan13-Sep-09 1:51 
AnswerRe: which is the best design or architecture for developing small windows apps using c#? [modified] Pin
Eddy Vluggen13-Sep-09 3:01
professionalEddy Vluggen13-Sep-09 3:01 
Questioncode required Pin
vishwjeet7-Sep-09 10:08
vishwjeet7-Sep-09 10:08 
AnswerRe: code required Pin
Luc Pattyn7-Sep-09 10:44
sitebuilderLuc Pattyn7-Sep-09 10:44 
AnswerRe: code required Pin
Pete O'Hanlon7-Sep-09 11:20
mvePete O'Hanlon7-Sep-09 11:20 
QuestionHow to structure your entities Pin
Mycroft Holmes6-Sep-09 16:27
professionalMycroft Holmes6-Sep-09 16:27 
AnswerRe: How to structure your entities Pin
David Skelly8-Sep-09 2:42
David Skelly8-Sep-09 2:42 
GeneralRe: How to structure your entities Pin
Mycroft Holmes8-Sep-09 14:09
professionalMycroft Holmes8-Sep-09 14:09 
QuestionDynamic Report Generator Framework Design using XML and C# Pin
RK KL5-Sep-09 13:49
RK KL5-Sep-09 13:49 
QuestionDifferent UML Diagrams for Web Based "Recruitment Management System" Pin
Amir irfani29-Aug-09 1:08
Amir irfani29-Aug-09 1:08 
AnswerRe: Different UML Diagrams for Web Based "Recruitment Management System" Pin
Henry Minute5-Sep-09 14:17
Henry Minute5-Sep-09 14:17 
QuestionRe: Different UML Diagrams for Web Based "Recruitment Management System" Pin
Eddy Vluggen5-Sep-09 23:51
professionalEddy Vluggen5-Sep-09 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.