CF-friendly webcam recorder

2008-02-12 Thread Mike Francisco
Hi- Is anyone aware of a ColdFusion-friendly webcam Flash Media Server video recorder app? The Flash Video Recorder http://www.flashsyndrome.com/recorder.php would have been perfect. Unfortunately it does not have CF support. Out of the box, ready to go apps will be great. I appreciate your

Re: Printing mailing labels

2008-02-12 Thread s. isaac dealey
I may need to attack, what version of CF would the t-shirt be for? :) The t-shirt has a version dependancy? -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog

Re: Beyond Captcha

2008-02-12 Thread Tom Chiverton
On Monday 11 Feb 2008, s. isaac dealey wrote: OpenID? I don't want (say) my GMail account attached to my bank account. I seem to have missed that last message... I've actually implemented OpenID, but I definately agree... I would never use OpenID for anything non-trivial like a bank

Re: Using JavaLoader with UJAC creates memory leak

2008-02-12 Thread Tom Chiverton
On Monday 11 Feb 2008, Mark Mandel wrote: Did you also explicitly close the streams? I have now, just to be sure, but no, the 800 requests was with out explictly close() calls. -- Tom Chiverton Helping to conveniently transform magnetic bandwidth on: http://thefalken.livejournal.com

OT Javascript - when is an element visible

2008-02-12 Thread Adrian Lynch
Sorry for the OT... I have a parent div, which contains many child divs. The parent div is set to scroll when it's content is to big. What I'm trying to work out, is a way to find out when one of those child divs is visible and when it's not. I thought maybe scrollTop or offsetTop but I'm low

Re: FCK Editor 2.5 consistently crashes browser when inside CFLAYOUT area

2008-02-12 Thread Philip Hayes
Woops... responded to the wrong email. Lets try again It seems the CFTEXTAREA version of the FCK editor is OK... but the newer version kills it. Still I want to use the newer version. Anybody have any ideas of what i can do to fix it? On Feb 12, 2008, at 1:01 PM, Philip Hayes

CFEclipse - mimic automatically upload files to server on save

2008-02-12 Thread Al Everett
Okay, I want to move to CFEclipse. To date, we've used Dreamweaver. I've used CFEclipse for my own personal stuff, and I like it. The only thing that it doesn't do that Dreamweaver does is automatically upload files to server on save. Our current setup is this: Files are checked out of a code

Re: passing URL variables to a cfwindow

2008-02-12 Thread Steve Good
This definitely got me going in the right direction, however, I am still having trouble with this. Here is what I am trying to do. I have a page that is populated by looping through a query. I am showing an image dynamically based on the data returned by the query. When a user clicks the

Re: DB Insert error in SQL Server

2008-02-12 Thread Ben Conner
Interesting. That did it! One more subtle difference between Access and SQL Server. Thanks much!! --Ben Sonny Savage wrote: I've never used Access, but yeah, the specification of NULL is required. cfif len(form.field) GT 0#form.field#cfelseNULL/cfif On Feb 12, 2008 2:57 PM, Ben Conner

Re: Generating unique random numbers

2008-02-12 Thread s. isaac dealey
That is a documentation bug that has been fixed in CF 8. Thanks Jochem! Well damn... that was repeated in Simon's article too... (which, doesn't let us add blog-style comments) ... but I went ahead and submitted a comment on the CF7 docs with links to both the corrected CF8 documentation and

Re: OT Javascript - when is an element visible

2008-02-12 Thread Rey Bango
In Ext, the Element class has built-in methods to get just about anything you need from an element, including position info. http://extjs.com/deploy/dev/docs/?class=Ext.Element jQuery, out of the box, can provide offset, width and height only and enhanced capabilities via the dimensions

Re: Generating unique random numbers

2008-02-12 Thread s. isaac dealey
Firstly, the column in the table absoutley *should* have a unique index or constraint on it. Doing that will avoid any racing as the db will make it impossible to insert dupes. I actually wasn't saying it shouldn't have a unique constraint, just that if you're using cflock to handle the

