VoiceGuide IVR Software Main Page
Jump to content

Retuning Value From Com Server

Recommended Posts

Hi,

I have com server in which I call a method which takes VARIANT type as pararmeter. This variant is modified in the method. When i call this method from VB script module of VG, i am unable to retrive the changed variant.

THis is my vbs

 

Dim b

set a = CreateObject("COMServer.object.1")

a.getInfo(B)

MSgBox "Info :" & b

set a= nothing

 

This module is made the first module in the script. The script is running, the varible b is not updated with the info from the com server.

 

Help is apperciated.

Share this post


Link to post

sounds like you should be checking your COM server here...

 

Just run the VBScript itself - not from VG's VBScript module - and see what results you get, I think you'll get similar results...

 

VG just takes the VBScript as is supplied, replaces any RVs in it and then hands over the script to be executed by the Windows' scripting engine - there is nothing that it does that would affect what values are returned back from a 3rd party COM server...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×