I want to see this WAS - JSP 10X faster than CFM?

2003-07-09 Thread CF Dude
This is a great article. I'm still waiting for the article that compares .Net framework/asp.net, Java J2EE/jsp, and CFMX. I have gotten deep into .net yet, but all of the good stuff I hear about it reminds me a whole lot of java and cf. CFMX is sounding a whole lot like java as well. I'd

Re: CF Flash (crazy idea?)

2003-07-03 Thread CF Dude
This most likely won't work because of the client's security settings. Sometimes, in outlook express I'll send web pages to coworkers for proofs. The pages that contain any sort of flash content doesn't work because of security. If somebody could get around that, then it'd probably work just

Re: Is there a way to test to see if a data source exists?

2003-06-27 Thread CF Dude
Couldn't you do something like this? (not exact code) cftry cfquery datasource=#DoesThisExist# select * from table where 1 = 2 /cfquery cfcatch type=Database Something broker /cfcatch /cftry Just an idea. E - Original Message - From: Stan Winchester

Re: Is there a way to test to see if a data source exists?

2003-06-27 Thread CF Dude
I'm sure you would have come up with it. If this is cf 4x, you could use BenForta's connection tag that does a reg query and find the currently created dsns. I wish I knew what that was called. - Original Message - From: Stan Winchester [EMAIL PROTECTED] CF Dude, I should have

Re: Is there a way to test to see if a data source exists?

2003-06-27 Thread CF Dude
I consider the right query as an obvious, but now I do have another question. What would happen if, in this scenario, you just used an empty cfquery tag? EG : cftry cfquery datasource=#doesThisExist# /cfquery cfcatch type=database What would happen if no query was

Re: Is there a way to test to see if a data source exists?

2003-06-27 Thread CF Dude
That makes sense. - Original Message - From: Jim Davis [EMAIL PROTECTED] You get a no SQL specificied error - CF won't try to make a connection for no reason. Jim Davis ~| Archives:

Re: Is there a way to test to see if a data source exists?

2003-06-27 Thread CF Dude
I'm not sure why it would be an obvious - are you talking about a specific database with known tables, or just an unknown datasource? Yes. I really can't imagine anybody building a web app that will give a user the option of connecting to some random unknown datasource. Know what I mean? I

What calendar features do people want WAS - Calendar App

2003-06-26 Thread CF Dude
I've got a calendar question. What sort of functionality do most people want in a web based calendar app? Whenever somebody brings up calendars that they've built, there is always at least a handful of people who want the code. I've built several calendar apps in different languages, but I'm

Re: CFSCRIPT

2003-06-26 Thread CF Dude
Have you tried using MOD instead of %? - Original Message - From: Gabriel Robichaud [EMAIL PROTECTED] and i want to use the modulus operator (or modulo, dont know what to call it in english) so i can get the remainder. I dont know what the operator is for cfscript. obvious answer is

Re: What calendar features do people want WAS - Calendar App

2003-06-26 Thread CF Dude
Webguy, This is great feedback. I will take note of this. I'd love for any other feedback that may be lingering. E - Original Message - From: webguy [EMAIL PROTECTED] A good basis of a calendar design is iCal, this is what my current calendar is based on. There is a fairly easy

Re: Macromedia needs your feedback

2003-06-25 Thread CF Dude
What about those of us in Canada? What are we, chopped liver? :) I guess it depends who you ask, heh? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: CF/SQL Programmer - Atlanta

2003-06-23 Thread CF Dude
Michael, Just wanted to touch base and let you know I just finished my last contract and I'm ready to work if you're still in need of a cold fusion programmer. Eric ~| Archives:

Re: CF/SQL Programmer - Atlanta

