-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Actually... COM works just *FINE* in CFScript blocks. All you're
doing w/ COM (as far as CF is concerned) is setting variables
(properties) & calling functions (invoking methods). Both of those
functions work quite nicely in CFSCRIPT blocks. And in 4.5.1, you've
even got a CreateObject function so you can create your ojects in
CFSCRIPT blocks without needing to use CFOBJECT. I've never had any
COM problems w/ CFSCRIPT.
Best regards,
Zac Bedell
>
> Hi Dave,
>
> Unfortunately CFSET does not work either. I can get at the
> object's public
> properties, but running the method does not work. I've tried
> using MSWord as
> a COM object and that did work. I'm at a loss. Thanks for the
> suggestion
> though. --Tom
>
> > Unfortunately, using COM objects can be problematic with CF
> occasionally.
> > Instead of doing what you're doing within a CFSCRIPT, you might
> > have better
> > luck doing it within CFSET tags:
> >
> > <cfset rs =
> oASIWeb.SetDataPath("E:\InetPub\wwwroot\SolidData\Data")>
> > <cfset rs = oASIWeb.SetDatabase("sdweb")>
> > <cfset RetVal = oASIWeb.NewID("USERS")>
> >
> > That usually works for me. To be honest, I've never used COM
> > objects within
> > CFSCRIPT, but I wouldn't be surprised if they're not
> supported within
> > CFSCRIPT as well as they should be.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > voice: (202) 797-5496
> > fax: (202) 797-5444
> > ------------------------------------------------------------------
> > ------------
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or
send a message to [EMAIL PROTECTED] with
'unsubscribe' in
the body.
- ----------------------------------------------------------------------
- --------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal
k or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBObT4KgraVoMWBwRBEQKaXgCfaBSuSXXtHlUYt2yJ/auOljpYkqQAn1Vj
ow3wFJgJB6b2bQ4pQwSMSlvO
=3pHR
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
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.