Re: Where in the registry does ColdFusion 9 store client variables?

2010-11-08 Thread Philip Kaplan
Thanks, but ColdFusion 9 doesn't have a Macromedia key. And the Adobe key hardly has anything in it. See: http://img.skitch.com/20101108-qfgikqx7fr41hnmjyhppsd7r42.jpg On Sun, Nov 7, 2010 at 8:19 PM, Philip Kaplan pkap...@gmail.com wrote: I accidentally had registry client variables turned

Re: Where in the registry does ColdFusion 9 store client variables?

2010-11-08 Thread Russ Michaels
I have `checked and That is still the same registry key for CF9. On Mon, Nov 8, 2010 at 7:59 AM, Philip Kaplan pkap...@gmail.com wrote: Thanks, but ColdFusion 9 doesn't have a Macromedia key. And the Adobe key hardly has anything in it. See: http://img.skitch.com/20101108

Re: Back to .NET integration - Enumeration issue

2010-11-08 Thread Stefan Richter
I need to warm this thread up again - I am s close... As explained before I was able to use the .NET Bitmap's save method to save an image: cfobject type=.NET name=presentation class=Aspose.Slides.Presentation assembly=#slidesDLL# cfset presentation.init(#Expandpath('./')#ppt\test2.ppt)

Re: DirectoryWatcher Event Gateway

2010-11-08 Thread Jake Churchill
Thanks for the suggestion. I discussed DFS replication with the team and one member said that it was a dog and very difficult to debug. Have you had issues? All I need to do is keep an images directory in sync between 2 servers so I don't need some giant enterprise level piece of software,

Re: DirectoryWatcher Event Gateway

2010-11-08 Thread Dave Watts
All I need to do is keep an images directory in sync between 2 servers so I don't need some giant enterprise level piece of software, just something that does the job. Robocopy and rsync are two alternatives you might consider if you're worried about the complexity of DFS replication. That

Best Way to Trap SQL Error

2010-11-08 Thread Rick Colman
What is the best way to gracefully trap this sort of error ... Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. The error occurred on line 3. TNX for any suggestions. Rick.

(ot) Anyone looking for a UX / UI Expert in Los Angeles?

2010-11-08 Thread Mark Drew
Really sorry about the Off Topic, but I guess some of you will be dealing with this. A good friend and ex coleague of mine is moving to LA this week and I know he is awesome in the UX / UI areas of web development. Anyone out there looking for someone with those skills over in LA? Many

Re: (ot) Anyone looking for a UX / UI Expert in Los Angeles?

2010-11-08 Thread John M Bliss
Not personally but here're 1,200 of them: http://www.indeed.com/jobs?q=%22user+experience%22+OR+%22user+interface%22l=Los+Angeles,+CA http://www.indeed.com/jobs?q=%22user+experience%22+OR+%22user+interface%22l=Los+Angeles,+CAI also found 50 on linkedin.com On Mon, Nov 8, 2010 at 9:14 AM, Mark

Re: Best Way to Trap SQL Error

2010-11-08 Thread James Holmes
Have you tried cftry/cfcatch? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 8 November 2010 23:07, Rick Colman rcol...@cox.net wrote: What is the best way to gracefully trap this sort of error ... Error Executing Database Query. [Macromedia][SequeLink JDBC

Re: Back to .NET integration - Enumeration issue

2010-11-08 Thread Stefan Richter
I've now worked around this to some degree by saving the initial image with a .png extension and then re-saving it using cfimage. This seems to work. I'd still like to find out why the other approach with .NET classes didn't work. It's so confusing... Cheers Stefan

Re: Best Way to Trap SQL Error

2010-11-08 Thread Michael Grant
The best way would be to validate the data before getting your database involved. On Mon, Nov 8, 2010 at 10:07 AM, Rick Colman rcol...@cox.net wrote: What is the best way to gracefully trap this sort of error ... Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC

Re: Best Way to Trap SQL Error

2010-11-08 Thread Mike Chabot
A good site-wide error handler that sends alert e-mails would help. The cferror tag is one method that works well. -Mike Chabot On Mon, Nov 8, 2010 at 10:07 AM, Rick Colman rcol...@cox.net wrote: What is the best way to gracefully trap this sort of error ... Error Executing Database Query.

Re: Best Way to Trap SQL Error

2010-11-08 Thread Rick Colman
This was a really good idea, and solved the problem. I validated for an integer, and the error went away. TNX. On 11/8/2010 7:49 AM, Michael Grant wrote: The best way would be to validate the data before getting your database involved. On Mon, Nov 8, 2010 at 10:07 AM, Rick

dropdown question

2010-11-08 Thread fun and learning
Hello All - I have a dropwown with multiple option. When the user selects a value, goes to some other screen, and comes back he will be able to see the value selected. This is all fine. But if the user selects some last value in the dropdwon, he has to scroll down to see what has been

Re: dropdown question

2010-11-08 Thread Russ Michaels
you just need to set the selected item as selected in the dropdown select name=acme option value=abc selectedtext/option /select when the user submit the form, just store the seelected value in a session variable and use this to set the SELECTED attribute. e.g. select name=acme option

Re: dropdown question

2010-11-08 Thread fun and learning
you just need to set the selected item as selected in the dropdown select name=acme option value=abc selectedtext/option /select when the user submit the form, just store the seelected value in a session variable and use this to set the SELECTED attribute. e.g. select name=acme option

Re: Sanitize input data for SQL

2010-11-08 Thread Paul Smith
I need a cffunction similar to PHP's mysql_escape_string that sanitizes input data, that is - escapes invalid code so as to prevent SQL injection and the like. I've have been unable to trap/filter the following: www.MyWebsite.com\index.cfm?start=-1%27 to keep it from emailing me an error

Amazon S3 and Encryption

2010-11-08 Thread Dean Lawrence
I have a client site running CF7 where we need to move all their pdf documents to Amazon's S3 service. However, we need to encrypt them before sending them to S3. My original plan was to then retrieve the document on the server side, decrypt it, and deliver it to the client via cfcontent.

A search with special characters in Solr

2010-11-08 Thread Mary Jo Sminkey
I have an unusual request from my client, they want to be able to have their people in the field put tags in their reports that they can search on, using some kind of special character to tag a word as being one of these special search phrases. They wanted to use asterisks to do this (such as

Re: cfheader/cfheader not working as expected

2010-11-08 Thread Robert Gallagher
cfheader name=Content-Disposition value=*inline*;filename=download. xls / Change inline to attachment so that the browser knows this is a separate, attached file to view OR download AND NOT an inline part of the currently viewed file: test.cfm. Using attachment forces the user to make a

Re: Amazon S3 and Encryption

2010-11-08 Thread Gerald Guido
The simplest way to do this is use cfhttp to download the file from S3. You can lock the files on S3 using simple authentication and use the username and password attributes for chttp. You can also use the Amazon S3 REST Wrapper http://amazons3.riaforge.org/or one of the other libraries from

Re: cfheader/cfheader not working as expected

2010-11-08 Thread Dave Watts
Using attachment forces the user to make a selection on a dialog box and I wanted to bypass that dialog box and have the file open every time. For obvious security reasons, you generally can't make things happen on a client's machine from the web server. You can provide suggestions to the

Re: cfheader/cfheader not working as expected

2010-11-08 Thread Ian Skinner
On 11/8/2010 9:55 AM, Robert Gallagher wrote: Using attachment forces the user to make a selection on a dialog box and I wanted to bypass that dialog box and have the file open every time. You do not get to make that choice. It is *MY* computer and *MY* browser and *I* get to say what

Re: cfheader/cfheader not working as expected

2010-11-08 Thread Michael Grant
You don't get such a granular level of control in the web environment, only in the desktop arena. On Mon, Nov 8, 2010 at 12:55 PM, Robert Gallagher robert.gallag...@honeywell.com wrote: cfheader name=Content-Disposition value=*inline*;filename=download. xls / Change inline to

Re: dropdown question

2010-11-08 Thread Russ Michaels
I don't know off the top of my head how to scroll select lists, but I would say having a select list that big is a bad idea. It will be horrible to use, who wants to scroll through 1000 options, plus this adds unnecessary size and load time to your page. What would be better is to have just

Re: dropdown question

2010-11-08 Thread Dave Watts
I don't know off the top of my head how to scroll select lists, but I would say having a select list that big is a bad idea. It will be horrible to use, who wants to scroll through 1000 options, plus this adds unnecessary size and load time to your page. What would be better is to have just

Downloading Excel and bypassing Open/Save dialog box

2010-11-08 Thread Robert Gallagher
I want to download a web page to Excel and bypass the Open/Save dialog box (e.g. don't use value=attachment in the cfheader tag. I am using CF7, browser is IE6SP2 and Excel 2007. The single standalone file is test.cfm. Here is the code: cfheader name=Content-Disposition

Re: Amazon S3 and Encryption

2010-11-08 Thread Dean Lawrence
Gerald, thanks for the suggestions. When you used the REST Wrapper, did you have any problems with secure certificates and cfhttp? In my research I saw a number of people receiving errors when trying to communicate with the S3 servers over https? Thanks, Dean

Re: Amazon S3 and Encryption

2010-11-08 Thread Gerald Guido
Gerald, thanks for the suggestions. When you used the REST Wrapper, did you have any problems with secure certificates and cfhttp? In my research I saw a number of people receiving errors when trying to communicate with the S3 servers over https? Not that I remember. It was quite a while ago

Re: (ot) Anyone looking for a UX / UI Expert in Los Angeles?

2010-11-08 Thread Larry Lyons
At the risk of Michael D getting ticked off at us I'll at to the OT. Why not post his info to CF-Jobs? regards, larry Really sorry about the Off Topic, but I guess some of you will be dealing with this. A good friend and ex coleague of mine is moving to LA this week and I know he is

inserting farsi/arabic entry to database with CF

2010-11-08 Thread mojtaba tabatabaie
hi , my first post in house of fusion I think . I'm new to CF . my problem is that I'm trying to insert an entry to my database . the problem is that this entry is in farsi like سفید دندان and when I do it via the cfquery tag the entry in database(which is microsoft sql) is like

Re: inserting farsi/arabic entry to database with CF

2010-11-08 Thread Russ Michaels
Hi, the first thing to check is that you are using the correct datatype in the database. Many foreign languages require double byte characters which requires you to us ethe n prefix data tyles, e.g. nVarchar, nChar etc. You also need to consider your collation settings.

Re: inserting farsi/arabic entry to database with CF

2010-11-08 Thread mojtaba tabatabaie
Hi, the first thing to check is that you are using the correct datatype in the database. Many foreign languages require double byte characters which requires you to us ethe n prefix data tyles, e.g. nVarchar, nChar etc. You also need to consider your collation settings.

Re: Back to .NET integration - Enumeration issue

2010-11-08 Thread Leigh
The resulting image appears to be a valid JPG image. I say appears because the CFIMAGE tag falls over if I try to read it back into CF. Yes, as you guessed you have to convert the bitmap to jpeg format first. I'd still like to find out why the other approach with .NET classes didn't

Re: inserting farsi/arabic entry to database with CF

2010-11-08 Thread Dave Watts
thanks a lot Russ . from the links you gave I realized that maybe the cfprocessingdirective tag is the solution . but I don't know what's going wrong that when I wrap my cfquery tag inside the cfprocessingdirective it gives me error  and says that the /cfprocessingdirective tag doesn't

cfm vs html pages

2010-11-08 Thread Rob Voyle
Hi folks I am building a new website that will have about a 100 pages with an extensive menu that will need to change over time. My thought is to create a separate menu file and create all the pages as cfm files rather than html pages and use cfinclude to include the menu. That way I only

Re: cfm vs html pages

2010-11-08 Thread Wil Genovese
As long as you have a ColdFusion server (or one of the open source CFML servers) this is a perfect solution. Wil Genovese Sr. Web Application Developer/ Systems Administrator Trunkful Technologies, inc. 651-894-4238 wilg...@trunkful.com www.trunkful.com On Nov 8, 2010, at 4:08 PM, Rob Voyle

Re: cfm vs html pages

2010-11-08 Thread David McGraw
Always a good idea to give you 1 file to update. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Mon, Nov 8, 2010 at 5:08 PM, Rob Voyle robvo...@voyle.com wrote: Hi folks I am building a new website that will have about a 100 pages with an extensive menu that will need

Re: cfm vs html pages

2010-11-08 Thread Tom McNeer
On Mon, Nov 8, 2010 at 5:12 PM, Wil Genovese jugg...@trunkful.com wrote: As long as you have a ColdFusion server (or one of the open source CFML servers) this is a perfect solution. Although ... depending on how those 100 pages are maintained, you might want to consider the Mura CMS. It's

Re: cfm vs html pages

2010-11-08 Thread Tony Bentley
Is the content only HTML? You can have one master navigation that links the HTML pages. You can also have one master page that gets the html document too. index.cfm?page=about.html, then include the about.html in the master page.

Re: cfm vs html pages

2010-11-08 Thread Russ Michaels
The age old method is to create a header.cfm, footer.cfm, menu.cfm, index.cfm index.cfm contains the main layout, and cfinclude all the other files. You then have 2 options. create individual pages that work the same way as index.cfm, or create content pages that get included into the

Re: cfm vs html pages - one drawback

2010-11-08 Thread Rob Voyle
Thanks guys for th e input. I have discovered one downside. I have a virtual private server running Cold fusion that I host my websites. But to view the pages as I develop them means that I have to upload them to the web to see the finished page. Because of my physical location the fastest

Re: cfm vs html pages - one drawback

2010-11-08 Thread Wil Genovese
Sure is, just install the development version of ColdFusion (for free) on your local computer. Wil Genovese Sr. Web Application Developer/ Systems Administrator Trunkful Technologies, inc. wilg...@trunkful.com www.trunkful.com On Nov 8, 2010, at 5:03 PM, Rob Voyle wrote: Thanks guys for

Re: cfm vs html pages - one drawback

2010-11-08 Thread Dave Watts
Is there a way to view cf pages on my local computer without going to the web server. years ago Homesite had a cut down version of CF that worked well is there an alternative? You can just download CF and install it on your local computer. It's free for development use. That's what Homesite

Re: A search with special characters in Solr

2010-11-08 Thread Maureen
You might have them tag like this ~word~, then parse for that when building your search. On Mon, Nov 8, 2010 at 9:08 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote: I have an unusual request from my client, they want to be able to have their people in the field put tags in their reports

Re: inserting farsi/arabic entry to database with CF [spamtrap bayes][spamtrap heur]

2010-11-08 Thread Paul Hastings
You also need to consider your collation settings. http://msdn.microsoft.com/en-us/library/ms144260.aspx in this case, no you don't. values(cfqueryparam value=#arguments.name# cfsqltype=cf_sql_varchar,cfqueryparam value=#arguments.writer# cfsqltype=cf_sql_varchar) if you're

RE: Moving to DC

2010-11-08 Thread Jacob
Metro is the only way to get around in DC. Forget about driving, let alone finding a place to park... -Original Message- From: Maureen [mailto:mamamaur...@gmail.com] Sent: Thursday, November 04, 2010 3:59 PM To: cf-jobs-talk Subject: Re: Moving to DC My sister had a nice place in

Re: Moving to DC

2010-11-08 Thread sonicDivx
Jason if you are still looking for a job, just got pinged by some recruiters so can pass along if you want On Mon, Nov 8, 2010 at 11:43 AM, Levi Wallach l...@dvdmon.com wrote: That's a pretty blanket statement. nbsp;I've been commuting by car for 15 years. nbsp;All until the last 3 months

Re: Moving to DC

2010-11-08 Thread RobG
On 11/8/10 8:35 AM, Jacob wrote: Metro is the only way to get around in DC. Forget about driving, let alone finding a place to park... If they would legalize lane splitting in DC/Virginia and surrounding areas, it would open up a whole new way to commute (motorcycle). It works really,

Re: Moving to DC

2010-11-08 Thread RobG
On 11/8/10 10:39 AM, Larry C. Lyons wrote: HOV regulations in Virginia allow motorcycles to use the HOV lanes and I-66 inside the beltway during rush hour. Yeah that's a federal law, in fact. But being able to split lanes saves a TON of time when traffic inevitably slows down... likewise

Re: Moving to DC

2010-11-08 Thread Larry C. Lyons
I may be confused. What do you mean by split lanes? On Mon, Nov 8, 2010 at 1:53 PM, RobG sled...@gmail.com wrote: On 11/8/10 10:39 AM, Larry C. Lyons wrote: HOV regulations in Virginia allow motorcycles to use the HOV lanes and I-66 inside the beltway during rush hour. Yeah that's a

Re: Moving to DC

2010-11-08 Thread Scott Stewart
I think he means riding between lanes of stopped traffic.. which on the east coast may introduce a motorcyclist to the inside of a car door fairly quickly... On Mon, Nov 8, 2010 at 2:15 PM, Larry C. Lyons larrycly...@gmail.com wrote: I may be confused. What do you mean by split lanes? On

Re: Moving to DC

2010-11-08 Thread RobG
On 11/8/10 11:15 AM, Larry C. Lyons wrote: I may be confused. What do you mean by split lanes? www.laneshare.org Being able to ride between the lanes of cars. It's common practice in California and has been for decades. The rule of thumb is this... at speeds below 35 mph (such as on a

Re: Moving to DC

2010-11-08 Thread Larry C. Lyons
Knowing what drivers are like on I-66 I wouldn't be surprised. Actually in this area its almost a guarantee of a near (if not) fatal accident. Those drivers are dangerous. I drive a MIni and in this area I have to be very alert to all those over-sized SUVs whose drivers are usually talking on

Re: Moving to DC

2010-11-08 Thread Scott Stewart
Larry.. why doesn't she take the Omni-Ride bus to the Franconia/Springfield Metro? On Mon, Nov 8, 2010 at 3:07 PM, Larry C. Lyons larrycly...@gmail.com wrote: Knowing what drivers are like on I-66 I wouldn't be surprised. Actually in this area its almost a guarantee of a near (if not) fatal

Re: Moving to DC

2010-11-08 Thread RobG
On 11/8/10 12:07 PM, Larry C. Lyons wrote: Knowing what drivers are like on I-66 I wouldn't be surprised. No offense but everybody says this about just about everywhere. We all think we live with the worst drivers. :) I drive a MIni and in this area I have to be very alert to all those

Re: Moving to DC

2010-11-08 Thread Paul Day
There would also be a rather large contingency of riders that will be more than happy to remove the door opener's head from their torso. That should be deterrent enough... On Mon, Nov 8, 2010 at 3:22 PM, RobG sled...@gmail.com wrote: On 11/8/10 11:51 AM, Scott Stewart wrote: I think he

Re: Moving to DC

2010-11-08 Thread Scott Stewart
I don't 'cause I live here and I know what some of the dumb rednecks around here will stoop to doing, and think about the consequences later... I know it would never pass the Virginia legislature because of the elitist attitude that abounds there, like I said If I can't go you can't either On

Re: Moving to DC

2010-11-08 Thread Larry C. Lyons
That is of course if they allow for any transportation funding at all. Given the current state government's hostility to this area, and the power of the Richmond and Tidewater legislators, I really doubt that this region will get anything more than a trickle of DOT project money for a while. On