Hello Everyone,
I am trying to use msagent in an application. I have all think I have all the msagent stuff installed at least it works with VBScript. I found a web site telling how to make it work in C# but when I do what it says and code it the way it says it does not work. Here is what the web article says to do.
At a command prompt type:
aximp %systemroot%\msagent\agentctl.dll
The article says it creates two dll's AxAgentObjects.dll &
AgentObjects.dll and it does, it put those two files in C:\winnt\msagent. Then in the code it says to code "using AgentObjects;" place this code in the section with using system; but when I compile the code it says:
The type namespace name AgentObjects could not be found.
I must have missed something in the article because I can't seem to get it to work. I downloaded there code and it runs fine, but if I paste there code into my program or code my own I still get the same error here is the url of the article.
Thanks for any help I can get.
Randy
I am trying to use msagent in an application. I have all think I have all the msagent stuff installed at least it works with VBScript. I found a web site telling how to make it work in C# but when I do what it says and code it the way it says it does not work. Here is what the web article says to do.
At a command prompt type:
aximp %systemroot%\msagent\agentctl.dll
The article says it creates two dll's AxAgentObjects.dll &
AgentObjects.dll and it does, it put those two files in C:\winnt\msagent. Then in the code it says to code "using AgentObjects;" place this code in the section with using system; but when I compile the code it says:
The type namespace name AgentObjects could not be found.
I must have missed something in the article because I can't seem to get it to work. I downloaded there code and it runs fine, but if I paste there code into my program or code my own I still get the same error here is the url of the article.
Thanks for any help I can get.
Randy