Which windows account is Coldfusion running under?

John
[EMAIL PROTECTED]

 

-----Original Message-----
From: jonese [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 06, 2007 11:29 AM
To: CF-Talk
Subject: Re: Using a Custom COM Object

Tried that Dave didn't work. gave me the "java.lang.Exception: Invalid COM
object" error.

 An exception occurred when instantiating a Com object.
The cause of this exception was that:
coldfusion.runtime.com.ComObjectInstantiationException: An exception
occurred when instantiating a Com object.

Thoughts? Do they have to do anything special when creating the object to
get it to work?

jonese


On 7/5/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Here's a small sample VB program that uses the object (which, of 
> > course, has to be registered):
> >
> > Private Sub Form_Load()
> >
> >     Dim oEncrypt    As Object
> >     Dim sInput      As String
> >     Dim sOutput     As String
> >
> >     Set oEncrypt = CreateObject("CustomEncrypt.Class1")
> >
> >     sInput = "You String To Encrypt Goes Here"
> >
> >     sOutput = oEncrypt.EncodeString(sInput)
> >
> >     MsgBox "Input = " & sInput & vbCrLf & "Encoded = " & sOutput & 
> > vbCrLf & "Decoded = " & oEncrypt.DecodeString(sOutput)
> >
> >     Set oEncrypt = Nothing
> >
> > End Sub
> > ---------end----
>
> Try this:
>
> <cfset oEncrypt = CreateObject("com", "CustomEncrypt.Class1")> <cfset 
> sInput = "You String To Encrypt Goes Here"> <cfset sOutput = 
> oEncrypt.EncodeString(sInput)> <cfset sDecryptedOutput = 
> oEncrypt.DecodeString(sOutput)>
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized 
> instruction at our training centers in Washington DC, Atlanta, 
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283081
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to