I'm not using CFObject .. Here's what I have.
I'm using Windows Media Encoder 7
<cfscript>
Encoder1 = CreateObject("COM", "ASF.RealTimeEncoder");
Encoder2 = CreateObject("COM", "ASF.RealTimeEncoder");
Encoder1.LoadASD("C:\LowFiConfig.wme");
Encoder2.LoadASD("C:\HiFiConfig.wme");
Encoder1.InputSourceFile = "#URL.file#";
Encoder2.InputSourceFile = "#URL.file#";
Encoder1.Start();
Encoder2.Start();
Encoder1.RecordFileName = "z:\hifi_audio\#Variables.TempFileName2#.asf";
Encoder2.RecordFileName = "z:\lowfi_audio\#Variables.TempFileName2#.asf";
Encoder1.RecordStart();
Encoder2.RecordStart();
Encoder1.RecordStop();
Encoder2.RecordStop();
Encoder1.Stop();
Encoder2.Stop();
</cfscript>
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 4:57 PM
Subject: RE: Finding the Class ID for a component
>
>
> The error looks to me like you have got the class string wrong and not the
> clsid...
>
> Instead of using <CFOBJECT> you could use
>
> <CFSCRIPT>
> foo = CreateObject("COM", "Word.Application");
> </CFSCRIPT>
>
> What might help you is OLEView. THis is installed as part of developer
> studio, but i think it is also available for download at the microsoft
site
>
> HTH
>
> Mike
> -----Original Message-----
> From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 21:48
> To: CF-Talk
> Subject: OT: Finding the Class ID for a component
>
>
> I'm futzing around with a COM object and I keep getting this error:
>
> | Error trying to create object specified in the tag.
> | COM error 0x800401F3. Invalid class string
>
> Now, I assume this is telling me I'm not giving it the CLSID that it
needs.
> If that is the case, does anyone know how I can look up the class ID of
the
> component I am trying to use? I've looked all over Micorosft's site, but
> can't find anything and Allaire's forum keeps timing out.
>
> Also, to make this CF related, does anyone know the syntax to pass the
CLSID
> when using cfscript to call the object instead of <cfobject>?
>
>
> Todd Ashworth
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists