c# - Communication between VSTO and .XLL -
in visual studio, have solution. in solution have 2 projects. 1 vsto can make plugin excel. other project creating .xll file can have custom functions.
the vsto helps create login system on excel can things.
however, since want our users able use our custom functions have log in. think these 2 projects can't communicate directly .xll addin wouldn't know if user logged in or not.
is there anyway these 2 projects communicate? perhaps via middle-man class static variables?
edit:
more information:
both projects written in c# code. able .xll file using exceldna.
so if there's way can create maybe c# class can coordinate or share data between 2 projects great. since login data isn't thing want share.
i'm hoping in class there static boolean variable holding whether user logged in. vsto set boolean value , .xll it.
you add hidden function [excelfunction(ishidden=true)] .xll, can call vsto add-in application.run.
Comments
Post a Comment