Re:parsing txt file - seems unparsable

2003-10-07 Thread Stephenie Hamilton
Thanks! will let you know how it goes. I have really been seeing the usefulness of using Java with CF lately. ~~ Stephenie >I reckon you'll be needing a Java CFX then. > >Seemed like a fun 5 minute project so here ya go. > >- > >import com.allaire.cfx.*; >import java.io.*;

Re:parsing txt file - seems unparsable

2003-10-06 Thread Stephenie Hamilton
Tried this on CF5, and received this error: Unhandled System exception ! Failed to create JavaVM. JNI_CreateJavaVM returned error code JNI_ERR (this may indicate an unrecognized option string) which comes from line: action=""> any ideas? BTW, using cffile in CFMX to read the file works great,

Re:parsing txt file - seems unparsable

2003-10-03 Thread Stephenie Hamilton
nice idea, but no love. thanks! Stephenie >If you're still having trouble, instead of CFFILE, try this > > > > > >Now parse your file. > >H. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re:parsing txt file - seems unparsable

2003-10-03 Thread Stephenie Hamilton
yes it is cf 5. i suspect you may be right. will try some tweaking as soon as i kick this flu. thanks! steph [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re:parsing txt file - seems unparsable

2003-10-01 Thread Jerry Johnson
Is this CF 5 or earlier? If so, it is probably actually a NULL chr(0) character. Notepad will get rid of it when you open and save the file. CF 5 and earlier have trouble with strings containing NULLs, since it uses NULLs to mark the end of strings (I think). The data is still in the string, bu

Re:parsing txt file - seems unparsable

2003-10-01 Thread lee
This sounds line an end -f line or carriage return character (or both) Do a replace of each [chr(10) & chr(13); replace with white space or some marker for your illumination "~~~" or whatever ] in the variable and see if that helps. Are you SURE it's not in the database, as well? Just kicked down

Re:parsing txt file - seems unparsable

2003-10-01 Thread Stephenie Hamilton
If i open the file in notepad, then save it (without making any changes) it works fine. h...wonder how/if i can use cfexecute to have notepad open the file and then save it? other than that, i can't think of anything else... Steph [Todays Threads] [This Message] [Subscription] [Fast Un

Re:parsing txt file - seems unparsable

2003-10-01 Thread Stephenie Hamilton
it does not display the whole file. it stops when it gets to the little square on the first line. i can't even get to the part of inserting into db because i get only part of the first line. Stephenie >if you output the content of the file in your cf template (prior to db >insert) does it disp