ActiveX OCX's
Posted: Fri Aug 07, 2009 11:55 am
by Philip >> Tue, 4 Jul 2000 9:30:42 GMT
This post may require someone with a little knowledge of Visual Basic programming.
I have seen how you can import ActiveX OCX Controls into JADE and reconfigure them and run them etc. I was told that I would create a control in VB of VC++ (Visual C++) and then import them into JADE, I did this and it worked.
The problem is with another OCX which I want to put in -
1) How will JADE handle commands like - Genie.Show, Genie.Speak "Hi", Genie.Hide, which are used to control the Agent (see below).
2) How will JADE Handle this -
Agent1.Characters.Load "Genie", DATAPATH
Set Genie = Agent1.Characters("Genie")
Genie.LanguageID = &H409
This tells VB to tell the Agent what it needs to know to work.
3) I want to import an Agent peice of code, which uses this -
Dim Genie As IAgentCtlCharacterEx
Const DATAPATH = "genie.acs"
In the General Declarations to define the path to the Agent file (genie.acs), IAgentCtlCharacterEx is what tells VB that it is an Agent file and that is built in to the Registry (think, well somewhere).
When I try to put the code into an ActiveX control I get User-Defined control not defined. I have tried putting this in multiple places, but to now success.
PS. I have put in all of this, because I am also posting this to VB newsgroups (for the VB side of things).
Thanks
Philip Q
This post may require someone with a little knowledge of Visual Basic programming.
I have seen how you can import ActiveX OCX Controls into JADE and reconfigure them and run them etc. I was told that I would create a control in VB of VC++ (Visual C++) and then import them into JADE, I did this and it worked.
The problem is with another OCX which I want to put in -
1) How will JADE handle commands like - Genie.Show, Genie.Speak "Hi", Genie.Hide, which are used to control the Agent (see below).
2) How will JADE Handle this -
Agent1.Characters.Load "Genie", DATAPATH
Set Genie = Agent1.Characters("Genie")
Genie.LanguageID = &H409
This tells VB to tell the Agent what it needs to know to work.
3) I want to import an Agent peice of code, which uses this -
Dim Genie As IAgentCtlCharacterEx
Const DATAPATH = "genie.acs"
In the General Declarations to define the path to the Agent file (genie.acs), IAgentCtlCharacterEx is what tells VB that it is an Agent file and that is built in to the Registry (think, well somewhere).
When I try to put the code into an ActiveX control I get User-Defined control not defined. I have tried putting this in multiple places, but to now success.
PS. I have put in all of this, because I am also posting this to VB newsgroups (for the VB side of things).
Thanks
Philip Q