Page 1 of 1

WebBrowser VBScript

PostPosted: Sun Oct 31, 2010 10:52 am
by Apoleo
Hi, I have a WebBrowser object. I want execute some VBScript code in it.

Code: Select all
BrowserExecScript "WebBrowser1" "MsgBox [#34]how are you?[#34],4385,[#34]Hi[#34]" "VBScript"


I test the VBScript code in a Call Function and it works. When I test inside the WebBrowser the message box doesn't show.

I have disabled the Enhanced Security, so I don't know why it doesn't work.

Here object's information
Code: Select all
{NeoBook 5 Objects}
NeoBookVer=5,60
ObjectType=14
Name=WebBrowser1
X=48
Y=24
W=560
H=336
Anchor=0
VarName=[WebBrowser1Status]
TitleVarName=[WebBrowser1Title]
URLVarName=[WebBrowser1Addr]
EnhSecurity=No
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial Narrow
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4


Thanks

PostPosted: Mon Nov 01, 2010 2:38 pm
by Neosoft Support
I'm sorry, there appears to be a problem with the BrowserExecScript action that is causing this error. It will be corrected in a maintenance update to be released later this month. I apologize for the inconvenience.