mehdi_h Report post Posted 01/31/2009 12:04 PM Hi I want to know how I can call a VB.exe application and return some values to the script. Example: When anwsering call I want VG to call a VG.exe application using RUN Module and pass 2 parameters to the VB.exe (OK for that) Then I want the VB.exe to return some veriables to the script . I could right in a file an read it again but I would like to know if there is a better way ? Tkx Mh Share this post Link to post
SupportTeam Report post Posted 01/31/2009 07:21 PM External programs can return data back to VoiceGuide using VoiceGuide's COM interface (and in v7 the Remoting and WCF interfaces as well). See the Run_ResultReturn function: http://www.voiceguide.com/vghelp/source/ht...esultreturn.htm Share this post Link to post
mehdi_h Report post Posted 01/31/2009 10:46 PM hi Sorry but could you give an exmaple of how I can use this. The help page does not really help me that much :-) Do I have to have the Enterprise version to do so ? tkx Share this post Link to post
SupportTeam Report post Posted 01/31/2009 11:23 PM You may want to look at some of the sample scripts that are installed with VoiceGuide. Pretty much every VBScript module in any of the sample scripts uses the COM interface and the Run_ResultReturn function. Also have a look at the VoiceGuide subdirectory \Scripts\vbs COM interface samples\ You can call the COM function in similar way from any .EXEs that you would create. Also have a look at the VoiceGuide subdirectory \Scripts\vgServices_WCF\ for C# example of how to connect to VoiceGuide using WCF. If you can .ZIP up and post here your .EXE project directory we can edit the project to have it call the Run_ResultReturn function from your program. Share this post Link to post
mehdi_h Report post Posted 02/01/2009 08:08 PM I have purchased a professional release of VG, to be able to to use COM interface , do I have to have an enterprise version Tkx Mh Share this post Link to post
SupportTeam Report post Posted 02/01/2009 09:16 PM To use the COM interface you must have Enterprise license (or run in Evaluation mode). As per the features list here: http://www.voiceguide.com/vgFeatures.htm Share this post Link to post