mobileFX JavaScriptX - Google V8 JavaScript Embedded Framework
JavaScriptXLib ActiveX DLL / ScriptControl Object / UseSafeSubset Property
In This Topic
    UseSafeSubset Property
    In This Topic
    Description

    Prevents access to selected objects and procedures that can compromise an application’s security.

    Property type
    Read-write property
    Syntax
    Visual Basic
    Public Property UseSafeSubset As Boolean
    Remarks

    The property is offer for compatibility with Micrsofot Script Control and does not affect JavaScriptX functionality.

    Example
    Private Sub Form_Load()
        
        Set SC = New ScriptControl
        SC.Language = "JavaScript"
        SC.AllowUI = True
        SC.SitehWnd = Me.hWnd
        SC.UseSafeSubset = False
        SC.Timeout = 60
            
    End Sub
    See Also