G
Guest
Hello,
I have a .NET winforms UserControl hosted inside a HTML page which is
referenced as a Outlook Folder Home Page. (Kind of like the recent MSFT CRM
Integration example)
The .NET UserControl is initialized by using the following bit of jscript in
the HTML:
var oApp = window.external.OutlookApplication;
SomeControl.Initialize(oApp);
So what I need some info around is this: How do I, from my .NET UserControl,
gain access back into my .NET Outlook Add-in instance?
Paraphrased, I need to be able to call .NET functions from my UserControl
(the one hosted in the HTML page) back into the Outlook-Addin.
In jscript, in the same HTML page, I can reference the Add-In using the
COMAddIns enumeration, i.e (roughly):
var addin = app.COMAddIns.Item("MyAddIn.Connect");
var h = addin.Object;
h.AdotNetFunctionInMyAddIn("hello")
But how would I do this from within my .NET UserControl in C#?
Any help, clues, ideas appreciated. Thanks!
David
I have a .NET winforms UserControl hosted inside a HTML page which is
referenced as a Outlook Folder Home Page. (Kind of like the recent MSFT CRM
Integration example)
The .NET UserControl is initialized by using the following bit of jscript in
the HTML:
var oApp = window.external.OutlookApplication;
SomeControl.Initialize(oApp);
So what I need some info around is this: How do I, from my .NET UserControl,
gain access back into my .NET Outlook Add-in instance?
Paraphrased, I need to be able to call .NET functions from my UserControl
(the one hosted in the HTML page) back into the Outlook-Addin.
In jscript, in the same HTML page, I can reference the Add-In using the
COMAddIns enumeration, i.e (roughly):
var addin = app.COMAddIns.Item("MyAddIn.Connect");
var h = addin.Object;
h.AdotNetFunctionInMyAddIn("hello")
But how would I do this from within my .NET UserControl in C#?
Any help, clues, ideas appreciated. Thanks!
David