RE: Data display conundrum using cfquery's Group parameter

2008-02-12 Thread William Seiter
I am assuming that you have 4 departments and you want them to appear 'side by side'. table tr CFOUTPUT query=Qry_Employee group=Dept_ID td valign=top Department: #Dept_ID#br CFOUTPUT nbsp; nbsp; nbsp; ID: #Emp_ID# - #FirstName# #LastName#br /CFOUTPUT /td /CFOUTPUT /tr /table

Re: OT Javascript - when is an element visible

2008-02-12 Thread Massimo Foti
Doesn't sound fun though-- maybe someone will post and show us a pre-built function in the prototype library or something. :) Many libraries include a method to get the coordinates of any element. Right now I am thinking just about the one available in Mootools:

RE: OT Javascript - when is an element visible

2008-02-12 Thread Jim Davis
-Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 3:50 PM To: CF-Talk Subject: Re: OT Javascript - when is an element visible In Ext, the Element class has built-in methods to get just about anything you need from an element, including

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Dominic Watson
Lol, but it IS relative. The OP may not be aware that you can reference a cfc relative to the webroot I mean to say application root. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Dominic Watson
Well yes... but that's not relative. I was only talking about relative instantiation for the purpose of example. Lol, but it IS relative. The OP may not be aware that you can reference a cfc relative to the webroot and would in that case be thinking that he would need to use a path relative

Re: OT Javascript - when is an element visible

2008-02-12 Thread s. isaac dealey
I'm not sure if scrollTop is part of the spec for DOM (or widely supported -- innerHTML for example is not but widely supported). Assuming that scrollTop is supported in the browser though, I'd think something like this might work: var ct = container.scrollTop; var ch = container.offsetHeight;

Re: Generating unique random numbers

2008-02-12 Thread Dominic Watson
I actually wasn't saying it shouldn't have a unique constraint, just that if you're using cflock to handle the looping and checking, then the system will never actually reach a point at which the unique index becomes relevant, because the lock will prevent it from even attempting to insert

Auto Updating a CFDiv

2008-02-12 Thread Steve Good
How would I go about auto updating a cfdiv? I tried the method Ray laid out in his blog posting Building an 'auto refresh' div with ColdFusion 8. http://www.coldfusionjedi.com/index.cfm/2007/7/19/Building-an-auto-refresh-div-with-ColdFusion-8 It works for the most part, but I have two

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Dominic Watson
My understanding is that it can only be done one way ... downward... Not entirely true. You can reference any component from the root of the application you are in (see my previous post). Dominic -- Blog it up: http://fusion.dominicwatson.co.uk

Re: OT: repus

2008-02-12 Thread Sonny Savage
Haha... my thoughts exactly. On Feb 12, 2008 4:13 PM, Gerald Guido [EMAIL PROTECTED] wrote: Whiskey Tango Foxtrot? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: OT: repus

2008-02-12 Thread s. isaac dealey
Whiskey Tango Foxtrot? That's what I was thinking. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most

Re: repus

2008-02-12 Thread Don L
Well, on the other hand, one has to be aware these folks' job, at least, for some of them, IMI (in my igorance), has to come up with some innovative ideas, to identify these types of solutions, silly of me to start this thread to sound like I'm 'smart'. Whiskey Tango Foxtrot?

Re: Relative path when instantiating a CFC?

2008-02-12 Thread s. isaac dealey
it may be an option to refer to it from the app root. That could be a crucial piece of information for the OP. Yes. :) -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog

Re: Relative path when instantiating a CFC?

2008-02-12 Thread C S
I want to use a relative path when instantiating a CFC. Can this be done when using createObject()? Can it be done at all? There is also a UDF at cflib that allows relative paths. Though it does use coldfusion.runtime.TemplateProxy. So it might not work in CF8 if access to internal java

