Hi William,

if your application is running in the Windows User Tool, then I think you have to use the ARS Automation to control the user tool. ARS Automation can be used directly from VB. You will find further informations in the manual "C API Reference 7.1", chapter 5, page 391. There is also an example included.

To set a field in the current window use:

Open a new form with function OpenForm() or check the active form with function GetActiveForm() Use function GetField() (or GetFieldByID()) - this returns an Object from class ICOMField
Set a new value for this object

Br,
Norbert



Am 02.11.2009 um 18:18 schrieb William Rentfrow:

**
Listers...

My current project has a developer who is integrating AR Server/AR User 7.1 with an Aspect ACD/IVR via the C API and VB 6.

We're using VB 6 to re-create the original screen pop app that we had - the previous caretakers of this system had misplaced the full source code but we had a skeleton that was nearly correct - time was short so the decision was made to stick with that architecture (Yes, we're already planning on replacing it, thanks :)

Anyway....what the design calls for is opening the IM Incident Management Console and populating fields with the incoming call data. Depending on the call type the agent then takes appropriate action. We are NOT trying to directly open a new Incident screen.

The developer has run into several issues using the API calls LoadForm/OpenForm - both of them return errors indicating they are wanting to be opened in CREATE or QUERY mode with appropriate parameters for each mode. What he's really needs to do is open it in Dialog Mode and do a set fields.

There are of course ways around it (opening a "dummy" Regular form and adding an entry, etc) but we've run into related issues there too - might be MS bugs, we're still checking.

So - if anyone has done a C API integration that opens a Display Only window and sets a field - I'm REALLY interested in seeing your code for that piece so I can pass it along.

Thanks in advance...

William Rentfrow
Principal Consultant, StrataCom Inc.
wrentf...@stratacominc.com
Corporate Website, www.stratacominc.com
Blog, www.williamrentfrow.com
715-410-8156 C

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers Are"_


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to