Date Conversion

2004-01-21 Thread Craig Hadley
Hello, Anybody have an idea of how I could convert a text field like Tue, 18 Feb 2003 14:43:07 -0800 to a format that could be stored as a date field in an Access 2000 database table formatted like 5/15/2003 5:50:00 PM? Thanks, Craig Hadley Madison WI [Todays Threads] [This Message

RE: Keyword Tracking?

2004-01-15 Thread Craig Dudley
= index=i cfif listfind(paramList,listfirst(i,=)) cfset variables.searchPhrase = listlast(i,=) /cfif /cfloop /cfif /cfif cfif isdefined(variables.searchPhrase) do something with the phrase /cfif Good luck, Craig. -Original Message- From: Geoff Bowers [mailto:[EMAIL PROTECTED

RE: Keyword Tracking?

2004-01-15 Thread Craig Dudley
] _ From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 6:16 AM To: CF-Talk Subject: RE: Keyword Tracking? I had a go at somehting like this a while back, it's 90% there, but not quite right for a few obscure search engines, feel free to modify this is it helps

RE: Get URL

2004-01-09 Thread Craig Dudley
Try cfdump var=#cgi# The variables you want is in there somewhere. -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 09 January 2004 12:15 To: CF-Talk Subject: Get URL How can I get the current URL (from browser)? e.g. I type in

RE: CFContent Excel design woes

2004-01-08 Thread Craig Dudley
Because it simpy does not support CSS correctly (if at all?) To be honest I didn't think it even supported html tables nativley as excel 2000 and beyond do. Use standard html. -Original Message- From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 14:09 To:

RE: CFX_Image

2004-01-07 Thread Craig Dudley
http://www.kolumbus.fi/jukka.manner/ -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 15:21 To: CF-Talk Subject: CFX_Image Can anyone point me to the web-site of the Author of CFX_Image? My hosting company needs to download the copy

Re: flash remoting help

2004-01-06 Thread Craig Earls
different luck. Craig Earls On Mon, 05 Jan 2004 20:14:35 -0400, you wrote: Has anyone used flash remoting on a shared hosting environment, as I¹m convinced its a problem with the path to the cfc... What hosting provider? Does it work in your local development scenario? (you do have

Re: toString(CFXML Object) produces grunches of whitespace

2003-12-28 Thread Craig Earls
Actually, I am not.I am simply saying topicTree.dataProvider=xmlFile Where the xmlFile is the string generated and returned from a CFC. There were two problems here.The first was that the whitesapce was fromt he typical CF source.The ugly hack to get around that was to put every piece of code

toString(CFXML Object) produces grunches of whitespace

2003-12-26 Thread Craig Earls
I am trying to return n XML formatted tre to Flash (for use by A Tree component).Flash really doens't like extraneous whitespace.I am generating the XML using CFXML then transmitting the XML from a CFC using toString(CFXMLObject).When I view the file is has boatloads of empty lines in it which

RE: JDBC and CF

2003-12-19 Thread Craig Dudley
You will need some SQL server JDBC drivers yes, you can install them into jvmroot\lib\ext and the jvm should find them no problem. If your'e using CF5, you may be better off creating a java CFX rather than using cfobject, might be faster and should be much easier to get your data/variables back

RE: Joining the dark side - using DWMX

2003-12-19 Thread Craig Dudley
Any particular reason Ray? is 5.5 any different to 5.2? (which wasn't as good as CFS5 imho) -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 19 December 2003 15:13 To: CF-Talk Subject: RE: Joining the dark side - using DWMX Just as an FYI, if you are

RE: Joining the dark side - using DWMX

2003-12-19 Thread Craig Dudley
True but it was missing the dockable/undockable resourse windows after the Adobe/macromedia spat, for some reason, not having those always pi**ed me off. But then most developers/programmers are a bit odd ;-) -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent:

RE: CFC and ColdfusionQueries

2003-12-09 Thread Craig Dudley
Here's the code for a java CFX to do that exact thing. It will be a whole lot faster than a cfc. snip import com.allaire.cfx.*; import java.io.*; import java.text.SimpleDateFormat; import java.util.*; public class recursiveDir implements CustomTag{ public void processRequest(

RE: Recursive Directory Display

2003-12-08 Thread Craig Dudley
eed I have a java tag I wrote, just ask if you need it. Craig. -Original Message- From: Scott Wilhelm [mailto:[EMAIL PROTECTED] Sent: 08 December 2003 15:58 To: CF-Talk Subject: Recursive Directory Display Would anyone know where I can find a recursive directory tag?I just need

RE: Recursive Directory Display

2003-12-08 Thread Craig Dudley
be asking alot, but would by chance have it in an outline format? Thanks again, Scott -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 11:01 AM To: CF-Talk Subject: RE: Recursive Directory Display Try this.. index.cfm

RE: Manipulating Images

2003-12-05 Thread Craig Dudley
This works well, cfx_image http://www.kolumbus.fi/jukka.manner/ -Original Message- From: Trevor Holm-Laursen [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 13:17 To: CF-Talk Subject: Manipulating Images We have a client that has a photo gallery where users can upload

RE: cfstoredproc yields no response

2003-12-04 Thread Craig Dudley
You shouldn't name user SP's as 'sp_' this is how a lot of SQL servers internal SP's are named, naming them this way WILL slow access to the SP, and in theory could be causing other issues. Try renaming the proc to 'spBLASTER_LOAD_EMAIL_TOKEN1', you could also try making the SP retrun a value or

RE: File Copying

2003-12-04 Thread Craig Dudley
execute a batch file, the underlying OS can do this sort of thing a thousand times faster than CF or any other web scripting language -Original Message- From: brob [mailto:[EMAIL PROTECTED] Sent: 04 December 2003 15:59 To: CF-Talk Subject: File Copying Hey guys, which would be

Query of Queries issue with 6.1

2003-12-03 Thread Craig Dudley
) Of course if I remove the quotes it works until a pin which contains letters arrives. Damned if I do, damned if I don't and very unhappy either way. Has anoyone seen this or got a work around? Craig Dudley Senior Developer Netstep Corporate Communications Ltd Direct Line: +44(0) 1422 319712 Phone: +44(0

RE: Query of Queries issue with 6.1

2003-12-03 Thread Craig Dudley
as varchar. Here's a code example cfset queryAddRow(myQuery,1) cfset querySetCell(myQuery,problem_column,dummy_text) HTH -Ryan -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 10:29 AM To: CF-Talk Subject: Query of Queries

RE: How do you save binary

2003-11-28 Thread Craig Dudley
Not sure how you would get the binary stream from the crystal report, but it's failry trivial to save byteArrays to files with java. -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 20:25 To: CF-Talk Subject: How do you save binary I have

RE: Securing user login details

2003-11-28 Thread Craig Dudley
I would have to agree, 128 bit SSL is very secure. 1 Someone has get the data to try and decode it, which isn't easy at all, then they have to crack a 128 bit key, which is extremely hard. I would suggest simply finding out more about SSL and explaining quite how safe 128 bit SSL really is

RE: Base64 Encoding

2003-11-27 Thread Craig Dudley
How are u transmitting the base64 data, with XML? It could be something to do with url encoding, try #urlencodedformat(ToBase64(imgFileContents))# -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 16:49 To: CF-Talk Subject: Base64

Re: CFMX 6.1 Log Files Diappearing?

2003-11-23 Thread Craig Earls
Not sure what actualy hapened here, for a few days the logs were not getting updated, then they started working.I wished I could say why, but I can't. On Sat, 22 Nov 2003 20:04:01 -0600, you wrote: Do you happen to have a cferror catching your errors?They don't get logged unless you cfthrow

CFMX 6.1 Log Files Diappearing?

2003-11-22 Thread Craig Earls
I am trying desperately to troubleshot a CFC.I have a local installation of CFMX 6.1 running under Apache. Suddenly the log files for CFMX have stopped being updated.I have verified that debugging is set in CF Administrator and that the logs files are going where I think they are (the defaul

Determing wehre you've loaded from

2003-11-22 Thread Craig Earls
I am developing an app that includes a Flash Form accessing CFC.I set the arget for the flash remoting gateway in a FlashVar.This si good but still not great.I need to remember to change source code when I move from local testing to putting out to the public server. I would like to be able to

RE: Tool to move Access-to-MySQL

2003-11-20 Thread Craig Dudley
Ditto, never had a problem with it yet. -Original Message- From: Yves Arsenault [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 15:39 To: CF-Talk Subject: RE: Tool to move Access-to-MySQL We bought this... Works very well. - Yves - -Original Message- From:

RE: CF and Java integration..

2003-11-19 Thread Craig Dudley
Not specific to CFMX but have a look at http://javaalmanac.com/egs/? Some very useful examples. -Original Message- From: Hassan Arteaga Rodriguez [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 22:26 To: CF-Talk Subject: CF and Java integration.. Hi all: I'm looking

Re: Altering Date Objects?

2003-11-19 Thread Craig Earls
Message - From: Craig Earls [EMAIL PROTECTED] Date: Tuesday, November 18, 2003 6:58 pm Subject: Re: Altering Date Objects? Thanks, as it turns out that is what I am doing in a way.So I have just wasted a lot of bandwidth. I was hoping someone was going to tell me I had missed something big about

Altering Date Objects?

2003-11-18 Thread Craig Earls
I need to allow a user to specify a time and date for a meeting.I am using a calendar widget to choose the date, and a few comboboxes to choose the time.This brught the following question up: Suppose I create a date object with CreateDate(Year, Month, Day), then later want to modify the time in

Re: Altering Date Objects?

2003-11-18 Thread Craig Earls
object using the individual properties of the old date object. It seems clumsy. On Tue, 18 Nov 2003 16:19:29 -0800, you wrote: just hit it with a dateAdd() and specify h, n, or s for the date part. Yes, that's an n, not an m.m is month, n is minute. -Original Message- From: Craig Earls

Re: Altering Date Objects?

2003-11-18 Thread Craig Earls
, you wrote: Databases are a persistent data store, not an object store.So yes, you'd have to change the date somewhere and update the corresponding entry in the database (you can do these two operations in one SQL statement). - Original Message - From: Craig Earls [EMAIL PROTECTED] Date

Re: Altering Date Objects?

2003-11-18 Thread Craig Earls
(myDate, h, hr); myDate = dateAdd(myDate, n, min); myDate = dateAdd(myDate, s, sec); 3) myDate = parseDate(dateFormat(myDate, mm/dd/) #hr#:#min#:#sec#); I think the first is best, but thats just opinion. -Original Message- From: Craig Earls [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: Problems with MX - Can anyone help please !!!

2003-11-12 Thread Craig Dudley
MDAC 2.3 ? That's very old, try a later MDAC, 2.8 s deffinatley available. www.microsoft.com/data http://www.microsoft.com/data -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 08:11 To: CF-Talk Subject: RE: Problems with MX - Can anyone

The Datasource service is not available error

2003-11-11 Thread Craig Zingerline
! After spending almost a grand on the software that is not an option for me. Anyone have any other suggestions? I'm afraid of rebooting my machine because I fear this issue will pop up again. Thanks for any help, Craig Craig Zingerline Upthought.com [Todays Threads] [This Message

RE: Another cfscript question.

2003-11-07 Thread Craig Dudley
Try the 'setvariable'function. ie.. if (NOT isDefined(#listgetat(ErrorFlags,i)#)) { setvariable(listgetat(ErrorFlags,i),);} -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 07 November 2003 17:04 To: CF-Talk Subject: Another cfscript question. Hello

RE: Setting a page to not timeout

2003-11-04 Thread Craig Dudley
requesttimeout=0 ? Might do it, you could also stick some huge number in place of the zero if that doesn't work. -Original Message- From: DeMarco, Alex [mailto:[EMAIL PROTECTED] Sent: 04 November 2003 16:55 To: CF-Talk Subject: Setting a page to not timeout We have a process

RE: Query Delete???

2003-10-31 Thread Craig Dudley
Query Of a Query should do that just fine? e.g. cfquery datasource=anydsn name=query1 select field1,fiedl2,field3 from sometable /cfquery cfquery dbtype=query name=query2 select field1,field3 from query1 /cfquery -Original Message- From: chris [mailto:[EMAIL PROTECTED] Sent:

RE: SES urls on CFMX 6.1

2003-10-30 Thread Craig Dudley
I dont understand why you all want these types of url's. Search engines do not have any trouble whatsoever following dynamic links, they might have done 5+ years ago, not now. So calling them 'Search Engine Safe' would seem to be a misnomer. Are you just trying to increase readability for your

RE: Now then

2003-10-29 Thread Craig Dudley
You could add the mySql way too, SELECT DISTINCT CarMake FROM directory_CarWeek WHERE Available = 1 AND ExpiryDate now() ORDER BY CarMake I imagine most if not all database systems have a function for the current date and time, it's probably now() in most of them. -Original

RE: Custom tags in CFMX

2003-10-29 Thread Craig Dudley
That error usually happens when the cfx's are not in the classpath. Make sure the location of the cfx tags is added to the classpath in JVM setup, you will need to restart CF after adding them. -Original Message- From: chad [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 16:27 To:

RE: Deleting file after e-mailing it

2003-10-24 Thread Craig Dudley
You could always run a delete script to delete all temp files older than say, 1 hour, every time you create a new email, should do the trick with only a little extra load. -Original Message- From: Scott Brady [mailto:[EMAIL PROTECTED] Sent: 24 October 2003 16:06 To: CF-Talk Subject:

RE: Managing CFC's

2003-10-16 Thread Craig Dudley
If you don't want any of your cfc's the be web services, you could put them outside the web root and use a CF mapping. I think In Michaels example, just exclude the 'root.' and try again. -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 12:10

RE: Constrain on a blob

2003-10-15 Thread Craig Dudley
Shouldn't you be storing the data in a CLOB or TEXT field if it's text? afaik BLOB = binary large object, not reallly where you want to be storing text. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 01:26 To: CF-Talk Subject: Re:

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
If the files are big this will eat memory . Consider using the underlying OS to dfo this sort of thing. use cfexecute to run a batch file for instance, e.g. COPY SupportiSearches*.log destinationfile.log That should do exactly what you want, very, very quickly! -Original Message-

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
If you want the cf template to finish quickly you could always exclude timeout value from cfexecute aswell, cf then won't wait for any console output. cfexecute name=mybatchfile.bat / Should do the trick. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
=mybatchfile.bat / from the cf template. Craig. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 10:49 To: CF-Talk Subject: Re:CFFILE Question I've tried doing this and I get an error: cfexecute name=copy D:\CFusionMX\wwwroot\logReport

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
Error number 2 = Can't find file. Try using the full path of the batch file. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 11:05 To: CF-Talk Subject: Re:CFFILE Question Craig, I don't why I get an error when I run the script

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
Yes, if you're reading the resultant file straight away, you have to make sure the batch file has finished 1st. (This is exaclty what Calvin suggested) Therefore don't exclude the timeout value on cfexecute. This will show the batch files cmd output... cfexecute

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
cfsilent ?? -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 12:48 To: CF-Talk Subject: Re:CFFILE Question This shows the batch files cmd output but does not error: cfexecute name=D:\CFusionMX\wwwroot\supportSearches.bat

RE: lite source control for Homesite+ ?

2003-10-15 Thread Craig Dudley
Just shout at each other when youre opening a file. Works for us ;-) -Original Message- From: Gyrus [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 15:46 To: CF-Talk Subject: lite source control for Homesite+ ? I mostly work at home with my flatmate, and we've just started

Re:html emails with javascript in outlook

2003-10-15 Thread Craig Nathan
) or Word/Excel/Powerpoint. Cheers, +Craig Hi, some customers have problems printing documents we are sending them by scheduled email. Print buttons print parts of the document or the whole document. The customer is getting the reports in the correct html format but the _javascript_ seems

RE: developing java cfx

2003-10-14 Thread Craig Dudley
I restart CF, reload=always doesn't appear to work at all -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 10:28 To: CF-Talk Subject: developing java cfx According the the CF docs reload=always is supposed to keep me from having to

RE: Counting Mail Messages In A Folder

2003-10-14 Thread Craig Dudley
Are the messages actual files or are they stored in some sort of exchange like database? If they are actual files, then it should be easy using cfdirectory alone,the windows file system as Brook suggested or even with java (java.io.File). You'll just need to done a little recursion inside

RE: java cfx tag - returning integer variable

2003-10-14 Thread Craig Dudley
setVariable will ony return strings, just turn the int into a string. Try, response.setVariable(fedex.statusCode, result.toString() ); or String strResult = result.toString(); response.setVariable(fedex.statusCode, strResult ); -Original Message- From: jon hall [mailto:[EMAIL

CFTRANSACTION in CF5

2003-10-14 Thread Craig Michael Nathan
. stored procedure when there could be multiple CF servers hitting a remote dB?(Besides just general delay issues with the dB being down during the CFTRANSACTION) [0.d]Which would you do (CFTRANSACTION / stored procedure) for CF5? Why? Thanks in advance! Cheers, +Craig [Todays Threads

RE: Looping through a list, setting each listItem to a column

2003-10-09 Thread Craig Dudley
This works, it's a bit of a fudge, but it does the job. cfset qTmp = QueryNew(DateTime,User,Document,Status) cfloop list=#fOutput# index=fileLine delimiters=#Chr(10)# cfif listLen(fileLine) gte 4 cfset tmp = QueryAddRow(qTmp,1) cfif listLen(fileLine) gt 4 cfscript

RE: OT:Bots / spiders finding unlinked pages... How?

2003-10-09 Thread Craig Dudley
If a user who has accessed those files has googlebar running in their browser, then google knows about those files and may very well start indexing them. -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 10:18 To: CF-Talk Subject: Re: OT:Bots

RE: CFMX MSXML

2003-10-09 Thread Craig Dudley
Any reason for not using CFMX's own parser? Failing that, cfx_xmlparse form cfdev.com is better than MSXML. I always found MSXML extremely slow, especially under load, the java ones were a factor of 10+ times faster. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Anyone sucessfully using HomeSite+ to Debug CF5?

2003-10-09 Thread Craig Michael Nathan
breakpoints to work when your main .cfm calls several levels of nested .cfm pages, and the breakpoints are sometimes 4 or 5 levels deep. Thanks in advance! Cheers, +Craig [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
Try this.. cfset qTmp=QueryNew(DateTime,User,Document,Status) cfloop list=#fOutput# index=lIndex delimiters=#Chr(10)# cfset i = 0 cfset tmpstart=listLen(lIndex,',') cfset tmp=QueryAddRow(qTmp,listLen(lIndex,',')) cfloop list=#lIndex# index=innerList delimiters=, cfscript

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
Will probably be the header row as it doesn't contain commas and hence has no delimiter. Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 11:32 To: CF-Talk Subject: Re:Looping through a list, setting each listItem to a column Craig, I tried

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
, setting each listItem to a column Craig, I tried running your code and get this error, Invalid list index 2. In function ListGetAt(list, index [, delimiters]), the value of index, 2, is not a valid as the first argument (this list has 1 elements). Valid indexes are in the range 1 through

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
It does if you skip the header row, sorry, should have said so. -Original Message- From: Craig Dudley Sent: 08 October 2003 11:38 To: CF-Talk Subject: RE: Looping through a list, setting each listItem to a column This works... cfset qTmp=QueryNew(DateTime,User,Document

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
, listGetAt(lIndex,4)); /cfscript /cfloop /cfloop -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 11:32 To: CF-Talk Subject: Re:Looping through a list, setting each listItem to a column Craig, I tried running your code

RE: Looping through a list, setting each listItem to a column

2003-10-08 Thread Craig Dudley
. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 12:55 To: CF-Talk Subject: Re:Looping through a list, setting each listItem to a column thanks Craig, you've really been of great help. I have another question for you, what I've noticed

RE: CFHTTP Posts with Bluedragon free

2003-10-08 Thread Craig Dudley
Oyedeji [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 13:13 To: CF-Talk Subject: RE: CFHTTP Posts with Bluedragon free Craig could it perhaps be something to do with the size? I noticed you said the packets are quite large. Does it work with smaller packets? Does it work for non XML calls

RE: SQLServer2000 and Win2003? any issues?

2003-10-08 Thread Craig Dudley
I understand it will not even install on web addition, the licence deffinatley doesn't allow for it either, Howie is correct. -Original Message- From: Howie Hamlin [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 14:04 To: CF-Talk Subject: Re: SQLServer2000 and Win2003? any issues?

RE: CFHTTP Posts with Bluedragon free

2003-10-08 Thread Craig Dudley
Cheers Daniel, I have subscribed. -Original Message- From: Daniel Ganter [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 14:13 To: CF-Talk Subject: RE: CFHTTP Posts with Bluedragon free Hi Craig, I've forwarded your issue to the BlueDragon Product Interest List. You may

RE: parsing txt file - seems unparsable

2003-10-07 Thread Craig Dudley
); } } --- Call it like so... cfx_cfReadTxtFile filename=d:\sites\test\string.cfm variable=test cfdump var=#test# Tested and works perfectly on CF5 I'll mail you the source and the compiled CFX off list aswell. Craig. -Original Message- From: Stephenie Hamilton

RE: cffile moving on linux

2003-10-07 Thread Craig Dudley
(Java, java.io.File); fileObj.init(d:\sites\test\test.cfm); newFileObj = createObject(Java, java.io.File); newFileObj.init(d:\sites\test.cfm); fileObj.renameTo(newFileObj); /cfscript Works for me. Craig. -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: 06

RE: Strange CFHTTP Error

2003-10-07 Thread Craig Dudley
Have you tried putting the cfhttp call in a custom tag or cfc? Might not make any difference, but you never know. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 13:31 To: CF-Talk Subject: RE: Strange CFHTTP Error Anyone? This is

RE: CFHTTP Posts with Bluedragon free

2003-10-07 Thread Craig Dudley
Thanks for the suggestion Kola, Have tried it on 5.0 and 6.1 , it works without issue. Craig. -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 13:45 To: CF-Talk Subject: RE: CFHTTP Posts with Bluedragon free As a suggestion, why don't

RE: application.cfm

2003-10-07 Thread Craig Dudley
Can you paste the full Application.cfm here and one of us will try it. -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 13:49 To: CF-Talk Subject: RE: application.cfm I just pasted the cfquery from my application.cfm into my index.cfm along with

RE: Strange CFHTTP Error

2003-10-07 Thread Craig Dudley
Neil -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 13:28 To: CF-Talk Subject: RE: Strange CFHTTP Error Have you tried putting the cfhttp call in a custom tag or cfc? Might not make any difference, but you never know. -Original

RE: Can this be optimized?

2003-10-06 Thread Craig Dudley
I write a java cfx for creating text files from a cf query, it's very, very quick. If anyone wants it, let me know and I'll mail it off list. Craig. -Original Message- From: Snake Hollywood [mailto:[EMAIL PROTECTED] Sent: 05 October 2003 12:20 To: CF-Talk Subject: RE: Can

Re:SOS! Help with CF Studio/HomeSite+

2003-10-06 Thread Craig Nathan
James, I'm having the identical problem with CF 5 and HomeSite+ 5.2. I was wondering if you have found any solutions to this problem? Thanks, +Craig I've searched all through these lists, and the MM Support forums and KB. In both CF Studio 5 and HomeSite+ 5.2, I will get an error during

RE: Windows 2000 or 2003 Server?

2003-10-02 Thread Craig Dudley
Had the same choice last week and went for 2003, MX doesn't have any isues installing on either. We went for 2003 as it's supposedly more stable/secure and is likley to be supported longer. Craig. -Original Message- From: Ryan Sabir [mailto:[EMAIL PROTECTED] Sent: 02 October 2003

RE: parsing txt file - seems unparsable

2003-10-02 Thread Craig Dudley
This might help. cfobject type=JAVA name=jFR class=java.io.FileReader action=""> cfset jFRobj = jFR.init('c:/somefile.txt') cfobject type=JAVA name=jBR class=java.io.BufferedReader action=""> cfset jBRobj = jBR.init(jFRobj) pre cfscript line = ; while ( len(line) ){ line =

RE: parsing txt file - seems unparsable

2003-10-02 Thread Craig Dudley
( isDefined(line) ){ line = jBRobj.readLine(); if ( isDefined(line) ){ writeoutput(line #chr(13)#); } } jBRobj.close(); /cfscript /pre Seems as soon as we reach EOF, jBRobj.readLine() returns null (expected) and variable 'line' is no longer defined, quite handy in this case. -Original Messag

RE: CFMX 6.1 on Windows 2003 = Service Unavailable !!!

2003-10-02 Thread Craig Dudley
IIS's service name is World Wide Web Publishing Service, the admin service is somethgin different. -Original Message- From: Sutton Yamanashi [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:46 To: CF-Talk Subject: RE: CFMX 6.1 on Windows 2003 = Service Unavailable !!! 1.Is

RE: ColdFusion Scheduler problem

2003-10-02 Thread Craig Dudley
You could always run an external scheduler, windows scheduled tasks works fine for us, just fire off wget to a specific cf template, very reliable. Other than that, both your tasks are firing 5 days early each month, which is mostly likely not a co-incidence, you sure the server date is correct?

RE: Montara Software's Black Knight now availab le

2003-10-02 Thread Craig Dudley
I must admit, I'm with Thomas, I only like short, descriptive url's. Personal preference maybe, but big long urls with lots seemingly random characters do tend to annoy me. -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:01 To: CF-Talk

RE: Java Custome Tag

2003-09-30 Thread Craig Dudley
I've got loads, you just after the format?There's a JAVA CFX section in the help which covers most things, and includes some hello world cfx's which should help. But basically the format of a cfx is something like. - import com.allaire.cfx.*; public class myClassName

RE: Java Custome Tag

2003-09-30 Thread Craig Dudley
then a CFX is probably the way to go but simple calls to java methods shouldn't need them. Have fun, Craig. -Original Message- From: Lists2 - TriPointTek [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 16:43 To: CF-Talk Subject: Re: Java Custome Tag Craig Dudley wrote: I've

CF 6.1 vtm files

2003-09-26 Thread Craig Dudley
The tag updaters on the macromedia site do not contain vtms for the newand updated tags in 6.0/6.1 (cffunction etc)Does anyone have any vtm files for CF6.1? I can't be bothered wiring myown ;-)Craig DudleySenior DeveloperNetstep Corporate Communications LtdDirect Line: +44(0) 1422 319712Phone: +44

RE: Query String for Search Engines

2003-09-19 Thread Craig Dudley
No need to do that at all. It might have been true a LONG LONG time ago, but all search engines can cope with dynamic urls these days. I wouldn't bother. Craig. -Original Message- From: Jim Gurfein [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 12:31 To: CF-Talk Subject: Query String

RE: Design Structure and cfinclude

2003-09-19 Thread Craig Dudley
Remove the include from your application.cfm and put it at the top of each template, that way you can pass in all your meta tags/titles with simply variables.title etc, I know that means it's not quite so clean, but it is only a few lines of code for each template and the footer can still be

RE: wanted features (was Re: (Admin) disclosure)

2003-09-18 Thread Craig Dudley
I imagine OnSessionEnd.cfm would add considerable load? CF would have to track the session time out of every user, while it may be handy from time to time, it's a trade off I certainly wouldn't take if I was MM. Perhaps if it was configurable by application, cfapplication tracksessionend=yes ??

RE: wanted features (was Re: (Admin) disclosure)

2003-09-18 Thread Craig Dudley
[mailto:[EMAIL PROTECTED] Sent: 18 September 2003 16:03 To: CF-Talk Subject: RE: wanted features (was Re: (Admin) disclosure) -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:03 AM To: CF-Talk Subject: RE: wanted features (was Re

RE: Help: CF5 is making access file grow to 2GB

2003-09-17 Thread Craig Fisher
What does the application do? Are there tons of inserts and deletes? -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 12:45 PM To: CF-Talk Subject: Help: CF5 is making access file grow to 2GB I just got back from a client

RE: creating dirs with CFDIRECTORY in CFMX

2003-09-16 Thread Craig Dudley
Message- From: Kyle McNamara [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 18:19 To: CF-Talk Subject: Re:creating dirs with CFDIRECTORY in CFMX hi craig or matt, i like this approach, but when I run this code, the following happens: 1) it appears to run 2) nothing is created 3) no error

RE: Using cfdirectory cfloop

2003-09-16 Thread Craig Dudley
Whats slow, the cfdirectory or the page load time? -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:32 To: CF-Talk Subject: Using cfdirectory cfloop Hi, I'm displaying directory structures and files on the server from my application running on the

RE: Using cfdirectory cfloop

2003-09-16 Thread Craig Dudley
time? On Tue, 16 Sep 2003 14:19:48 +0100, Craig Dudley wrote: Whats slow, the cfdirectory or the page load time? -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:32 To: CF-Talk Subject: Using cfdirectory cfloop Hi, I'm displaying

RE: Opening CFML files

2003-09-16 Thread Craig Dudley
Open a windows explorer windows, select tools/folder options/file types , then scroll down to .cfm and click change. Point to homesite rather than dwmx. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 15:56 To: CF-Talk Subject: Opening CFML files

RE: -OT- Javascript - cross browser button disable

2003-09-15 Thread Craig Dudley
If your'e disabling a button from itself then, 'this.disabled=1' works in just about everything. If your'e not, then; document.formname.fieldname.disabled=1 (this should work in pretty much any browser) Or document.getElementById('fieldname').disabled=1 for more modern browsers. You should

RE: creating dirs with CFDIRECTORY in CFMX

2003-09-15 Thread Craig Dudley
You could try using java.io.File with cfobject Like so... cfobject type=JAVA name=jFile class=java.io.File action=CREATE cfscript newDir = jFile.init('d:\\sites\\test\\jfile\\'); newDir.mkdir(); /cfscript -Original Message- From: McNamara Kyle W CONT PORT [mailto:[EMAIL PROTECTED]

RE: Can this be done?

2003-09-08 Thread Craig Dudley
CGI.HTTP_REFERER is the only option I know of. If someone has come form a search engine, it 'should' contain their search terms in the url query string. -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 08 September 2003 17:08 To: CF-Talk Subject: Can this be done?

RE: cfquery syntax

2003-09-04 Thread Craig Dudley
You must be trying to put in more text than the field can hold, that's all that error messsage means. Either increase the no of chars the field can hold or make it 'text'. And btw, don't use nvarchar unless your storing or planning to store unicode strings, varchar would be the correct data type

RE: cfquery syntax

2003-09-04 Thread Craig Dudley
Because it's safer and faster and is therefore considered best practice. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: 04 September 2003 14:16 To: CF-Talk Subject: RE: cfquery syntax why should one ALWAYS use cfqueryparam? I havent, EVER and have many apps, on

<    1   2   3   4   5   6   7   8   9   10   >