Re: Comment on CFGRID and its children tags with Cold Fusion 8

2008-02-12 Thread Don L
No doubt, it's cool and its presentation element is great. Forget about its history, started to use it since I was a kid, all right, just kidding... What my pet peeve about it has two folds: a) One can't do a {valign} within the context of CFGRIDCOLUMN, each row to be verticably

Re: Way OT : Grails.org

2008-02-12 Thread Barney Boisvert
I have thoughts: http://www.barneyb.com/barneyblog/2008/02/11/barney-and-the-holy-grail/ cheers, barneyb On Feb 12, 2008 4:51 PM, Gerald Guido [EMAIL PROTECTED] wrote: I have been looking at this today. http://grails.org/ Actually it grabbed me and wouldn't let go. Or the other way around.

Re: Generating unique random numbers

2008-02-12 Thread James Holmes
Ask Tom describes this well with regards to Oracle: http://www.oracle.com/technology/oramag/oracle/05-nov/o65asktom.html The drawback (with Oracle at least) is that if one tries to update the same row from two different serializable transactions, you'll get an error. Of course this can be

Re: Generating unique random numbers

2008-02-12 Thread Dominic Watson
I'm with you on it feeling ugly - I barely ever use try and catch. I do however feel that it is the most effective solution to this problem - the best checker of duplication being the one created by the db server that happens at the very moment of the insert. I don't have a problem with semantics

Trying to contact Rupesh Kumar...

2008-02-12 Thread Andy Matthews
Hey Rupesh... Sent you a few emails, but haven't heard back. Can you please send me an email when you see this? [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the

Re: Way OT : Grails.org

2008-02-12 Thread Barney Boisvert
On Feb 12, 2008 6:17 PM, s. isaac dealey [EMAIL PROTECTED] wrote: Actually, given the naming, I'm inclined to think they started developing Groovy specifically as an answer to Ruby and that was their reason for choosing Groovy and Grails specifically as the names because they're mnemonic for

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Sonny Savage
Thanks for the enlightening interaction! My dev env is CF7 and prod is CF6.1. The template instantiating the CFC is in a folder at the same depth as the cfc, so I was hoping for ../ type relative paths. The directory structure looks something like this: /app_name/[version]/scripts/cf/

Writing MSSQL Image Datatypes to BMPs

2008-02-12 Thread Matthew Reinbold
I recently inherited a database with a number of bitmap files saved in the database in a column that is the image data type. I want to export the images and save them to the file system. I had assumed that the data would be in a binary format but when I look at the data I see rows and rows

Re: CFEclipse - mimic quot;automatically upload files to server on savequot;

2008-02-12 Thread Matthew Reinbold
Hello Al, Have you looked at Aptana Studio? Its a free downloadable plugin for Eclipse. Not only do you get handy tools like CSS and JavaScript syntax completion and highlighting but there's also a 'view' called Sync Manager. There you set up a remote ftp connection to where you want to

RE: Writing MSSQL Image Datatypes to BMPs

2008-02-12 Thread Dawson, Michael
If you have SQL 2005, you can use SSIS's Export Column task to put the binary data into image files. It would be worth downloading the trial of SQL 2005. M!ke -Original Message- From: Matthew Reinbold [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 10:04 PM To: CF-Talk

RE: dump page source to a file

2008-02-12 Thread Bobby Hartsfield
Cfhttp the pages ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 10:34 PM To: CF-Talk Subject: dump page source to a file I need to convert a dynamic CF page to static

Re: dump page source to a file

2008-02-12 Thread C S
Is there some easier, programmatic way to write the resulting html page to file without too much manual fiddling around? Use cfhttp to grab the content in conjunction with the path/file attributes to save it to an html file.

dump page source to a file

2008-02-12 Thread Richard Colman
I need to convert a dynamic CF page to static html. The easiest way is to just run the page, view page source, and save the page source to a file. HOWEVER, I need to do this for about 40 different pages. Is there some easier, programmatic way to write the resulting html page to file without too

