BrowserHawk IQ now available! Click here for the full scoop!
Search:
Cannot Use Parentheses error with SetExtProperties
Created: 4/12/2002    Updated: 4/12/2002
Q   After selecting the properties for BrowserHawk to log in my database, it generated ASP code for me to use. However this code results in the following error:

Microsoft VBScript compilation error '800a0414'
Cannot use parentheses when calling a Sub

How can I resolve this?


A   Some versions of ASP do not accept parenthesis when passing parameters to methods, while other versions (such as ASP.NET) require this.

If you received the above error you can resolve it simply by removing the set of parenthesis which surrounds the parameters being passed to the SetExtProperties Method.

For example, instead of:

bhObj.SetExtProperties("ActiveXEnabled, BrowserBuildWidthAvail", false)
Use:
bhObj.SetExtProperties "ActiveXEnabled, BrowserBuildWidthAvail", false

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP