RE: CF5 and Windows 2003 Server

2003-08-14 Thread Craig Dudley
You can get CF5 to work, I'm sure I saw some instructions on the macromedia site somewhere, granted the installer won't set up IIS6 automatically for you, but you can do it manually. -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED] Sent: 12 August 2003 09:05 To: CF-Talk

RE: Moving from MySQL to MS SQL Server 2000

2003-08-14 Thread Craig Dudley
A fair amount of people simply start table names with 'tbl', which would solve your problems. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 14:28 To: CF-Talk Subject: RE: Moving from MySQL to MS SQL Server 2000 Login is a reserved word. Change

RE: Inserting Currency Values...I bet this is a silly question...

2003-08-14 Thread Craig Dudley
If you are only allowing full dollars, you could use this on your input box... onkeypress=if ((event.keyCode 48) || (event.keyCode 57)) event.returnValue = false; Or this if you want to allow .'s onkeypress=if (((event.keyCode 48) || (event.keyCode 57)) ! (event.keyCode==46))

RE: problems installing CFX Java tag [repost]

2003-08-14 Thread Craig Dudley
The full .jar path needs to be in your class path setting. Ie, Class Path: W:\CFusion\Java\classes;W:\CFusion\Java\classes\cfx_xmlTools.jar; Apart from that, check case sensitivity, double check all paths are correct and then retsart cf. All java changes require a restart. Craig.

RE: Non blocking custom tag?