Re: Way OT : Grails.org

2008-02-12 Thread s. isaac dealey
There's a direct syntax comparison on Wikipedia for Grails that looks like this: == Syntax Comparison The following presents a side-by-side comparison of Java with Groovy: Standard Java (Java 5+) for (String item : new String [] {Rod, Carlos, Chris}) { if (item.length()

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Dominic Watson
Heh... okay, given... but I was addressing the question of relative to the template where the component is being instantiated, i.e. the default definition of relative... relative isn't relative to the application root unless you specifically include the qualifying phrase to the application

Re: Relative path when instantiating a CFC?

2008-02-12 Thread s. isaac dealey
Well yes... but that's not relative. I was only talking about relative instantiation for the purpose of example. Lol, but it IS relative. The OP may not be aware that you can reference a cfc relative to the webroot and would in that case be thinking that he would need to use a path

Way OT : Grails.org

2008-02-12 Thread Gerald Guido
I have been looking at this today. http://grails.org/ Actually it grabbed me and wouldn't let go. Or the other way around. Issac, any of this sound familiar? ;) Any thoughts on the matter anyone? -- I am certain there is too much certainty in the world. - Michael Crichton

Re: Way OT : Grails.org

2008-02-12 Thread s. isaac dealey
I have been looking at this today. http://grails.org/ Actually it grabbed me and wouldn't let go. Or the other way around. Issac, any of this sound familiar? ;) Any thoughts on the matter anyone? It'd been mentioned to me recently... the way I understand it Groovy is basically an

Comment on CFGRID and its children tags with Cold Fusion 8

2008-02-12 Thread Don L
No doubt, it's cool and its presentation element is great. Forget about its history, started to use it since I was a kid, all right, just kidding... What my pet peeve about it has two folds: a) One can't do a {valign} within the context of CFGRIDCOLUMN, each row to be verticably aligned is

RE: Generating unique random numbers

2008-02-12 Thread Dave Watts
I try not to rely too much on systems that expect errors to be thrown if I can avoid it, partly for semantic reasons, i.e. hopefully errors shouldn't be thrown during standard operation, but also because the trapping of errors is mechanically expensive. The trapping of errors is only

Re: passing URL variables to a cfwindow

2008-02-12 Thread Don L
Glad you worked it out. Ok, I have my initial problem solved with passing data to my cfwindow. Thanks for the help! Starting a new thread for the next road block I am having. ~Steve Steve Good wrote: ~| Adobe®

Re: Relative path when instantiating a CFC?

2008-02-12 Thread s. isaac dealey
My understanding is that it can only be done one way ... downward... Not entirely true. You can reference any component from the root of the application you are in (see my previous post). Well yes... but that's not relative. I was only talking about relative instantiation for the

Re: CFADMINAPI and ServiceFactory

2008-02-12 Thread Gerald Weir
Ray we're good. I see it now. Thanks for your assistance. I never saw my question on the CFTalk page (not sure why) so I've only heard from you. Hopefully, others will be able to find the answers as well. Thanks, Jerry Weir There is a setter, but it is dependant on your type of DB, for

Re: Generating unique random numbers

2008-02-12 Thread s. isaac dealey
What I am saying though is that the check and the insert can be the same thing - why use two uniqueness checkers when one is already written for you and is water tight? Loop until the db doesn't throw back a unique constraint error when you try and insert. Seems to me the most logical approach

Re: passing URL variables to a cfwindow

2008-02-12 Thread Steve Good
Ok, I have my initial problem solved with passing data to my cfwindow. Thanks for the help! Starting a new thread for the next road block I am having. ~Steve Steve Good wrote: This definitely got me going in the right direction, however, I am still having trouble with this. Here is what

Re: OT: repus

