Link to home
Start Free TrialLog in
Avatar of Hojoformo
Hojoformo

asked on

How to call a VbScript Function using classic ASP

How do you call a VBScript function in Classic ASP.  I want to call the following function.  Also, can you mix VBScript with javascript within the same .asp program?  I am assuming you can as long you separate and define language script <script language="javascript"> or <script language="VBScript">.

<%
  xmldata = Base64EncodeBinary(oXML.xml)    ???? How do you call a VBScript function?
  oXML.save strXMLFile  
  response.redirect(strFilename)  
%>


Function Base64EncodeBinary(inData)
  Base64EncodeBinary = Base64Encode(BinaryToString(inData))
End Function
ASKER CERTIFIED SOLUTION
Avatar of arvanhalleorg
arvanhalleorg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial