RE: Can this be optimized?

2003-10-05 Thread Snake Hollywood
Have SQL server do it directly with a scheduled DTS and it will be even quicker. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: 05 October 2003 05:21 To: CF-Talk Subject: RE: Can this be optimized? stace. i just had to do the same, i have some reports that clients

Getting Field names and datatypes from MS Access database

2003-10-05 Thread Angel Stewart
Hey all, this topic was touched on a few threads back, but it was never fully resolved. How would I get the fieldnames and their corresponding data types for a specific table in an access database using coldfusion? -Gel [Todays Threads] [This Message] [Subscription] [Fast

postgresql.cfm not found (MX6.1)

2003-10-05 Thread jtnews
Seems that I have been bitten by the postgresql.cfm bug in CFMX 6.1 anyone have a fix for this yet?I can create datasources, but cannot edit, verify, or delete them once created due to this error: - Error Occurred While Processing Request File not found:

RE: Getting Field names and datatypes from MS Access database

2003-10-05 Thread Snake Hollywood
All info about the table sin a database are stored in the sys tables. open your DB and goto Tools -- Options -- View and check system table sand hidden tables MSysObjects is the table that contains all the info you need. Russ Michaels Macromedia/Allaire Certified ColdFusion Developer

CFMX/Linux: using Java to read image properties

2003-10-05 Thread Ubqtous
I am under the impression that Java has some built-in ways of reading image data, but I am new to CFMX/Linux and Java and am not sure how to leverage this functionality in my code. I basically need to be able to determine the width, height, and file size of an image. I had a custom tag that

Re: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Matt Liotta
Off the top of my head i.e. untested... cfscript image = CreateObject(java, javax.swing.ImageIcon); image.init(path to image file here); width = image.getIconWidth(); height = image.getIconHeight(); //get the size imageFile = CreateObject(java, java.io.File); imageFile.init(path to image

RE: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Joe Eugene
Here is an article by Matt, i think there might be few other ways of doing the same thing with Java. http://www.macromedia.com/devnet/mx/coldfusion/articles/jai_images.html Joe Eugene -Original Message- From: Ubqtous [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:04 PM To:

Re: Major debug issues with MX 6.1

2003-10-05 Thread Claude Schneegans
It's nothing a quick little mail rule couldn't solve. A mail rule set WHERE? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Massimo, Tiziana e Federica
http://www.cfmentor.com/code/index.cfm?action=""> Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ [Todays Threads] [This Message] [Subscription] [Fast

RE: RE: Session Variables Or Client Variables (Pros Cons - Poll)

2003-10-05 Thread Joe Eugene
Barney, Just curious.. how this might work. Create HashMaps/Structs in the application scope for every unique hit to the server and assign a unique cookie ID number for unique requests and store session values in application scope. if(Not structKeyExists(application.appUsers, '#uniqueID#')){

Re: Major debug issues with MX 6.1

2003-10-05 Thread cf-talk
Depends what mail client you're using.In Outlook Express you simply click Message and then select Create Rule From Message. In web based mail clients such as an IMail server... there's rules that can be made there as well.So, long story short... there's no need to put up with the same virus being

Re: postgresql.cfm not found (MX6.1)

2003-10-05 Thread Ubqtous
jtnews, On Monday, October 6, 2003, 2:43:17 AM, you wrote: jec Seems that I have been bitten by the postgresql.cfm bug in CFMX 6.1 jec anyone have a fix for this yet?I can create datasources, but cannot edit, jec verify, or delete them once created due to this error: jec - jec

OT -- JavaScript

2003-10-05 Thread Howard Owens
I'm having a little trouble with this script ... here's the bit of code in question ... packageAtribs = new Object(); packageAtribs.holidaySelection = document.rentalForm.Holidays.value; if I do -- alert(document.rentalForm.Holidays.value); I get the expected value. But

Dynamic queryname in CFSCRIPT

2003-10-05 Thread Rory Lysaght
I've got a function that needs to check a different query depending on how it's called.But I keep getting this error: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members. The function is evaluating the string properly, but the line

RE: Dynamic queryname in CFSCRIPT

2003-10-05 Thread Matthew Walker
What happens if you write: myQuery =myarray[x]; rCount = myQuery.recordCount instead of rCount = myarray[x].RecordCount; ? -Original Message- From: Rory Lysaght [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 10:45 a.m. To: CF-Talk Subject: Dynamic queryname in CFSCRIPT

Re: Major debug issues with MX 6.1

2003-10-05 Thread Lists2 - TriPointTek
Claude Schneegans wrote: Firstly I HATE this HTML cf-talk system, Outlook users I' receiving more than 200 copies of the same ^%$ stupid 150k virus everyday. Personnally I HATE Outlook users! ;-) What client do you use? Dan [Todays Threads] [This Message] [Subscription] [Fast

Re:Dynamic queryname in CFSCRIPT

2003-10-05 Thread Rory Lysaght
What happens if you write: myQuery =myarray[x]; rCount = myQuery.recordCount instead of rCount = myarray[x].RecordCount; Good suggestion, but it generates the same error message on the rCount = myQuery.recordCount; line. [Todays Threads] [This Message] [Subscription] [Fast

Re: OT -- JavaScript

2003-10-05 Thread jonhall
try packageAtribs.holidaySelection = document.forms['rentalForm'].Holidays.value; Don't ask me what the difference is...i don't know :) -- mailto:[EMAIL PROTECTED] Sunday, October 5, 2003, 6:21:44 PM, you wrote: HO I'm having a little trouble with this script ... here's the bit of code in

RE: Dynamic queryname in CFSCRIPT

2003-10-05 Thread Matthew Walker
Oh here's the problem: You are placing strings in your array -- rsEquipAvail1 is a string. Try it without the quotes. -Original Message- From: Rory Lysaght [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 10:45 a.m. To: CF-Talk Subject: Dynamic queryname in CFSCRIPT I've got a

Re:OT -- JavaScript

2003-10-05 Thread Howard Owens
Thanks, but still shoot blanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Major debug issues with MX 6.1

2003-10-05 Thread Claude Schneegans
Create Rule From Message. Ok I have that (in Netscape, not Outlook of course ;-) The only problem: the rule is applied when the message is received. What I want is NOT receive them; and except by destroying all Outlooks on the planet, I don't see how it could be stopped. :-( [Todays Threads]

Hosting Control panel ?

2003-10-05 Thread Mike Kear
My hosting provider is having some difficulties getting Etrinix to answer support queries for their new Command Matrix v 1.9.1 and I think he should dump it and go for another product. Are there any people using a shared hosting control panel that works with ColdFusion?What direction should I

Re: Major debug issues with MX 6.1

2003-10-05 Thread Claude Schneegans
What client do you use? Netscape, but the problem is not that I connot detect and destroyed them. The problem is that they fill up my mailbox. What I need is NOT receiving them! I receive messages from ISPs warning me that they have striped a virus off a message that was sent to me from their

Re: Dynamic queryname in CFSCRIPT

2003-10-05 Thread Claude Schneegans
I suppose rsEquipAvail1 and rsEquipAvail2 are queries? Then try this rCount = evaluate(myarray[x] .RecordCount); [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: OT -- JavaScript

2003-10-05 Thread Claude Schneegans
Don't ask me what the difference is...i don't know :) I won't ask, because it makes NO difference ;-) Both are equivalent. The problem might be with the place the _javascript_ is defined. Try to put it inside the BODY tag. If the line of code packageAtribs.holidaySelection =

Re: Hosting Control panel ?

2003-10-05 Thread Doug White
Webminhttp://www.webmin.com/and it is free == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and all databases. ISP rated:

RE: Hosting Control panel ?

2003-10-05 Thread Mike Kear
OH .. thanks Doug, but I should also have said that our environment is Windows2k or Win2003. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Subject: Re: Hosting Control panel ?

Re: OT -- JavaScript

2003-10-05 Thread jonhall
This code works for me in IE6/Moz/Opera. The addition of the forms array call made it work for me. I couldn't get just document.rentalForm.Holidays.value to work either. script type=text/_javascript_ function init() { packageAtribs = new Object(); packageAtribs.holidaySelection =

Re: OT -- JavaScript

2003-10-05 Thread jonhall
Hmmm going back and running it without the forms reference and it now works. Either I had a typo originally or I'm going crazy. Either way...the problem is either somewhere else in your code, or there is something that I am overlooking in your post. -- mailto:[EMAIL PROTECTED] Sunday, October

Re: Hosting Control panel ?

2003-10-05 Thread Doug White
In that case, I only have used Remote Desktopwhich can be configured with IPSEC security and login security, on a per-user basis == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat

Re[2]: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Ubqtous
Tiziana, On Sunday, October 5, 2003, 2:22:08 PM, you wrote: MTeF http://www.cfmentor.com/code/index.cfm?action=""> This looks promising, but I get the following error: /opt/coldfusionmx/runtime/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory nullThe

Re: Re[2]: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Matt Liotta
You don't have X11 configured properly on your server. -Matt On Sunday, October 5, 2003, at 11:53 PM, Ubqtous wrote: Tiziana, On Sunday, October 5, 2003, 2:22:08 PM, you wrote: MTeF http://www.cfmentor.com/code/index.cfm?action=""> This looks promising, but I get the following error:

Sorting CFCs: Structures over Arrays in collections

2003-10-05 Thread Jim Davis
Just finished a marathon coding session and thought I'd share/get some opinions on some of the things I've found concerning CFCs and sorting. I'm new CFCs and OO, so much of this may seem amateurish, but I expect that many CFers are in the same position.I hope it may help somebody or prompt

RE: Sorting CFCs: Structures over Arrays in collections

2003-10-05 Thread Kwang Suh
You could use the java Hashmap if you really want to go nuts, but structures are just as good for most things. -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: October 5, 2003 10:17 PM To: CF-Talk Subject: Sorting CFCs: Structures over Arrays in collections Just

Re: Sorting CFCs: Structures over Arrays in collections

2003-10-05 Thread Matt Liotta
Just finished a marathon coding session and thought I'd share/get some opinions on some of the things I've found concerning CFCs and sorting. I'm new CFCs and OO, so much of this may seem amateurish, but I expect that many CFers are in the same position.  I hope it may help somebody or prompt

RE: Sorting CFCs: Structures over Arrays in collections

2003-10-05 Thread Jim Davis
-Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 12:51 AM To: CF-Talk Subject: Re: Sorting CFCs: Structures over Arrays in collections Just finished a marathon coding session and thought I'd share/get some opinions on some of the things I've

Re: Re[2]: CFMX/Linux: using Java to read image properties

2003-10-05 Thread Massimo, Tiziana e Federica
Missing server package? Permissions issue? What Matt said. You need to configure X11 Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ [Todays Threads] [This