Source language: Translate to:

WebBrowser VBScript

Questions and information about using VBScript and JavaScript in NeoBook functions

Moderator: Neosoft Support

WebBrowser VBScript

Postby Apoleo » Sun Oct 31, 2010 10:52 am

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
User avatar
Apoleo
 
Posts: 88
Joined: Sat May 14, 2005 1:17 pm
Location: Sevilla, España

Postby Neosoft Support » Mon Nov 01, 2010 2:38 pm

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Functions - VBScript & JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest