日期:2014-05-17  浏览次数:21041 次

高分求解 调用子程序时不能使用括号
Microsoft   VBScript   编译器错误   (0x800A0414)
调用子程序时不能使用括号
/格致网站/certresult.asp,   line   34,   column   70
.SetRequestHeader( "Content-Type ", "application/x-www-form-htmlencoded ")
---------------------------------^

With   Retrieval  
.Open   "post ",   url,   False
.SetRequestHeader( "Content-Type ", "application/x-www-form-urlencoded ")
.Send( "FrontCertNo=FrontCertNo1&FrontExaminerNo=FrontExaminerNo1&FrontIdCard=FrontIdCard1&FrontExaminerNo=FrontExaminerNo1&FrontName=escap(FrontName1)&KSLX=KSLX1 ")
End   With  

求大家帮帮忙啊     我实在不行了!!!

------解决方案--------------------


只有用 CALL 调用时才需要写括号啊
------解决方案--------------------
SetRequestHeader( "Content-Type ", "application/x-www-form-htmlencoded ")
改成这样,

SetRequestHeader "Content-Type ", "application/x-www-form-htmlencoded "


错了,你找我麻烦,结帖吧