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
|