2008-02-12 Thread Gerald Guido
Whiskey Tango Foxtrot? On Feb 12, 2008 2:56 PM, Don L [EMAIL PROTECTED] wrote: funny, thought of something, queried it, and found CIA was already ahead of me... ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: DB Insert error in SQL Server

2008-02-12 Thread Sonny Savage
One last thing, I have a bad habit of not using cfqueryparam, and I don't want to pass that on to you. Here's how you *should* do it: cfqueryparam value=#form.field# cfsqltype=cf_sql_integer null=#len( form.field) EQ 0# On Feb 12, 2008 3:57 PM, Ben Conner [EMAIL PROTECTED] wrote: Interesting.

RE: CF-friendly webcam recorder

2008-02-12 Thread Mike Francisco
Here's little bit of more detail what I am looking for. I am planning on using influxis' FMS/FCS hosting. I am looking for a Flash frontend app that can record webcam generated flv, which I can then integrate with my CF+MySQL app. As I mentioned, there are several PHP, ASP, and .NET supported

Re: CFEclipse - mimic quot;automatically upload files to server on savequot;

2008-02-12 Thread Dave l
A lot of time I would LOVE for it to work this way! And that was one of my hangups moving to eclipse too. I also use skedit which will do that. I know a lot of ppl dont want to do it but it is very handy some times. Sometimes when I am working on a layout and I have lots of files open that all

Anyone figure out how to make cfcompile.sh work on a mac?

2008-02-12 Thread Mike Provoost
I've been trying to make cfcompile.sh run on my mac for a while now and no matter what i do i can't get it to run. Has anyone been able to make this work? Or are mac users out of luck? Thanks. ~| Adobe® ColdFusion® 8 software

RE: DB Insert error in SQL Server

2008-02-12 Thread Al Musella, DPM
You have 13 items in the field names and are trying to insert 14 values. you probably have an extra comma someplace At 01:39 PM 2/12/2008, Adkins, Randy wrote: Is WEIGHT specified as a numeric field or varchar? If varchar, you need the '' relating to null. the same for ShipBase. Other than

OT: repus

2008-02-12 Thread Don L
funny, thought of something, queried it, and found CIA was already ahead of me... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: DB Insert error in SQL Server

2008-02-12 Thread Sonny Savage
I've never used Access, but yeah, the specification of NULL is required. cfif len(form.field) GT 0#form.field#cfelseNULL/cfif On Feb 12, 2008 2:57 PM, Ben Conner [EMAIL PROTECTED] wrote: Oh. So for null numeric fields, one has to put in null? Why wouldn't this have failed under Access? Or

Re: DB Insert error in SQL Server

2008-02-12 Thread Ben Conner
Hi Randy, Weight is Float 8 with nulls acceptable. --Ben Adkins, Randy wrote: Is WEIGHT specified as a numeric field or varchar? If varchar, you need the '' relating to null. the same for ShipBase. Other than that, it looks okay to me. -Original Message- From: Ben Conner

Re: DB Insert error in SQL Server

2008-02-12 Thread Ben Conner
Oh. So for null numeric fields, one has to put in null? Why wouldn't this have failed under Access? Or is this part of the 'I'm a REAL database' that SQL Server is enforcing? ;-) --Ben Mark Kruger wrote: Ben, Your syntax has commas in it that are not syntactically correct The error is

Re: Data display conundrum using cfquery's Group parameter

2008-02-12 Thread Charlie Griefer
On Feb 12, 2008 11:41 AM, Che Vilnonis [EMAIL PROTECTED] wrote: Instead of one long column of data, how would I rewrite the code below so that there are 4 columns of data? I tried using the queryname.currentrow and the mod function but it does not seem to work. Thanks, Che CFOUTPUT

Data display conundrum using cfquery's Group parameter

2008-02-12 Thread Che Vilnonis
Instead of one long column of data, how would I rewrite the code below so that there are 4 columns of data? I tried using the queryname.currentrow and the mod function but it does not seem to work. Thanks, Che CFOUTPUT query=Qry_Employee group=Dept_ID Department: #Qry_Employee.Dept_ID#br CFOUTPUT

