Re: Better random record generator

2008-10-27 Thread Keith McGee
Thank you Dean for seeing my issue, and supplying a possible resolution. I agree access is not the best system out there, But I have applications with over 500,000 records in a single table that have been working with cold fusion of many years also. I agree I should migrate but that is not in

ColdFusion, Verity and Files with extended characters in the filename

2008-10-27 Thread JediHomer
Hi, We're currently having an issue on Linux with Verity. We're using CF8 on Debian, ubuntu for dev, where a client has PDFs that need indexing but contain extended characters in the filename, in particular the registered symbol. On Linux this is not being indexed by the Verity engine, on

Re: url rewrite question

2008-10-27 Thread Rick Root
Well, it turns out that ISAPI_Rewrite cannot do what I'm trying to do, because it would CHANGE the url. So we'll either go the subdomain route (easy) or the virtual directory route (a little more troublesome just because we'd have a site with thousands of virtual directories, and I'm not sure how

Problem with check box data binding in IE

2008-10-27 Thread Nathan Eaton
I am new to data binding and have set up a page that refines a list of search terms based on a set of check boxes and radio buttons. The boxes and buttons are bound to a CFM that returns the results at the bottom of the page. This works fine in Firefox, but there is a problem in IE. After

Re: ColdFusion, Verity and Files with extended characters in the filename

2008-10-27 Thread Raymond Camden
While it won't fix the problem, as a last ditch effort you can consider using my pdfUtils CFC from RIAForge. It has a function to read the text out of a PDF. You could read that in and then index the text. It is what my Seeker project (CF/Lucene integration) uses to read and index PDF files. On

Re: Apache/CF8 problems

2008-10-27 Thread Ryan Stille
It looks like you are binding your vhosts to 127.0.0.1. Are you sure thats the IP you get when you are browsing to this dev site? For example if you ping localhost on a vista box I think by default it resolves to an IPv6 address. I don't think that will match the virtualhost 127.0.0.1

Re: CFML Language Development

2008-10-27 Thread Don L
I am hosting a Birds of a Feather session at MAX on the future development and evolution of CFML. I am looking for suggestions on topics to cover and speakers you'd like to hear from. http://www.vertabase. com/blog/your-ideas-for-the-future-of-cfml-adobe-max-bof-session With OpenBD,

Re: CFML Language Development

2008-10-27 Thread s. isaac dealey
Here's something that pops out of my head upon reading your post. Years ago where's ColdFusion Express (free)... naturally functionally not in par with commercial version... But I thought if one (independent developers / cf shops etc.) uses such a free platform and negotiate a price for

Issue with XML

2008-10-27 Thread Marc Edwards
I am working on a project that needs to parse through and xml file and add new xml elements to specific child tags. I have been able to accomplish adding the elements in the positions that I need them, but when I re write them to a file the xml attributes show up as uppercase. Here is my example.

RE: Issue with XML

2008-10-27 Thread Adrian Lynch
Got the code that does the rewriting of the attributes? When writing structures, myStruct.someKey will result in SOMEKEY when you view it. The way around it is to do myStruct[someKey]. Adrian Building a database of ColdFusion errrors at http://cferror.org/ -Original Message- From: Marc

Re: Issue with XML

2008-10-27 Thread Ian Skinner
Adrian Lynch wrote: Got the code that does the rewriting of the attributes? When writing structures, myStruct.someKey will result in SOMEKEY when you view it. The way around it is to do myStruct[someKey]. And if you are using the CF XML functions, a quick survey showed that many have a

Convert variable to UTF-16LE?

2008-10-27 Thread dan m
Hey guys, I have a little pet project which has become a real pain in the neck. Basically, I want to be able to change active directory passwords from CF. The basic steps to do this are: 1) Load the appropriate certificate into the keystore 2) Allow the CF server to communicate with the AD DC

RE: Convert variable to UTF-16LE?

