-----Original Message-----
From: Ron Mast [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 2:18 PM
To: [EMAIL PROTECTED]
Subject: RE: VBScript and ColdFusionHi Jeremy,<script type="text/vbscript">
set xmlDoc=CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("goodinstance.xml")set x=xmlDoc.getElementsByTagName("N1")
set myVariableTest = "Hello Ron!"for i = 1 to x.length
<cfoutput>
<cfset hello = myVariableTest>
</cfoutput>
document.write(x.item(i-1).getAttribute("N101")+"<BR>")
document.write(x.item(i-1).getAttribute("N103")+"<BR>")
document.write(x.item(i-1).getAttribute("N104")+"<BR>")
next
</script><cfoutput>#hello#</cfoutput>What am I doing wrong?
Error Occurred While Processing Request
Error Diagnostic Information
An error occurred while evaluating the expression:
hello = myVariableTestError near line 14, column 8.
Error resolving parameter MYVARIABLETEST
ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either:
- You have misspelled the parameter name, or
- You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag.
The error occurred while processing an element with a general identifier of (CFSET), occupying document position (14:2) to (14:31).
Date/Time: 03/07/03 14:14:06
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Remote Address: 89.0.30.48
-----Original Message-----
From: Jeremy Ridout [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 1:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: VBScript and ColdFusionWhat exactly are you trying to do?With Cold Fusion being a server side technology and VBScript being a Client side technology, the issues shouldnt be too different than using _javascript_.Jeremy-----Original Message-----
From: Ron Mast [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 1:38 PM
To: [EMAIL PROTECTED]
Subject: VBScript and ColdFusionHi All,
Does any of you have an example of How to integrate CF with VBScript?Ron Mast
Truth Hardware
Webmaster
(507)444-4748
Title: Message
The set keyword is
only used when assigning objects to variables not simple
strings.
- Re: VBScript and ColdFusion Eric Fickes
- RE: VBScript and ColdFusion Ron Mast
- RE: VBScript and ColdFusion Ron Mast
- RE: VBScript and ColdFusion Matthew Morvant
- RE: VBScript and ColdFusion Ron Mast
- Re: VBScript and ColdFusion Eric Fickes
- RE: VBScript and ColdFusion Matthew Morvant
