Autor Beitrag
NetProg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: So 16.02.03 20:42 
Hey Leute,

wenn ich in meinem Progy das ActiveX - Control von MSAgent verwende & ich den Standarddialog zum auswählen des Agenten benutzen möchte mit z.B. 'Agent1.ShowDefaultCharacterProperties;', wie kann ich feststellen welchen Agenten ich ausgewählt habe ? :autsch:
DaFox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 189



BeitragVerfasst: Mo 17.02.03 00:47 
Hi.

Ich habe noch nie mit dem MSAgent gearbeitet, verzeih mir also wenn Dir mein schlauer Rat nichts nützt :wink:
Was ich aber weiß ist, dass jeder Character eine eigene GUID hat und es eine Eigenschaft GUID gibt.
In Pseudocode müsste Deine Abfrage also so aussehen:

ausblenden Quelltext
1:
if Character.GUID = GUID von Merlin then Merlin wurde geladen;					


Mach Dich gegebenenfalls mal in den Docs schlau!

Markus

PS: This posting is provided "AS IS" with no warranties, and confers no rights. :wink:
NetProg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Mo 17.02.03 11:38 
Thanks, werde ich wohl weiter probieren müssen, oder so ..................... :?