VoiceGuide IVR Software Main Page
Jump to content

No Information Returned

Recommended Posts

hello,

the job of bellow script is to insert data in the webdatabase and it works find.

but VB module is keep getting the fail path.

 

The error message I get in log file is:

No information returned from program to VG (no VGRUNRESULT_5.TXT or SHLRESLT.TXT)

please see log file in doc file attached.

 

I can not find out why the fail path is keep taking.

would you please advice what should do?

Thanks

Farzad

 

 

Set IE = CreateObject("InternetExplorer.Application")

With IE

.RegisterAsDropTarget = False

.Visible = False

.Silent = True

.Navigate("http://farzadinc.com/default.asp?pcuser=root&pcpass=passme")

While .Busy

WScript.Sleep 500

Wend

page = "http://farzadinc.com/command.asp?sqls=insert into 2 values ('Germany', '77', '5533', 77 )"

.Navigate(page)

While .Busy

WScript.Sleep 500

Wend

With .Document.Body

readWwwHtml = .InnerHTML

readWwwText = .InnerText

End With

End With

IE.Quit

Set IE = Nothing

error.doc

Share this post


Link to post

If the script does not return any information to VoiceGuide then the fail path will be taken.

 

From http://www.voiceguide.com/vghelp/html/modVbs.htm :

Wait until VBScript completes option

 

[...]

 

A "Success" or Result Variable list must be returned to VoiceGuide (either though a Run_ResultReturn COM function or a Result File) in order for it to go down the Success path.

If no result is returned then the "Fail" path is taken after the VBScript completes.

 

The VBScript you're using does not return any response to VoiceGuide so the system behaves as expected...

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
×