2003-06-23 Thread CF Dude
sorry, wrong address ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ:

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Ok, first off, that article was written years ago. Although there are probably more flash animations online than back then, Flash has still made leaps and bounds of progress. Secondly, how much DHTML have you done? Now, how much cross browser DHTML have you done? How much database driven

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Well, call me old school, but I find these sites annoying and difficult to use. It is my firm opinion that the vast majority of web users do not care for this stuff. It is meant to impress developers, techies and managers but it is hopelessly unfriendly to the majority of users who simply want

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Really? Name just one UI component/paradigm that is possible in Flash that isn't possible in DHTML. The point I was making was that you can't take the EXACT same code from a DHTML app and run it in all of the browsers that support flash. With flash you can. E

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
The subject was UI though. I thought the topic was Is flash really that good and Flash is evil, not flash doesn't look good. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
I could write a script that onKeyUp change the contents of an html widget fairly Hmm. I tried the following code in IE6, MOZ1.1, and Opera6 and it didn't work in Opera6 input type=Text name=test onkeyup=alert('yo'); Flash will work in all 3 browsers. DHTML - 0 FLASH - 1 E

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
But - everyone just started tossing around cool and pretty sites - 2advanced etc, estudio, ego - I think these are typical of the 2000 to 2002 era.. certainly graphically inspiring - but an odd url to post for if flash is that good - the demos don't show flash being used other than pretty

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Safari I wish I had a MAC to test this, but I don't. Opera + new Macromedia website??? On a pc, I went and only had a problem because I had JS turned off. File / enable Javascript got me going. I thought we were talking about flash E

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Search the archives for the complaints. The site has been changed after that and some progress has been made on making Flash work all the way on Opera and Safari, but when the Macromedia site was launched it was pretty much IE and Mozilla/Netscape only. I was not aware of that. I still think

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
F*( the customer. We're not talking about customers. Yikes! Do you develop business-related web apps? If so, double yikes! I'll stand by what I said, but only in this context only. Unfortunately, too many people see simple uses for flash, and not the good uses. Again, yikes! Simple vs.

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
FMX also supports a limited amount HTML text in the movies. E - Original Message - From: Mike Chambers [EMAIL PROTECTED] I just want to make sure that everyone understands: You can have blue links in Flash. mike chambers

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
How do you miss a feature that was never there? I agree though. I wish you could have custom context menus as well. E - Original Message - From: Stephenie Hamilton [EMAIL PROTECTED] That is fine and all, but what I really miss in flash is the ability to right click -- open in new

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
People are really, really confused about what Flash can do if you have to say this. You are correct. However, this is a CF forum, and not a flash forum. E FLASH RULES ~| Archives:

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
You can control your right click behavior in DHTML, you are forced to see those menus in Flash. Custom Context Menu - DHTML - 1 FLASH - 0 ~| Archives:

Re: Is Flash really THAT good?

2003-06-20 Thread CF Dude
Yeah, but so much of what Flash can do is tied into CF it is appropriate to comment on it here. Well, maybe Flash Remoting / FMX and CFMX. I would disagree that what Flash can do and CF can do are tied together. Just differing technologies. I think most people are used to seeing flash

Re: Cold Fusion Cookies

2003-06-19 Thread CF Dude
I am realtively new to Cold Fusion, but I know in ASP you can do something with a session variable. I hate to break it to you, but the session object in ASP uses cookies also. E ~| Archives:

Re: SQL float format

2003-06-17 Thread CF Dude
I'm not sure what you're looking to do, but have you tried setting the precision at all? float and real Approximate number data types for use with floating point numeric data. Floating point data is approximate; not all values in the data type range can be precisely represented. Syntax float [

Re: Web-based telnet client?

2003-06-17 Thread CF Dude
Back in the 4.5 days I thought about using CFFILE to run telnet commands. Is this still a possibility? E - Original Message - From: Jim McAtee [EMAIL PROTECTED] Has anyone here implemented or heard of a telnet client written in CF (v5 or earlier)? I've got some telnet controlled

Re: MS AD

2003-06-16 Thread CF Dude
I haven't queries the AD, but I have queried MSExch before. Hopefully the article, or links on this page will shed some light. http://www.cfcomet.com/exchange_server/ E - Original Message - From: Shahzad.Butt [EMAIL PROTECTED] How can I query MS Active Directory and get a list of

OT

2003-06-13 Thread CF Dude
Does anybody have any web based bug tracking suggestions? E - Original Message - From: Charlie Griefer [EMAIL PROTECTED] check out iTeamwork.com. Fairly basic (not overly complex)...and free :) charlie ~| Archives:

Re: conversion of Access datatypes in the query

2003-06-11 Thread CF Dude
This is from the tSql BOL, so I don't know if this will work w/Access or not. CAST ( expression AS data_type ) E - Original Message - From: Matthew Small [EMAIL PROTECTED] Hi everyone - I need to be able to convert both a datetime field and an integer field to strings in a query

Re: SQL Question - Could CF make this easier?

2003-06-11 Thread CF Dude
You could create a SPROC to do it like this. SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO CREATE PROCEDURE getDescriptions() AS SET NOCOUNT ON SELECT DISTINCT description FROM vct WHERE description NOT IN ( 'ANISE', 'APPLES', 'ASPARAGUS', 'BEETS', 'BROCCOLI' ) ORDER BY

CFMX and JSP connections

2003-06-10 Thread CF Dude
I've got a question about CFMX and connections to datasources. It seems that CF5 was able to connect even more than previous versions. Now I'm starting to get the feeling that CFMX can only connect to datasources that Java can connect to. Can anybody clear this up for me? I was all excited

Re: CFMX and JSP connections

2003-06-10 Thread CF Dude
DSN-less connections aren't directly supported in CFMX; apparently, either they aren't supported in JDBC at all I know for a fact that DSN-less connections are in fact supported by JSP, but I really can't comment on CFMX yet. I've noticed a lot of posts about people having connection issues

Re: SQLXML

2003-06-09 Thread CF Dude
msSql2k does have built in XML capabilities. Just search from XML in the BOL. Eric - Original Message - From: Shawn Regan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:59 PM Subject: RE: SQLXML As far as I know you don't even need Soap, At least with

switch in CFSCRIPT

2003-06-06 Thread CF Dude
Is there a way to do multiple values per case statement when doing a switch inside of a cfscript tag? cfscript switch (iAnsType){ case 6 : sAnswer = Replace(sAnswer, ,, |, ALL); case 7 : sAnswer = Replace(sAnswer, ,, |, ALL); } /cfscript EG, I was hoping to do this

Re: switch in CFSCRIPT

2003-06-06 Thread CF Dude
Thanks. - Original Message - From: Philip Arnold [EMAIL PROTECTED] Also, don't forget to put a break; after your code in the case So, it should be; cfscript switch (iAnsType){ case 6 : case 7 : {sAnswer = Replace(sAnswer, ,, |, ALL); break; } }

Re: csv files

2003-06-06 Thread CF Dude
Here's how I've done it before !--- Insert your query code --- cfsavecontent variable=csvText !--- Insert your loop code to generate your text --- /cfsavecontent cftry cffile action=WRITE file=#csvPath# output=#csvText# addnewline=No a href=csv/#csvName# title=Download your csv

Re: Writing Excel files

2003-06-06 Thread CF Dude
Have you checked out http://www.cfcomet.com/ yet? E - Original Message - From: Cassidy Symons [EMAIL PROTECTED] I'm looking for suggestions on the most efficient to write an XLS file via ColdFusion. I've tried COM objects (not stable enough for regular use), HTML tables being read

Re: SQL concat

2003-06-05 Thread CF Dude
That should work assuming your datatypes work together. HEre's another example 'The price is ' + CAST(price AS varchar(12)) You may need to break out CONVERT() instead of CAST() E - Original Message - From: Cantrell, Adam [EMAIL PROTECTED] What's the operator for string

CFC = .Net control

2003-06-05 Thread CF Dude
So I haven't done a lot of work w/MX yet, and only a little w/.Net. Are CFMX CFCs the equivalent of .Net's controls? E ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: Dynamic connection to an excel file.

2003-06-05 Thread CF Dude
I connect to .xls files from asp from time to time, and here is the connect string that I use DBQ=c:\dir\file.xls;DRIVER={Microsoft Excel Driver (*.xls)}; As far as the ISAM driver error, I'd just double check that you're running the latest MDAC (if that applies here) E - Original

Re: Dynamic connection to an excel file.

2003-06-05 Thread CF Dude
I forgot about this question Secondly, once I connect successfully - what do I use to query with? Is it sheet1 or workbook1.sheet1 or ... what? Any clues are helpful. Thanks! When I'm connecting from ASP I just run queries like it's a sql table. where table = Excel Named range Eric

Re: Dynamic connection to an excel file.

2003-06-05 Thread CF Dude
] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 4:52 PM Subject: RE: Dynamic connection to an excel file. Dude, How do I define a named excel range? -mk -Original Message- From: CF Dude [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:10 PM To: CF-Talk Subject: Re

Re: xml?

2003-06-05 Thread CF Dude
Store the info in a db. If you want to do this in XML you'll most likely need to get into XSL or XSLT to transform your xml into html. I haven't done anything w/xForms yet so that may be a possibility. Eric - Original Message - From: Michael Tangorre [EMAIL PROTECTED] I have an

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread CF Dude
I wrote a simple email parser a while back and instead of the CHR(13) or CHR(10), I used space as my delimiter. Then what I did was look for the @ in each line. If the @ existed, I put it into my list, if it didn't, I ignored that line. Just a suggestion Eric - Original Message -

Re: CFLOOP, almost there

2003-06-04 Thread CF Dude
Here's how I did this in the past, but it was in other web langs 1.Set block of emails into sText var 2.Split sText into array using ' ' space as delimiter 3.Loop through array 4.Check each key in array for existence of @ 5.Append each key w/@ in it to newEmailArray or newEmailList 6.Loop through

Re: CFLOOP, almost there

2003-06-04 Thread CF Dude
Aren't there any string functions that would take a string and parse out an e-mail address? I'm not aware of any parseEmail() functions that are built in, but this is just a standard text parsing task. I don't know how to deal with arrays! Sounds like you need to get your learn on! E$

Re: Back Buttons

2003-06-04 Thread CF Dude
a href=javascript:history.go(-2);go back 2/a - Original Message - From: Kris Pilles [EMAIL PROTECTED] Is there away to make the back button do history -2 instead of -1 on certain pages... I am trying to bypass a form post page to return my users to where they origiannlly came from...

Re: Index 55, size 33

2003-06-04 Thread CF Dude
This wouldn't happen to have anything to do with the breakpoints or selected text indexes set in cfStudio does it? Eric - Original Message - From: Richard Crawford [EMAIL PROTECTED] I received this error when browsing to a .cfm page that had previously worked (I had made one slight

Re: CF clarification

2003-05-31 Thread CF Dude
What is cold fusion exactly? MM's site can give you a better definition, but I always tell people that Cold Fusion is another server side web language just like ASP, PHP, JSP, etc. Granted, if you get granular it's not 'just like' the others, but IMO it was created to solve the same web

Re: IF File Exist

2003-05-31 Thread CF Dude
Haven't tested, but how about this? cftry cffile action=READ file=x:\your\path\yourFile.ext variable=sFile !--- I could read your file --- cfcatch type=Any OOPS, I couldn't read your file /cfcatch /cftry - Original Message - From: Paige Chandler [EMAIL PROTECTED] Hello All,

Re: Calendar recommendations?

2003-05-31 Thread CF Dude
Designing a calendar can be tricky. Then displaying records based on a date column in a calendar can be at least twice as tricky depending on how you want to display them. Here's one that I've built in the past in ASP that connected to a db

Re: Saving CF output to Excel and comma delimited text

2003-05-30 Thread CF Dude
George, I have done two things relating to Excel and CF/ASP. 1.Write results to .csv file and then import into XL. This one is pretty simple. A.Run query B.Use CFSAVECONTENT to store the contents of your csv file C.Use CFFILE to write the contents to a .csv file 2.Use the XL

Re: Finding parts to a string

2003-05-30 Thread CF Dude
#TRIM(sText)# should do the trick Or cfset newText = TRIM(sText) E - Original Message - From: [EMAIL PROTECTED] Hi, thanks for both your replies. Matthew, I've not tried yours yet but will do later, esp as you're a kiwi :) CF Dude, yours nearly works - except

Re: Learn ASP?

2003-05-29 Thread CF Dude
Oliver, I am currently doing the ASP thing as well and I highly suggest you do not pass go without first going here http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9displaylang=en and downloading scrdoc56en.exe. The documentation it will install is

Re: CFMX Datasource connection string

2003-05-29 Thread CF Dude
It's been a while since my JSP days, but I know for a fact that you can do DSN-less connections from JSP. I'm having a hard time finding my code but this page may offer some assistance http://forum.java.sun.com/thread.jsp?forum=48thread=137157message=369435 E - Original Message -

Re: Finding parts to a string

2003-05-29 Thread CF Dude
If I'm reading this correctly, you've got sText and you want to get sPart1 and sPart2 where your delimiter will always be nbsp; If you will always have that same delimiter, you can split sText into an array using ListToArray(list [, delimiter ]) EX : cfset sText = Green Acres nbsp; USA cfset

Re: Finding parts to a string

2003-05-29 Thread CF Dude
Sun of beach!! There's got to be a way to split it up using nbsp; as a literal. E - Original Message - From: Matthew Walker [EMAIL PROTECTED] ListToArray(sText , nbsp;) would make , n, b, s, p, and ; all delimiters.

Re: Finding parts to a string

2003-05-29 Thread CF Dude
This works. cfset sText = Green Acres nbsp; USA cfset sNewText = Replace(sText, nbsp;, |) cfset vText = ListToArray(sNewText , |) #ArrayLen(vText)#br #vText[1]#br #vText[2]#br - Original Message - From: Matthew Walker [EMAIL PROTECTED] ListToArray(sText , nbsp;) would make , n,

Re: CF Array to stored procedure

2003-05-29 Thread CF Dude
Does ORA sprocs even support arrays? I know msSql server doesn't. E - Original Message - From: BOUDOT, Christian [EMAIL PROTECTED] Hi, Does anyone know how to pass a Cold Fusion Array (2 dimension) to an Oracle stored procedure? Many Thanks

Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread CF Dude
I don't understand why you would decide to XHTML-ize your cftags when cftags are server side. EG : br / is client side and is xhtml cfset foo = bar = cfset foo = bar / with the exception being you are typing more than you need to. Did I misunderstand the original post? Eric Oh yeah,

Re: Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread CF Dude
I certainly agree with that, but I still find it to be un-needed. Especially if you are able to seperate most of your CF code from your xHtml code. Just my two cents E - Original Message - From: Sean A Corfield [EMAIL PROTECTED] So that the mix of HTML and CFML in your source file