Aaron
|
| Posted: 02/19/2003, 12:52 PM |
|
Here's the error:
Microsoft VBScript compilation error '800a0414'
Cannot use parentheses when calling a Sub
/main/designs/catalog_events.asp, line 42
resizer.SetPNGDefaultBackground(0,0,0,0,0)
------------------------------------------^
Here's the line of code I am running in a Before Show Custom Code:
resizer.SetPNGDefaultBackground(0,0,0,0,0)
If I can't use a (), how do I pull this off?
|
|
|
 |
EMG
|
| Posted: 02/19/2003, 2:21 PM |
|
remove the ( and ) and leave a space between the sub name and your first parameter. Seperate parameters with commas as usual:
resizer.SetPNGDefaultBackground 0,0,0,0,0
|
|
|
 |
Aaron
|
| Posted: 02/19/2003, 3:05 PM |
|
Added Call to beginning of line and all is well.
|
|
|
 |
|