Re: TEST IGNORE (2)

2013-12-04 Thread Russ Michaels
Would be easier to switch to google groups maybe Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 4 Dec 2013 02:33, Michael Dinowitz mdino...@houseoffusion.com wrote: Sorry for the backlog deluge. The server got overwhelmed and took a bit to get back on track.

Re: TEST IGNORE (2)

2013-12-04 Thread Phillip Vector
Unless Google Groups can send email and can act exactly like a mailing list, please don't move it there. On Wed, Dec 4, 2013 at 1:50 AM, Russ Michaels r...@michaels.me.uk wrote: Would be easier to switch to google groups maybe Russ Michaels www.michaels.me.uk cfmldeveloper.com

Re: TEST IGNORE (2)

2013-12-04 Thread Adam Cameron
Would be easier to switch to google groups maybe Seconded. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: TEST IGNORE (2)

2013-12-04 Thread Adam Cameron
Unless Google Groups can send email and can act exactly like a mailing list, please don't move it there. Yeah it can. And a lot better than this implementation does. -- Adam ~| Order the Adobe Coldfusion Anthology now!

Re: TEST IGNORE (2)

2013-12-04 Thread Russ Michaels
Yes philip that is exactly qhat it does very well Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 4 Dec 2013 09:55, Phillip Vector vec...@mostdeadlygame.com wrote: Unless Google Groups can send email and can act exactly like a mailing list, please don't move it

Re: isValid - numeric vs. float

2013-12-04 Thread Jon Clausen
Agreed. I would recommend stripping the commas out before you validate the number. They do strange things with calculations. For instance, numberFormat() converts “1,000” to 41274, as does JavaCast(“int”,”1,000) or JavaCast(“float”,”1,000). I actually think it’s kind of incorrect that

Re: isValid - numeric vs. float

2013-12-04 Thread Scott Brady
That's what we thought. I've submitted a bug report. Thanks! Scott On Tue, Dec 3, 2013 at 6:35 PM, Adam Cameron dacc...@gmail.com wrote: It's a bug. There's no reason 1,000.00 should validate as a numeric value of any kind; and float is a subset of numeric. Railo returns false for both.

Re: isValid - numeric vs. float

2013-12-04 Thread Scott Brady
Well, in our case, this started out as a way for us to determine if the variable we're dealing with is a number that we'd need to strip the commas from. Due to the nature of our code, we only want to strip out the commas if it's a number. For us, the bug actually works in our favor, because

RE: isValid - numeric vs. float

2013-12-04 Thread Mark A Kruger
Scott, Ok.. this is simple but remember that val( ) actually returns a number if the first part of the string IS a number, and a zero if it is not: Val(343,200) returns 343 Val(ABC123) returns 0.00 So if you know you are dealing numbers above zero you can use this as a quick and easy Boolean

An exception occurred when instantiating a COM object.

2013-12-04 Thread Shiny Star
Hello All, I am getting below error, when trying to initiate COM object. cfobject type=COM action=create context=INPROC class=ASIUtil.CCrypto name=Crypto An exception occurred when instantiating a COM object. The cause of this exception was that: java.lang.RuntimeException: Can not use

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Russ Michaels
even though cf is 32bit, you are still using a 32bit com object on a 64bit os, which is your problem. try this http://www.gfi.com/blog/32bit-object-64bit-environment/ On Wed, Dec 4, 2013 at 3:23 PM, Shiny Star srinivas...@gmail.com wrote: Hello All, I am getting below error, when trying

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Dave Watts
even though cf is 32bit, you are still using a 32bit com object on a 64bit os, which is your problem. try this http://www.gfi.com/blog/32bit-object-64bit-environment/ While that blog post is quite interesting (so thanks!), you can certainly use 32-bit COM objects on a 64-bit OS. Otherwise,

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Russ Michaels
it very much depends on the com object then I guess as I have had this same issue. Office would be different presumably because it is a desktop application. On Wed, Dec 4, 2013 at 4:59 PM, Dave Watts dwa...@figleaf.com wrote: even though cf is 32bit, you are still using a 32bit com object

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Dave Watts
it very much depends on the com object then I guess as I have had this same issue. Office would be different presumably because it is a desktop application. Office is chock-full of COM objects, which are 32-bit in the 32-bit version of Office and which can be automated via scripts, CF, etc.

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Dave Watts
it very much depends on the com object then I guess as I have had this same issue. Office would be different presumably because it is a desktop application. Office is chock-full of COM objects, which are 32-bit in the 32-bit version of Office and which can be automated via scripts, CF, etc.

Re: An exception occurred when instantiating a COM object.

2013-12-04 Thread Russ Michaels
as have I, but I recall wasn't as easy as just enabling 32bit in the application pool when I did it, I had to do other workarounds too, although it was years ago so i cannot remember exactly what, but most likely the steps mentioned in that article. On Wed, Dec 4, 2013 at 5:22 PM, Dave Watts

Re: isValid - numeric vs. float

2013-12-04 Thread Scott Brady
But if the variable contains a street address like 1313 Mockingbird Lane then val() would make us think it's numeric data. In this case, this could be data that is supposed to be numeric but may not be . Kind of a silly example. I guess if lsParaeNumber() returned something like NAN for

Re: isValid - numeric vs. float

2013-12-04 Thread main
that's true :) it all depends on where your variable is coming from and how predictable it is. Sent from my iPhone On Dec 4, 2013, at 12:40 PM, Scott Brady dsbr...@gmail.com wrote: But if the variable contains a street address like 1313 Mockingbird Lane then val() would make us think

Java iterator problem

2013-12-04 Thread Tom McNeer
Hi, I am attempting to use Google's libphonenumber library to find, match and parse phone numbers within text strings. I load the libphonenumber jar using Javaloader and create an instance of the PhoneUtil class. I create a test string of: Here is one phone number (212) 555-1212 and here is a

Re: Java iterator problem

2013-12-04 Thread Dave Watts
The return from the findNumbers() method has an iterator() method. So it seems to me I should be able to loop and dump the matched objects, with something like: cfloop condition=result.iterator().hasNext() cfdump var=#result.iterator().next()# /cfloop However, this creates what

Re: Java iterator problem

2013-12-04 Thread Jon Clausen
Your method is the way I’ve always looped Java iterators in the past, with one exception: I’ve always created the variable for the iterator before using it in the loop. What happens with: cfset resultIterator = result.iterator() cfloop condition=resultIterator.hasNext() cfdump

Re: Java iterator problem

2013-12-04 Thread Tom McNeer
And the winning answer is: Jon's method!! I'm sure you're right about restarting the loop. And thanks, Dave. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560

RE: An exception occurred when instantiating a COM object.

2013-12-04 Thread Eric Roberts
Does com even work in the 64 bit CF environment? Last time I had to deal with it, it didn't. Eric -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Wednesday, December 04, 2013 10:22 AM To: cf-talk Subject: Re: An exception occurred when instantiating a COM

RE: Adobe take over a MONTH to advise me my credit card details are stolen

2013-12-04 Thread Jenny Gavin-Wear
All payment information is more often not held by the retailer, but by the gateway. In the UK this saves retailers money as they don't need to register for such a high level under the Data Protection Act. With the Paypal system, for example, all the retailer needs store for a

RE: Adobe take over a MONTH to advise me my credit card details are stolen

2013-12-04 Thread Jenny Gavin-Wear
Hi Mike, Log every single communication. Date/time/who you spoke to/their job title/department/their direct line number/email address. Create a group in your email client and add every email address you get and every time you email them, email it to every address you have. You need the name