Windows agents

  • Thread starter Thread starter JR
  • Start date Start date
J

JR

Hi,

I want to check withc charakters are installed in windows
AxAgentObjects.AxAgent. I know the are in windir\msagents\char . but I
also need to know of them are installed also(registerd). is there a
way to check this

Jan
 
dirty way :

Dim Merlin As AgentObjects.IAgentCtlCharacter


''''''' c:\windows blabla should be changed on your system

Const DATAPATH = "c:\Windows\msagent\chars\Merlin.acs" 'vérifiez que ce
chemin est le même sur votre machine

Try
Agent1.Characters.Load("Merlin", DATAPATH)

Catch Ex As Exception
MessageBox.Show(Err.Number & Err.Description) ''' or whatever you want

End Try


or you can just check if the file exist
 
Back
Top