This is a multi-part message in MIME format.
------=_NextPart_000_001B_01C01758.3A50AB20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ok I have built a com component in VB and registered it on the server =
with regserver32. I am now trying to use it in cf but I cant seem to?
Here is how I call the object, and it is supposed to simply return a =
recordset.
<cfobject=20
type=3D"com"
name=3D"Recordset"
class=3D"macoOrder.cOrders"
action=3D"create">
This bit works fine but when I want to use a method of the object =
(GetOrders) it seems to fall over.
<cfset Recordset.getOrders()>
This doesn't work
<cfloop collection =3D #Recordset# item =3D whatever>
<cfoutput>
#whatever#
</cfoutput> =20
</cfloop>
doesn't work either????? any suggestions???
------=_NextPart_000_001B_01C01758.3A50AB20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ok I have built a com component in VB =
and=20
registered it on the server with regserver32. I am now =
trying to use=20
it in cf but I cant seem to?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Here is how I call the object, and it =
is supposed=20
to simply return a recordset.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> <cfobject =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
type=3D"com"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
name=3D"Recordset"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
class=3D"macoOrder.cOrders"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
action=3D"create"></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> This bit works fine =
but when I=20
want to use a method of the object (GetOrders) it seems to fall=20
over.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><cfset =
Recordset.getOrders()></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This doesn't work</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><cfloop collection =3D =
#Recordset# item =3D=20
whatever></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
<cfoutput></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
#whatever#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
</cfoutput> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></cfloop></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>doesn't work either????? =
any=20
suggestions???</FONT></DIV></BODY></HTML>
------=_NextPart_000_001B_01C01758.3A50AB20--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.