Question with Excel Automation Add-in

A

Anonymous

Hi,

I have created an add-in for excel using managed code (in this case I use
VC# express edition). In my class constructor, I have a call to my .NET
remoting object, e.g.

public AddInClass() {
// connect to remote server
ServerConnectObj conn = new ServerConnectObj();
// create remote object
RemoteType rObj = new RemoteType();
}

Whenever I have this remote server connection things going on in my
constructor, my automation add-in function would not be recognized by Excel.
Meaning, I can add the add-in into excel properly. But the function does not
show up on the insert function dialog box nor I can use it in my excel. I
have the dll for RemoteType in the same folder as my Excel Add-in dll. I
don't know what's going on here. Can someone please help? Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top