2003-07-31 Thread Craig Dudley
I understand that cfexecute can run this way if you omit a timeout value (I think). You could execute a batch file which runs wget to call a cf template, bit of a cludge, but should work. -Original Message- From: Jon Block [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 14:59 To: CF-Talk

RE: T-SQL division drops the decimal?

2003-07-31 Thread Craig Dudley
Silly question, but what datatype is the column which holds your result? Not forgotten about it and left it as an int have you? Even if not, I'd play with the datatypes a bit, it may be your issue. -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 16:15

RE: Finding recently modified files in subdirectories

2003-07-30 Thread Craig Dudley
I have a java cfx which resurses through directories and returns a cf query object, it's very similar to cfdirectory apart from the recursion, you can have the code if you want, it shouldn't be that hard to get it to simply not return any files/directories that have not been modified since a date.

RE: all caps in CF-Studio

2003-07-28 Thread Craig Dudley
Select the text you want in caps, right click then choose 'selection-convert to uppercase' -Original Message- From: Wurst, Keith D. [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 16:27 To: CF-Talk Subject: all caps in CF-Studio is there way to take some normal text in a .cfm page and

RE: all caps in CF-Studio

2003-07-28 Thread Craig Dudley
Options-setings-markup languages-lowercase all inserted tags ??? -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 17:48 To: CF-Talk Subject: RE: all caps in CF-Studio Hi Sorry to piggy back on someone else's thread but my question is slightly related.

RE: simple concept, not working

2003-07-24 Thread Craig Dudley
You can't loop though dates like that, (I don't think) Try looping from 1 to the difference in days between your 2 dates ( use datediff() to get that ) Then your variable 'd' would be your start date with the index of your loop (in days) added to it. That should sort your problem.

RE: Red sky

2003-07-23 Thread Craig Dudley
Correct ;-) -Original Message- From: Sandy Clark [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 12:48 To: CF-Talk Subject: RE: Red sky My reading of this is that Red Sky itself will be a free update when it is released. -Original Message- From: John McCosker [mailto:[EMAIL

RE: OT JavaScript question

2003-07-23 Thread Craig Dudley
Hand is not valid css2, use pointer, ie IMG { cursor : pointer; } I'm pretty sure 'hand' only works on ie. It deffinatley doesn't work on Mozilla/NS6+ -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 22:20 To: CF-Talk Subject: Re: OT JavaScript

RE: cffile (action=read)

2003-07-22 Thread Craig Dudley
I reckon those are word control characters, I may have seen a tag to strip all those out somewhere or even a regex that removes everything other than std ascii might be a possibility. Bear in mind that you can't totally remove all those chars if you want the document to keeps its formatting etc.

RE: Help with CFX Error

2003-07-16 Thread Craig Dudley
Make sure your jre path is valid, I had issues with path names containing periods and had to install 1.4.2 to c:\jre before I could get it working. Then add C:\CFusionMX\CustomTags to the classpath and restart CF, should sort it. The CFX_CFX_ thing tends to happen when one or more paths are

RE: CF5 to MySQL without ODBC

2003-07-09 Thread Craig Dudley
We haven't had any problems with 4.0.13 yet, but then we din't have any with 3.23.57 either, on windows system the upgrade doesn't upgrade your tables to support transactions but that's no major issue, you can always do each table manually in a few seconds if you so require. -Original

RE: SQL and Dates

2003-07-09 Thread Craig Dudley
WHERE Date BETWEEN #createodbcdate(Now())# AND (#createodbcdate(dateadd(d,6,Now()))#) should work -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 13:17 To: CF-Talk Subject: SOT: SQL and Dates What is the proper SQL statement for something like...

RE: JSP/Java in CF Page

2003-07-08 Thread Craig Dudley
You'd be better compiling the java to a class file, it's failry easy. I posted this for tony yesterday after a suggestion made by webguy, should be a final version, nice and quick and lets you specify the dates' format. The formats are java and can be found at

RE: i need help on this

2003-07-07 Thread Craig Dudley
The reason it's slow is that the directory contains so many files, using java will probably be faster but it will still be awfully slow with a directory that has 120k + files in it. I don't think java file objects can be filtered to only choose the 1st 5k files, e.g. File dir = new

RE: Timeout for cfhttp

2003-07-07 Thread Craig Dudley
Could try a named cflock? Dunno if that would work though, worth a try? -Original Message- From: A.Little [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 09:59 To: CF-Talk Subject: Timeout for cfhttp Hi all, I'm using cfhttp in CFMX, and according to the docs the 'timeout' attribute

RE: Date Time (GMT 1970)

2003-07-07 Thread Craig Dudley
tbh I don't quite understand what you are trying to do. Are you trying to convert a java/javascript milliseconds from epoch value to GMT? -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 12:51 To: CF-Talk Subject: Date Time (GMT 1970) Any custom tag /

RE: Date Time (GMT 1970)

2003-07-07 Thread Craig Dudley
I want to run report with some understandable date/time format - so I need a conversion mechanism. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 12:55 To: CF-Talk Subject: RE: Date Time (GMT 1970) tbh I don't quite understand what you

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
1970)) CD hey craig, how would one use that class in cfmx? CD thanks. CD tony weeg CD uncertified advanced cold fusion developer CD tony at navtrak dot net CD www.navtrak.net CD office 410.548.2337 CD fax 410.860.2337 CD -Original Message- CD From: Craig Dudley [mailto:[EMAIL PROTECTED

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
-Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:54 AM To: CF-Talk Subject: RE: java class - how to (was RE: Date Time (GMT 1970)) Not sure, I just threw that together in 2 mins, From the command line, its just.. Java formatDate 1057580739

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
lol ignore the typos in that exception.. cut paste strikes back -Original Message- From: Craig Dudley Sent: 07 July 2003 15:14 To: CF-Talk Subject: RE: java class - how to (was RE: Date Time (GMT 1970)) Here's the CFX version.. - import com.allaire.cfx

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
)) CD hey craig, how would one use that class in cfmx? CD thanks. CD tony weeg CD uncertified advanced cold fusion developer CD tony at navtrak dot net CD www.navtrak.net CD office 410.548.2337 CD fax 410.860.2337 CD -Original Message- CD From: Craig Dudley [mailto:[EMAIL PROTECTED

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
: Craig Dudley [mailto:[EMAIL PROTECTED] CD Sent: Monday, July 07, 2003 9:48 AM CD To: CF-Talk CD Subject: RE: Date Time (GMT 1970) CD Here, this java class works, CD Pass it your seconds values and it spits back a formatted date. CD import java.text.SimpleDateFormat; CD import java.util.*; CD

RE: Date Time (GMT 1970)

2003-07-07 Thread Craig Dudley
: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 14:18 To: CF-Talk Subject: RE: Date Time (GMT 1970) I've been told that DateAdd() sucks on MX if the date is within DST?? -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 07 July 2003 14:04 To: CF-Talk Subject: RE

RE: java class - how to (was RE: Date Time (GMT 1970))

2003-07-07 Thread Craig Dudley
410.860.2337 -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:48 AM To: CF-Talk Subject: RE: Date Time (GMT 1970) Here, this java class works, Pass it your seconds values and it spits back a formatted date. import java.text.SimpleDateFormat; import

RE: Image Editor

2003-06-27 Thread Craig Dudley
I have a java cfx I wrote to create thumbnails of jpgs (sorry it doesn't do gifs yet), I should imagine it will work on a unix box np. Mail me of list if you want it and i'll send you it over. Craig. -Original Message- From: Cedric Villat [mailto:[EMAIL PROTECTED] Sent: 27 June 2003

RE: Server ? for CF

2003-06-27 Thread Craig Dudley
I'd use the more powerful box as the database server. You can then add more web servers as necessary and hopefully be able to use the same db box. -Original Message- From: Horne, Jeff [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 16:48 To: CF-Talk Subject: OT: Server ? for CF We have

RE: java recordset to cf recordset

2003-06-25 Thread Craig Dudley
The mm cfx.ar file contains a query interface, you'll need to convert your class into a cfx to use it though, but it's not hard. Then just iterate over the sql resultset and do somethgin like int row = query.addRow(); query.setData( int row, int column, String value ) ; The Java CFX

RE: java recordset to cf recordset

2003-06-25 Thread Craig Dudley
Phil, Here's an example.. import com.allaire.cfx.*; // import your other classes public class CFResultSet implements CustomTag{ public void processRequest( Request request, Response response ) throws Exception{ if (!request.attributeExists(queryname)) {

RE: java recordset to cf recordset

2003-06-25 Thread Craig Dudley
If your'e using cf5, it won't work anyway. -Original Message- From: Phil Spitler [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 16:23 To: CF-Talk Subject: Re: java recordset to cf recordset Does anyone know where I can get the cfusion.jar file, short of installing ColdFusion MX? We

Multiple Statements in a cfquery with mySQL

2003-06-24 Thread Craig Dudley
Just a quickie, Running multiple statements at once works fine in mySQL, but not from a cfquery (cf5), I assume it's an ODBC driver issue, or is it cf? Anyone know for sure? Craig Dudley Senior Developer Netstep Corporate Communications Ltd Direct Line: +44(0) 1422 319712 Phone: +44(0

RE: Multiple Statements in a cfquery with mySQL

2003-06-24 Thread Craig Dudley
not be a problem. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 6:37 AM To: CF-Talk Subject: Multiple Statements in a cfquery with mySQL Just a quickie, Running multiple statements at once works fine in mySQL, but not from a cfquery (cf5), I assume

RE: Recursive Directory - ColdFusion Component

2003-06-20 Thread Craig Dudley
I was a bit bored at home last night and since I'm trying to learn java I wrote one as a java cfx, it's pretty damn quick, you may find it useful. Call it with.. cfx_recursiveDir dir=c:\aDir queryname=myNewCFQuery It creates a query object in the calling cf template. ---code import

RE: Schedule in MX

2003-06-18 Thread Craig Dudley
Personally I never use scheduling in CF, the scheduled tasks sytem in windows works way better, I simply use wget to hit templates at scheduled intervals, this works extremely well. I also use a java program I wrote which does a similar thing for monitoring ftp directories for uploaded files.

RE: Recursive Directory - ColdFusion Component

2003-06-18 Thread Craig Dudley
Something like this... In calling page.. cf_dir basedir = c:\java cfdump var=#request.filelist# dir.cfm -- cfparam name=request.filelist default=#QueryNew('Filename,FileDate,Size')# cfdirectory action=LIST directory=#attributes.basedir# name=list cfloop query=list cfif

RE: Schedule in MX

2003-06-18 Thread Craig Dudley
when it's finished (you'd end up with thousands) -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 12:38 To: CF-Talk Subject: RE: Schedule in MX Any help/articles on Wget? How to use it? Thanks -Original Message- From: Craig Dudley [mailto:[EMAIL

RE: Schedule in MX

2003-06-18 Thread Craig Dudley
*not* produce the result files every time it runs? I tried every switch documented and can't get it right. Thanks, -Frank Mamone - Original Message - From: Craig Dudley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 6:54 AM Subject: RE: Schedule in MX Personally

RE: Java CFX cfx_cfx?

2003-06-16 Thread Craig Dudley
Edit the cfx's registration in cf admin, remove the cfx_ from the front of the name and try again. -Original Message- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED] Sent: 15 June 2003 08:54 To: CF-Talk Subject: Java CFX cfx_cfx? hi folks, I was succesfully using a Java CFX and

RE: Array or Struct...which would be more 'do-able' for something like this...

2003-06-16 Thread Craig Dudley
Query of Query would be the best way imho. Eg. cfquery dbtype=query name=uniqueid Select PropertyID from PropertyQuery !--- This is the name of your CFQuery --- Group by PropertyID /cfquery Total number of properties is: cfoutput#uniqueid.recordcount#/cfoutput -Original Message- From:

RE: Formatting strings for text msg phone display.

2003-06-06 Thread Craig Dudley
Hmm, I must have sent a million text messages via sms from cf over the last 3 years and I've never needed to split them up into rows, the phones themselves all handle this differently and you can't tell them when to start new lines, and if you do split them into rows how are you going to force the

RE: Formatting strings for text msg phone display.

2003-06-06 Thread Craig Dudley
That one of those fancy new fanlged video phones? ;-) -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 14:50 To: CF-Talk Subject: Re: Formatting strings for text msg phone display. On Friday 06 Jun 2003 14:36 pm, Craig Dudley wrote: phones

RE: alternatives to cfhttp

2003-06-04 Thread Craig Dudley
Tried Java? I have a little java cfx I wrote for doing this sort of thing, you will undoubtedly have to modify it to do whatever you need, but its not that hard, mail me off list of you want it. Craig. -Original Message- From: Michael Tangorre [mailto:[EMAIL PROTECTED] Sent: 03 June

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
Stick them all in a container div and make it invisible? -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:04 To: CF-Talk Subject: JS question / DOM hiding all elements in square area I want to hide all elements in a region (ie5+, nn6+) So I have these

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
This works for me np. div style=visibility: hidden; select option value=11 /select /div -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:30 To: CF-Talk Subject: RE: JS question / DOM hiding all elements in square area That won't work either, I need

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
Ah ha, Now I see what youre trying to do. You basically know the size and position of the drop down menu and need to hide any select boxes its intersects while active, yes? Perhaps you could cheat a bit and give all your select boxes the same class and make them all invisible while the menu is

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
This works in ie6, I assume it will work in any DOM Level 2 compliant browser, script function hide(){ elements = document.getElementsByTagName('select'); for (var i = 0; i elements.length; i++) { if (elements[i].style.visibility == 'visible') elements[i].style.visibility =

RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Craig Dudley
on a page, but not only hide the one that are in region defined by top,left,width,height. In fact this would probably hide ALL selects on a page document.getElementsByTagName('select').style.visibility = 'hidden'; wg -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 02 June

RE: application name

2003-03-18 Thread Craig Dudley
You mean you want the application name available elsewhere in your app? Not sure why you'd want to, but you can do this... cfset request.appname = MyApp cfapplication clientmanagement=Yes sessionmanagement=Yes name=#request.appname# sessiontimeout=#CreateTimeSpan(0,0,40,0)#

RE: Newbe SQL question

2003-03-17 Thread Craig Dudley
You could use a trigger, but better just to use a stored proc. Something along the lines of.. Create procedure someproc @a int, @b varchar // etc etc as If exists(select a,b,c,d,e,f from sometable where [EMAIL PROTECTED] and ..) begin // It does exist so do update end else begin

RE: SQL This (')

2003-03-13 Thread Craig Dudley
cfqueryparam Or stored procedures -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 15:03 To: CF-Talk Subject: SQL This (') I think I have known this, but my brain is refusing to divulge the details. I have strings from a form that will be complete

RE: CF Server and MS Exchange

2003-03-10 Thread Craig Dudley
Just allow the IP of the cf server to relay? -Original Message- From: Luis Lebron [mailto:[EMAIL PROTECTED] Sent: 10 March 2003 17:10 To: CF-Talk Subject: CF Server and MS Exchange I am having a problem getting the MS Exchange 5.5 server to allow the CF Server to send mail. The only

RE: CF Server and MS Exchange

2003-03-10 Thread Craig Dudley
it to work. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 11:17 AM To: CF-Talk Subject: RE: CF Server and MS Exchange Just allow the IP of the cf server to relay? -Original Message- From: Luis Lebron [mailto:[EMAIL PROTECTED] Sent: 10

RE: Stored Procedures problem

2003-03-06 Thread Craig Dudley
Try this.. -- CREATE PROCEDURE dbo.Q_CheckItem @Items_id int AS SELECT card FROM Items WHERE Items_id = @Items_id -- cfstoredproc procedure=Q_CheckItem datasource=#dsn# password=#password# username=#username# returncode=Yes cfprocparam type=In

RE: cferror

2003-02-12 Thread Craig Dudley
The template specified in cferror CANNOT run cfml, any cfml at all, not even a cfif. That's your problem. -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] Sent: 12 February 2003 10:21 To: CF-Talk Subject: Re: cferror On Tuesday 11 Feb 2003 17:44 pm, Thomas

RE: cfhttp, Connection Failure: Status code unavailable

2003-01-22 Thread Craig Dudley
Ah my favorite subject is back ;-) I have several java classes that do this sort of thing but I've not tried them with https, hopefully they will still work. I'll dig one out and post you the code, so you'll need to go download the java sdk so you can compile it. -Original Message-

RE: What am I doing WRONG!?!?!

2003-01-21 Thread Craig Dudley
It is most likely long text retrieval option in the data source setup. Go into cf administrator and edit the data source. I had this issue the 1st time I upgraded a Cf5 box to MX, none of them access data sources would retrieve memo text fields. Fortunately, it only takes 2 seconds to fix.

RE: Cfquery - whats wrong with this!?

2003-01-17 Thread Craig Dudley
It's the date, As Jochem said, use cfqueryparam, should help. -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] Sent: 17 January 2003 16:57 To: CF-Talk Subject: Cfquery - whats wrong with this!? Hello I've just moved from access to mysql, and I'm noticing that a lot of

RE: Threads in CF

2003-01-15 Thread Craig Dudley
As far as I know, no, though sometimes I wish you could. -Original Message- From: Ruslan Sivak [mailto:[EMAIL PROTECTED]] Sent: 15 January 2003 06:28 To: CF-Talk Subject: Threads in CF Is it possible to code CF and use threads? For example I might have a CFHTTP request processing,

request_url.exe

2002-12-27 Thread Craig Dudley
or anything like that, just simply makes a http request to a specified url, waits for a http response code then exits. Does anyone have a copy of it? Or does anyone do a similar thing with anything else? Craig Dudley Senior Developer Netstep Corporate Communications Ltd Direct Line: +44(0) 1422

RE: request_url.exe

2002-12-27 Thread Craig Dudley
- From: Craig Dudley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 27, 2002 9:13 AM Subject: request_url.exe Hi, Our ISP have hosed our web server while trying to fix it's drive array, I've got back most of the data and files, but we are missing a file called

RE: request_url.exe

2002-12-27 Thread Craig Dudley
- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 9:25 AM To: CF-Talk Subject: RE: request_url.exe Unfortunately it has to run from the OS and not a web page. Looks like a might have a knock up a quick class file. -Original Message- From: Howie

RE: CFGurus ... your advice sought

2002-12-23 Thread Craig Dudley
Howard, Why not simply copy the files instead of moving them? You can run a scheduled task to clean up your processing directory once a day or something. Craig. -Original Message- From: Owens, Howard [mailto:[EMAIL PROTECTED]] Sent: 21 December 2002 01:33 To: CF-Talk Subject: RE:

RE: Converting a php script to cf

2002-12-18 Thread Craig Dudley
EmailList can be treated as a list with a cr/lf delimiter, if it's a windows text file you can just use chr(10) Something like cfloop list=#EmailList# index=i delimiters=#chr(10)# cfif len(i) gt 0 and find(@,i) cfquery datasource=dsn name=whatever INSERT into

RE: mySQL CF

2002-12-16 Thread Craig Dudley
Standard SQL inserts will work fine on most if not all RDBMS's Eg. insert into tablename (int_col1,varchar_col2) values (cfqueryparam cfsqltype=CF_SQL_INTEGER value=#form.val1#,cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#form.val2#) Do try to use the cfqueryparams, they make things a lot more

RE: mySQL CF

2002-12-16 Thread Craig Dudley
things a lot more secure. What exactly do you mean? Boy, that's a lot of extra typing over the typical CFINSERT syntax... Rick -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 11:10 AM To: CF-Talk Subject: RE: mySQL CF Standard SQL

RE: Login/Password screen

2002-12-13 Thread Craig Dudley
That's quite simple to code yourself, why don't you give it a try and post any questions here if you get stuck? Just pass a username and password from a from into a query, if a matching record is found, the queries record count will be 1 and you can authenticate the user, that's quite simplistic

RE: Returning HTTP response

2002-12-13 Thread Craig Dudley
How is the incoming XML packet posted? HTTP post? HTTP get? SOAP ? It shouldn't be a problem, but we need more details. -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: 13 December 2002 03:10 To: CF-Talk Subject: SOT:Returning HTTP response I am working on a

RE: Login/Password screen

2002-12-13 Thread Craig Dudley
everytime regardless if they dragged a shortcut? On Fri, 13 Dec 2002 13:10:45 -, Craig Dudley wrote: That's quite simple to code yourself, why don't you give it a try and post any questions here if you get stuck? Just pass a username and password from a from into a query, if a matching

RE: Running CF as a specific user

2002-12-13 Thread Craig Dudley
Does your cf user have admin rights? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13 December 2002 14:36 To: CF-Talk Subject: Running CF as a specific user We are on 4.5, and I followed instructions in this KB article:

RE: Returning HTTP response

2002-12-13 Thread Craig Dudley
(binread) 'Response.Write(bstring) set FSO = Server.CreateObject(scripting.FileSystemObject) set myFile = fso.OpenTextFile(C:\test.txt, 8) myFile.WriteLine(bstring) myFile.Close % - Original Message - From: Craig Dudley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday

RE: Wuick question: if odd/if even

2002-12-12 Thread Craig Dudley
cfif year mod 2 eq 1ODDcfelseEVEN/cfif -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED]] Sent: 12 December 2002 13:32 To: CF-Talk Subject: Wuick question: if odd/if even I Know this is easyIwant a different background depending on the year chosen by the user-

RE: Client Variable problem - continued

2002-12-09 Thread Craig Dudley
Are you using cf5? If so, have you applied all the hotfixes? I remember one of them relates to this specific issue. -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 13:40 To: CF-Talk Subject: Client Variable problem - continued OK, as I wrote before, I've

RE: CFX_Image - Quality of images not good when rotating

2002-12-06 Thread Craig Dudley
, Craig. -Original Message- From: Craig Dudley Sent: 03 December 2002 16:38 To: CF-Talk Subject: RE: CFX_Image - Quality of images not good when rotating I'd stick to cfx_image then, it works well, can read and convert many, many formats. It's fast enough as well, as long as you don't

RE: CFX_Image - Quality of images not good when rotating

2002-12-03 Thread Craig Dudley
I have a java cfx that does this, but so far it only works with jpg's. It's very fast though. I'll gladly post the code on here should you want it. I think if you're going to use java tags in cf you should at least learn how to compile it yourself, you may understand how the tag works better that

RE: CFX_Image - Quality of images not good when rotating

2002-12-03 Thread Craig Dudley
to be more flexible, unless I made jpg's a requirement for clients. But then, some of them might have another format and wouldn't know how to convert it! Rick -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 11:00 AM To: CF-Talk Subject: RE

RE: Trigger Question

2002-12-03 Thread Craig Dudley
1st thing, I think both of your triggers will need unique names. Then assuming you are only ever deleting one item at time you can try these... CREATE TRIGGER trig_PosDelete ON position FOR DELETE AS DECLARE @deletedID int SELECT @deletedID = position_id from deleted BEGIN TRAN DELETE FROM

RE: Trigger Question

2002-12-03 Thread Craig Dudley
One more thing, you database will need to have recursive triggers set to on in it's options. -Original Message- From: Duane Boudreau [mailto:[EMAIL PROTECTED]] Sent: 03 December 2002 17:15 To: CF-Talk Subject: SQL:Trigger Question Hi All, I have a db (MSSQL) with the following tables:

RE: Posting XML - for Craig

2002-12-02 Thread Craig Dudley
, I'm getting this when compiling with 1.4: D:\CFusionMX\wwwroot\WEB-INF\classes\sendXMLData.java:31: cannot resolve symb symbol : variable XMLData location: class sendXMLData String dataString = XMLData= + URLEncoder.encode(XMLData); Any ideas? - Original Message - From: Craig Dudley

RE: Posting XML

2002-11-29 Thread Craig Dudley
It's not quite the same thing as a simple html form, a form can't be posted automatically by the server and the response processed in the same thread for example. Cfhttp is fine for occasional posts, but beware. It's slow, flaky and basically crap under heavy load. Java is the way to go.

RE: MS CF AND JAVA

2002-11-29 Thread Craig Dudley
Hi John, Under a court settlement with SUN, MS can't use java2 technology (1.3 and above + I think) in their own VM, as far as I recollect, MS dumped supporting java directly in their OS's shortly after, although you can still get a MS VM if you want, I believe it's akin to Sun's jre 1.2 (java1,

RE: MS CF AND JAVA

2002-11-29 Thread Craig Dudley
incompatible to plug in to MS if they are only supporting up to 1.2. Yip it is confusing, but damn interesting at the same time I think. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002 11:24 To: CF-Talk Subject: RE: MS CF AND JAVA Hi John, Under a court

RE: MS CF AND JAVA

2002-11-29 Thread Craig Dudley
feel like I'm nowhere near. So Java is like golf, damn and I hate golf, Pleasure craig. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002 12:28 To: CF-Talk Subject: RE: MS CF AND JAVA Nah, it won't leave you with any incompatibilities, simply download

RE: MS CF AND JAVA

2002-11-29 Thread Craig Dudley
say) working with java2 (or eventually higher) leaves you incompatible to plug in to MS if they are only supporting up to 1.2. Yip it is confusing, but damn interesting at the same time I think. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002

RE: Posting XML

2002-11-29 Thread Craig Dudley
. - Original Message - From: Craig Dudley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, November 29, 2002 5:22 AM Subject: RE: Posting XML It's not quite the same thing as a simple html form, a form can't be posted automatically by the server and the response

RE: When CFHTTP fails, use WGET

2002-11-26 Thread Craig Dudley
I use a self written java cfx, took 2 hrs to write (I'm a java n00b) and is massively faster than cfhttp, granted it's a little more simple but it works well. Using a w32 utility with cfexecute is likely to be even slower than cfhttp, I wouldn't go there to be honest. If your'e already doing it,

RE: (ot) java help

2002-11-26 Thread Craig Dudley
There are a good few of us learning java on here, just ask away. With the advent of CFMX, java questions are hardly OT. Craig. -Original Message- From: Owens, Howard [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 17:07 To: CF-Talk Subject: (ot) java help I'm working on learning Java

RE: Exchange

2002-11-25 Thread Craig Dudley
Don't use cfmail, try writing the mail file directly into the exchange queue folder, should be fine. Heres some sample code from a custom tag of mine. It should point you in the right direction. cfset variables.content = Content-type: text/plain Date: #dateformat(now(),ddd, dd mmm )#

RE: How to get a JPEG's width/height (not cf_imgagesize)?

2002-11-21 Thread Craig Dudley
cfx_image works no problems for us. cfx_image action=READ file=uploadedimagefilenamehere cfoutputw=#img_width#/h=#img_height#/cfoutput -Original Message- From: Bob Haroche [mailto:[EMAIL PROTECTED]] Sent: 21 November 2002 17:23 To: CF-Talk Subject: How to get a JPEG's width/height (not

RE: java cfx and administrator woes

2002-11-13 Thread Craig Dudley
Your 1st problem sounds like a browser issue, does IE6 have a java plugin installed? Try testing it with other java applets? -Original Message- From: Smith, Matthew P -CONT(DYN) [mailto:Matthew.P.Smith;cnet.navy.mil] Sent: 13 November 2002 15:32 To: CF-Talk Subject: java cfx and

RE: Macromedia! PLEASE fix CFHTTP!!!

2002-10-18 Thread Craig Dudley
Macromedia, fix cfhttp and you'll likely get a double upgrade from me. I'll purchase 5.0 now and eventually MX when it's stable. Unfortunatley you can't buy 5.0 anymore, well maybe on e-bay. I would recommend using a custom tag replacemnet for cfhttp anyway bud, even when it works, cfhttp is

RE: Macromedia! PLEASE fix CFHTTP!!!

2002-10-18 Thread Craig Dudley
Bud, the full source of it was in my last mail, just copy it out, edit as needed and compile. -Original Message- From: Bud [mailto:webcreation;mindspring.com] Sent: 18 October 2002 15:15 To: CF-Talk Subject: RE: Macromedia! PLEASE fix CFHTTP!!! On 10/18/02, Craig Dudley penned

RE: soXML - Flawed

2002-10-16 Thread Craig Dudley
Hmm, I disagree, soXML is however a bag of s**t. Try cf_XMLParser from http://www.cfdev.com It's a java cfx and uses the xerces xml parser. In my tests (under heavy load), it's 10-20 times faster than the MS XML parser, it's also ROCK stable. Craig. -Original Message- From:

RE: soXML - Flawed

2002-10-16 Thread Craig Dudley
it read in an XML file and copy an edited XML packet back out to the file UNTOUCHED? This is my problemeven the cf_xmlparser seems only 1-way. N -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:09 To: CF-Talk Subject: RE: soXML - Flawed Hmm, I

RE: How to get MS-Access Table Column info without cfobject

2002-10-07 Thread Craig Dudley
You need read permissions on table 'MSysObjects', you have to set thee inside Access, once you have, the following query should return table names ok. select MSysObjects.Name from MSysObjects where (((MSysObjects.Flags)=0) AND ((MSysObjects.Type)=1)) order by MSysObjects.Name Craig.

RE: CF execute HELP

2002-10-07 Thread Craig Dudley
Try writing a batch file that does what you want, then just cfexecute that instead, I have more luck doing it that way. Craig. -Original Message- From: Terry Troxel [mailto:[EMAIL PROTECTED]] Sent: 07 October 2002 16:19 To: CF-Talk Subject: CF execute HELP I have never used cfexecute

Java custom tag

2002-09-26 Thread Craig Dudley
Hi all, Does any java programmer on here have 5 minutes to look this over for me? It's basically for sending XML packets via HTTP POST to our SMS provider, it follows their example but I've converted it into a CF custom tag, but to be honest JAVA is not my strong point and I can't figure out

RE: Java custom tag

2002-09-26 Thread Craig Dudley
: Java custom tag Could it be it can't find the class you just wrote? Ade -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 12:35 To: CF-Talk Subject: Java custom tag Hi all, Does any java programmer on here have 5 minutes to look this over for me

<    1   2   3   4   5   >