Also i'm putting the .dll file in the same directory as the calling script. Should i be placing it somewhere else? it's not in the root of the website.
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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4