RE: OT Javascript - when is an element visible

2008-02-12 Thread Brad Wood
I know there is a JS method called .scrollIntoView() (IE only??) which will cause the an element to scroll to where it is visible. Not sure how to tell if it is visible though. I suppose if you know the edges of the viewable area, you can calculate the position of the element in question via its

Re: How can I AutoSuggest multiple CFINPUT fields

2008-02-12 Thread Dominic Watson
Can anybody point me to information where I can learn how to fill several form fields with query information returned from an autosuggest query? Yeh, in CF8, you want to check out binding form controls: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_07.html You

SOT: FCK editor now double spaces with enter key?

2008-02-12 Thread Andy Matthews
We've been using FCK editor for a while now. It used to create a single return when hitting the enter button. We recently upgraded to a newer version (2.5 I think) and now it creates a double space instead. Does anyone know if this is a setting that can be changed? andy

Re: Relative path when instantiating a CFC?

2008-02-12 Thread Dominic Watson
I want to use a relative path when instantiating a CFC. Can this be done when using createObject()? Can it be done at all? It can't be done using relative notation. If the cfc is outside the root of your application, you can use a ColdFusion mapping. If it is within the root, a mapping is

RE: DB Insert error in SQL Server

2008-02-12 Thread Adkins, Randy
Is WEIGHT specified as a numeric field or varchar? If varchar, you need the '' relating to null. the same for ShipBase. Other than that, it looks okay to me. -Original Message- From: Ben Conner [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 1:35 PM To: CF-Talk Subject:

RE: DB Insert error in SQL Server

2008-02-12 Thread Mark Kruger
Ben, Your syntax has commas in it that are not syntactically correct The error is telling you this - incorrect syntax near , Note this line in your insert code: njuice', '', 1903, 189, 123.45, , , 'clamprack See the three commas in a row? There should be something there... An empty

DB Insert error in SQL Server

2008-02-12 Thread Ben Conner
Hi, I ported an application from Access to MS SQL Server and am getting an error when inserting a test record into a table: Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Line 21: Incorrect syntax near ','. The error occurred in

Re: How can I AutoSuggest multiple CFINPUT fields

2008-02-12 Thread Philip Hayes
It seems the CFTEXTAREA version of the FCK editor is OK... but the newer version kills it. Still I want to use the newer version. Anybody have any ideas of what i can do to fix it? On Dec 30, 2007, at 9:15 PM, Philip L. Hayes wrote: Hi everybody... Can anybody point me to

Relative path when instantiating a CFC?

2008-02-12 Thread Sonny Savage
I want to use a relative path when instantiating a CFC. Can this be done when using createObject()? Can it be done at all? Thanks! -- Edward A Savage Jr - Sonny Senior Software Engineer Creditdiscovery, LLC I was gratified to be able to answer promptly. I said I don't know. ~ Mark Twain

FCK Editor 2.5 consistently crashes browser when inside CFLAYOUT area

2008-02-12 Thread Philip Hayes
Can anybody tell me what is causing the page to crash Safari , Firefox (and I think explorer)? I'm trying to put the editor inside of a tabs layout. SAMPLE CODE !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

Re: repus

2008-02-12 Thread Charlie Griefer
On Feb 12, 2008 3:13 PM, Don L [EMAIL PROTECTED] wrote: Well, on the other hand, one has to be aware these folks' job, at least, for some of them, IMI (in my igorance), has to come up with some innovative ideas, to identify these types of solutions, silly of me to start this thread to sound

Re: CFEclipse - mimic automatically upload files to server on save

2008-02-12 Thread s. isaac dealey
Okay, I want to move to CFEclipse. To date, we've used Dreamweaver. I've used CFEclipse for my own personal stuff, and I like it. The only thing that it doesn't do that Dreamweaver does is automatically upload files to server on save. I've actually wanted for a while (and suggested I believe

Re: Relative path when instantiating a CFC?

2008-02-12 Thread s. isaac dealey
I want to use a relative path when instantiating a CFC. Can this be done when using createObject()? Can it be done at all? My understanding is that it can only be done one way ... downward... so if you've got /com/blah/thing.cfc /site/home.cfm Then you wouldn't be able to use a relative

zip code boundry :: google maps api

2008-02-12 Thread Paul Ihrig
hey guys. i was looking at http://www.usnaviguide.com/zipunion.htm enter in zips... 43202 43215 43201 43212 43210 43211 43222 i would like to be able to do some thing similar with google maps api and was wondering if any one has already done some thing withzip ranges, and multiple color

Re: Writing MSSQL Image Datatypes to BMPs

2008-02-12 Thread Matthew Reinbold
Mike, I do have SQL 2005 but after a half hour of documentation I'm clueless on where the export from SQL Server Management Studio via 'SSIS' is. I also opened up the business intellegence development studio but I haven't got a clue where to start there and I fear that it doesn't support

Re: Generating unique random numbers

2008-02-12 Thread Jochem van Dieten
s. isaac dealey wrote: The transaction won't actually isolate you from a race condition. Other connections will be able to insert at the same time. A full table lock, on the other hand, will protect you. A unique key constraint would also do it. Umm... I was under the impression that a

Re: Generating unique random numbers

2008-02-12 Thread Azadi Saryev
do you actually need the numbers to be random or just unique? auto-incremented zero-filed integers of set length are available as datatype in some DBs (i.e. MySQL)... not random (they will be sequential), but unique to each record... --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com

Re: CFEclipse - mimic amp;quot;automatically upload files to server on saveamp;quot;

2008-02-12 Thread Dave l
I looked at it awhile back but the sync was basically re-syncing everything, everytime, was pita Hello Al, Have you looked at Aptana Studio? Its a free downloadable plugin for Eclipse. Not only do you get handy tools like CSS and JavaScript syntax completion and highlighting but there's

RE: Generating unique random numbers

2008-02-12 Thread Bobby Hartsfield
and yeah bobby I USE IT ALL THE DAMN TIME to generate random numbers? Wow, what a waste of processing... RandRange() works just fine for numbers... as for uniqueness, you can only make sure the number isn't already in use by checking your database. If it is in use, generate another and check it.

Re: Generating unique random numbers

2008-02-12 Thread Claude Schneegans
The transaction won't actually isolate you from a race condition. Not if all applications use the same template for the transaction. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the

Re: CF-friendly webcam recorder

2008-02-12 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The one which I have developed would need to be updated as right now it is only used to Broadcast High School Sporting Events and High School Graduations and is powered by Flash Communication Server. Looking over the URL is kinda the same as my

RE: Printing mailing labels

2008-02-12 Thread Rick Faircloth
Hey, I think I resemble that remark! My in-house server may still be using 4.5, but my new VPS and my dev machine only use CF 8! Still haven't used a CFC, however...but I will, Will! Bring on the t-shirt! :o) Rick -Original Message- From: Dave l [mailto:[EMAIL PROTECTED] Sent:

Re: Generating unique random numbers

2008-02-12 Thread Dominic Watson
Woops, made a few blunders in there - but hey, you get the idea I'm sure ;) Dom On 12/02/2008, Dominic Watson [EMAIL PROTECTED] wrote: Firstly, the column in the table absoutley *should* have a unique index or constraint on it. Doing that will avoid any racing as the db will make it

Re: Generating unique random numbers

2008-02-12 Thread Dominic Watson
Firstly, the column in the table absoutley *should* have a unique index or constraint on it. Doing that will avoid any racing as the db will make it impossible to insert dupes. With that in mind, your code could look something like: cfset recordInserted = false cfset maxTries = 10 cfset counter =