2008-10-27 Thread Dawson, Michael
Have you been able to duplicate the example output on the link below? Mike -Original Message- From: dan m [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 1:32 PM To: cf-talk Subject: Convert variable to UTF-16LE? Hey guys, I have a little pet project which has become a real

Re: Convert variable to UTF-16LE?

2008-10-27 Thread dan m
No, but frankly I'm not sure how I would know. When I output the converted string I get a bunch of odd characters in my browser, I'm assuming because the encoding is different... Have you been able to duplicate the example output on the link below? Mike Hey guys, I have a little pet project

Best way to create an .xls file from a page

2008-10-27 Thread Brian Yager
Hi all, I have a page that creates an invoice. I need to be able to make an Excel spreadsheet out of it. It does have different sized tables in it. What is the best way to do this? I have saved the page as a .xls and it was perfect. Just need to do this automatically now. Thanks!

RE: Best way to create an .xls file from a page

2008-10-27 Thread Dawson, Michael
You can change your content type so that the browser thinks it is downloading an Excel file. Google: cfcontent Excel cfheader -Original Message- From: Brian Yager [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:15 PM To: cf-talk Subject: Best way to create an .xls file from

Re: Best way to create an .xls file from a page

2008-10-27 Thread Mike Chabot
If you use the content type trick to open HTML inside of Excel then you get content type warnings whenever you open the file. Creating native Excel files is harder to do, but I think the results are more professional, and you can make use of features like filter columns and calculation columns. If

Re: Best way to create an .xls file from a page

2008-10-27 Thread Gerald Guido
I wouldn't say it is the *best* way but this will maintain table layouts: http://mgt.pastebin.com/f27bd1c5a Another way to do it is what Mike Chabot suggested. Yet another way: Create a spreadsheet and fill the places where you want your data to go with CF vars #.yourQury.yourVar# and then

cfthread and queue management

2008-10-27 Thread Judah McAuley
Howdy, I'm trying to wrap my head around the best way to use cfthread to manage a task queue. I have a remote service that I call via cfhttp that does a processing task. It is a commercial service and our license is based on the number of simultaneous requests we can make against the service. So

Re: cfthread and queue management

2008-10-27 Thread Dave Watts
I have a remote service that I call via cfhttp that does a processing task. It is a commercial service and our license is based on the number of simultaneous requests we can make against the service. So lets say that I have 5 ports available to me, i.e., I can have 5 active requests at any

Re: cfthread and queue management

2008-10-27 Thread Judah McAuley
On Mon, Oct 27, 2008 at 3:20 PM, Dave Watts [EMAIL PROTECTED] wrote: I would recommend that you use one thread to monitor the others. This thread could wake every 500ms, for example, then check the progress of the other threads, terminate unresponsive threads, and assign new tasks. There's

Re: cfthread and queue management

2008-10-27 Thread Alan Rother
So, you can only have it trying 5 threads at a time... How about in the CF Admin, set your maximum simultaneous threads to 5. It will queue all other requests until each one completes. Enterprise defaults to 10 I believe... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer

Re: CFML Language Development

2008-10-27 Thread Don L
Here's something that pops out of my head upon reading your post. Given the recent roadmap that Adobe published for CF in their marketing kit, I suspect they may be planning to separate some of the features in a few years when version 11 or so is released. I.e. you would buy CF but then you

Passing data to another web application on another server

2008-10-27 Thread Toby King
Hi there I need to check whether the following is possible and I have to find out ASAP. I have to find out if I can pass data to another application on a differet server, Basically I have been told so far that the only way that I can pass information is by a HTTP post. Previously I have

Re: cfthread and queue management

2008-10-27 Thread Judah McAuley
The problem with that is that I may want to use cfthread elsewhere on the server (like in cleanup/maintenance tasks) and in this particular application I want exactly 5 threads active at all times to maximize the usage of this external resource. Still, a sneaky idea that I had pondered as well.

Re: Passing data to another web application on another server

2008-10-27 Thread Azadi Saryev
CFHTTP Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Toby King wrote: Hi there I need to check whether the following is possible and I have to find out ASAP. I have to find out if I can pass data to another application on a differet server, Basically I have been told so

Re: cfthread and queue management

2008-10-27 Thread Alan Rother
Yeah... I kind of figured that was the deal, but I had to point it out. In that case Dave is right (as he almost always is...) keeping a single monitoring thread active to watch the others makes the most sense. One thing to watch our for in fully asynchronous threads is that error catching is

Re: Passing data to another web application on another server

2008-10-27 Thread Jason Fisher
And, if the string is long or has 'special' characters in it, be sure to set the cfhttp method to POST, and send the string as a formfield: cfhttp method=POST ... cfhttpparam type=FORMFIELD name=theVariableName value=theBigString /cfhttp Gets around any URL length limitations.

Re: Passing data to another web application on another server

2008-10-27 Thread Wil Genovese
Use WDDX. This is exactly what WDDX is meant to do. Most server languages can serialize and de-serialize WDDX packets including Coldfusion, PHP, ASP, and Javascript. WDDX was created by Allaire. http://en.wikipedia.org/wiki/WDDX http://www.openwddx.org/ Wil Genovese One man with

Re: cfthread and queue management

2008-10-27 Thread Mark Mandel
You really need 5 threads that loop, while there is something to be executed, and a Queue of CFCs that have a common execute() commands. something like: cfthread name=thread1 while(NOT queue.isEmpty()) { action = queue.pop(); action.execute(); } /cfthread While there is

Re: CFML Language Development

2008-10-27 Thread Adam Haskell
Not the first time this has come up: http://cfrant.blogspot.com/2008/04/why-adobe-should-love-open-bluedragon.html Gert, of Railo, also mentions a similar view in episode 10 of cfConversations (please forgive the crappy quality):