Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai all,

I have to show Microsoft agent file in my Form..

I used this codes..

AgentObjects.IAgentCtlCharacter character;
this.axAgent1.Characters.Load("merlin", Application.StratUpPath+\\merlin.acs");
this.character = this.axAgent1.Characters["merlin"];
this.character.Show(null);


but the character is not showing inside my winform.. it is showing out side of my form..

when i minimize my form agent should also minimize.. what should i do..?

Please help..
Posted

1 solution

This[^] article might help you. It lists a Hide method that can be used to hide the agent.

Note that Agent is a deprecated technology.
 
Share this answer
 
Comments
Philippe Mori 23-Aug-11 8:14am    
Effectively... Your should take your inspiration from recent applications instead.
[no name] 23-Aug-11 14:47pm    
Are you aware of any technology that replaces MS Agent?
Philippe Mori 23-Aug-11 15:03pm    
No... I was suggesting not to uses them anymore since it is not the current trend in new software to have them.

I never program with them and I find them more annoying than useful.
[no name] 23-Aug-11 15:07pm    
MS Agent had always been controversial :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900