RE: Calling COM objects

2003-02-03 Thread Jared Clinton
I'm not sure if OCXs are the same as normal COM objects (now you know I dont
know much) ..

However, search your registry for DLQueueClient under
mycomputer\HKey_Classes_Root\ if it is accessible by CF then you can use the
name which appears there.

Jared Clinton.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 February 2003 9:18 AM
To: CF-Talk
Subject: Calling COM objects


I posted last week and I didn't seen any replies, so I'll try again.

I have an OCX loaded on my box that I can work with in ASP.

In ASP I call it like this:

Set DLQClient1 = CreateObject("DLQueueClient")

I think all examples I've seen (CFCOMET) and such, show calling COM objects
using this notation:



What do I use for myApp.objName?

I tried DLQueueClient.Application and I get an error: "COM error 0x800401F3.
Invalid class string"
Obviously, I was just guessing. I loaded up OLEView, but I coudn't find the
class name.
Could someone unconfuse me?

Thanks!






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Calling COM objects

2003-02-03 Thread stas
I posted last week and I didn't seen any replies, so I'll try again.

I have an OCX loaded on my box that I can work with in ASP.

In ASP I call it like this:

Set DLQClient1 = CreateObject("DLQueueClient")

I think all examples I've seen (CFCOMET) and such, show calling COM objects
using this notation:



What do I use for myApp.objName?

I tried DLQueueClient.Application and I get an error: "COM error 0x800401F3.
Invalid class string"
Obviously, I was just guessing. I loaded up OLEView, but I coudn't find the
class name.
Could someone unconfuse me?

Thanks!





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4