RE: chinese translations anyone?

2004-08-10 Thread Sima Lee
Hi, I can do it, but just cannot make the Word to write out the Chinese Characters here at work.I have added the Language Chinese (PRC) to the Language bar, but it still not working. If nobody does that for you please let me know. I will try again. Sima -Original Message- From:

RE: ASP help required

2004-07-26 Thread Sima Lee
Hi Asim, Try: % if session.contents(link)=1 then % put the img tag here % else% Put another link here % end if% Hope it helps. Sima -Original Message- From: Asim Manzur [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 2:20 PM To: CF-Talk Subject: ASP help required a >

flash problem

2004-07-02 Thread Sima Lee
flash'sfscommand to maximize the screen but it still remains behind the other windows above it. Any ideas on how to bring the viewer to the top most window on the desktop? Many thanks in advance. Regards, Sima Lee -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Friday

RE: flash problem

2004-07-02 Thread Sima Lee
problem You need some _javascript_ on the page that the flash movie is being played in that will bring that window to focus and then call that function from your flash movie. John -Original Message- From: Sima Lee [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 9:29 AM To: CF-Talk

RE: CFHTP Problem

2002-04-10 Thread Sima Lee
Hi, I once had the same problem and ended up using the same method as you did. Let the SQL server do the job. I tried everything to get the cfhttp tag to make a query for me with no luck. I think under some situation CF has problem to determine the column header. If anyone had the same

CFX_Cybercash

2002-01-29 Thread Sima Lee
Hello, I am trying to get a new copy of the CFX_Cybercash tag (Dated Oct, 1 2001). I tried to get it from the DevEx Tag Gallery but it links to Cybercash's site and I just get a page not found and Verisign's site is no help either. If someone has this tag, can they please send it to me. Thank

RE: CFX_Cybercash

2002-01-29 Thread Sima Lee
got a response. We had to abandon the tag completely! ~~ Stephenie Hamilton Macromedia Certified ColdFusion Professional -Original Message- From: Sima Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 3:44 PM To: CF-Talk Subject: CFX_Cybercash Hello, I am trying to get a new

RE: extracting data from a huge text file (my update on it)

2002-01-28 Thread Sima Lee
myself. And it will probably give a bit of a headsup on NEO. Thanks. DRE [EMAIL PROTECTED] -Original Message- From: Sima Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 11:24 AM To: CF-Talk Subject: RE: extracting data from a huge text file Hi, I have had it complied

RE: extracting data from a huge text file

2002-01-25 Thread Sima Lee
Hi, I have had it complied but have not try it out yet. If you want please contact me off list, because I cannot attach any file here. Regards, Sima -Original Message- From: Chris Giminez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:54 PM To: CF-Talk Subject: Re:

RE: SQL INSERT

2001-11-14 Thread Sima Lee
Hi, Can you use a loop to do that? It will save lots of typing. Sima -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 7:19 PM To: CF-Talk Subject: RE: SQL INSERT So such luck. Since the form is defining the var to the cfparam ...

RE: Inserting single quotes into SQL Server... Rarrararrr!!!

2001-11-13 Thread Sima Lee
Hi Ken, As other people pointed out that Cf will escape the single quote in a simple variable. What I have had is when you use evaluate() function to evaluate a variable which contains a singlequote then CF will fail to escape it. I solved this problem by after the evaluation replacing the

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Sima Lee
Hi Terry, It's a very nice summary, however, I have some thoughts after reading. A couple of notes here: if you do this, use something like cfset request.var=Duplicate(session.var) to transfer the variable. If you don't use Duplicate() - correct me if I'm wrong someone! - then request.var

cgi.http_referer problem

2001-11-02 Thread Sima Lee
Hi All, As I understand that cgi.http_referer created by the browser only when the user follows a link or submit a form to the current page. So sometimes it could be blank. With this in mind we put this piece of code in our action page: cfif attributes.method contains Action cfif

RE: cgi.http_referer problem

2001-11-02 Thread Sima Lee
is a referred link in from my own site). - Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com - - Original Message - From: Sima Lee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent

cfobject problem fixed

2001-10-31 Thread Sima Lee
with CF4.5 but will cause an error at CF5.0 To fix , change it to: CFOBJECT ACTION=CREATE TYPE=Java CLASS=java.util.Properties NAME=JUtilProp This piece of code works well with both CF4.5 and Cf5.0 Thanks to all ! Sima -Original Message- From: Sima Lee

RE: Val :: IncrementValue by 01 NOT 1? how?

2001-10-29 Thread Sima Lee
Hi Paul, Can you treat the lastnumber as a string again and take the last number of the lastNumber and increase it? Or: Did you try to take off all the . and treat it as a number increase it by 1, then insert the dot back. Of course you have to remember how many dots you have took off and the

RE: Val :: IncrementValue by 01 NOT 1? how?

2001-10-29 Thread Sima Lee
-Original Message- From: Sima Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 4:26 PM To: CF-Talk Subject: RE: Val :: IncrementValue by 01 NOT 1? how? Hi Paul, Can you treat the lastnumber as a string again and take the last number of the lastNumber and increase

cfobject problem

2001-10-25 Thread Sima Lee
Hi All, I am trying to figure out a problem related to cfobject. When in CF4.5 everything works well. After upgraded from CF4.5 to CF5.0, a cfobject generates a java.lang.ClassNotFoundException error . The java class which is used in the cfobject is contained in a .jar file. If use a java

RE: cfobject problem

2001-10-25 Thread Sima Lee
: Thursday, October 25, 2001 4:10 PM To: CF-Talk Subject: Re: cfobject problem Did you transfer over your Server Java Settings in CF Administrator from your old machine to the new? That's what your problem sounds like --- Sima Lee [EMAIL PROTECTED] wrote: Hi All, I am trying to figure out

RE: Listcontains question

2001-09-19 Thread Sima Lee
Hi , Please use ListFind(newlist,4). There is a difference between listcontains and ListFind, somehow, the following code will print index:2,index2:5: cfset newlist=1,44,5,40,4,50 cfset index=listContains(newlist,4) cfset index2=listFind(newlist,4) cfoutputindex: #index#br index2:

ColdFusion Variable length

2001-08-31 Thread Sima Lee
Hi All, Does anybody know how big a coldfusion variable could be? Does it truncate at 65k characters? Any help will be greatly appreciated! Sima ~~ Structure your ColdFusion code with Fusebox. Get the official book at

display Image files

2001-07-17 Thread Sima Lee
Hi All, Does anybody have any experience with how to display an actual image file in CF? The problem is : I use cffile tag reads an image file and saves the actual file (not the file name and path) into the database(in SQL, data type for the field is image). Then I pulled it out use

RE: OT DBMS select distinct

2001-05-29 Thread Sima Lee
Hi John, where r.name in (select distinct name from resources) Is this working? If there are 30 records in all , the select distinct clause may return 20 but when execute the where r.name in.. , the statement still return 30 records, because the other 10 name is also meet the criteria : where

RE: crystal report report

2001-03-23 Thread Sima Lee
Hi, GO to : http://www.mail-archive.com/cf-talk@houseoffusion.com/ Do a search on Stopping/starting CF with NT "AT" Regards, Sima Lee -Original Message- From: Chang Liu [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 2:12 PM To: CF-Talk Subject: Re: crystal rep

RE: Text box not wrapping

2001-03-08 Thread Sima Lee
Hi if I understand what you want correctly, try this: Before you save the text from the textarea do this: cfset Description = #ReplaceList(Description, "#Chr(10)#,#Chr(10)##Chr(13)#", "BR,P")# This will let you display it out side a textarea nicely: output#Description#/output. But if you

Re: Deserialize array from wddx packet

2001-01-03 Thread Sima . Lee
Hi Laura, I played around with your code and made a few changes , the following code works for me: In the form page: cfset janarray= arraynew(1) cfset janarray[1]="A" cfset janarray[2]="B" cfset janreq = StructNew() cfset janreq["jan"] = janarray cfwddx input="#janreq#"

Re: cfstoredproc problem

2001-01-02 Thread Sima . Lee
Hi, You might already solved the problem. Since I do not see any post here I reply it anyway. First, if you use SQL server , you have to set up the return code you self in the stored procedure. Because the default return code is 0. The stored procedure should look something like: CREATE

Re: form passes all fields, except one?

2000-11-22 Thread Sima . Lee
Hi Tammy, INPUT TYPE="text" Name"Parent_ID" SIZE="5" MAXLENGTH="5" Mother's ID number If this is exact the code you used , then you forgot the "=" sign between "Name" and " the Parent_ID" in the input tag. Sima

RE: Nested Structures and Arrays - Addendum

2000-11-17 Thread Sima . Lee
Hi Eric, I tried it out today. The array limitation is not the issue here. Here is my test code. (for test purpose I made it a local variable): cfscript Intake = structnew(); Intake.URLToken = "test"; Intake.Guardian = arrayNew(1); Intake.Guardian[1]

RE: Nested Structures and Arrays - Addendum

2000-11-16 Thread Sima . Lee
Hi Eric, The code looks OK to me. A structure in CF is really an associated array, and Cf only support for three dimensional arrays. Your code nested four structures, so I am not sure if this is the problem. But I remember in the CF advanced training course the instructor said by creating

cfobject

2000-11-01 Thread Sima . Lee
Hi I have some problems in using cfobject tag to create a java object and access its public method in Cold Fusion. Here is the detail:(This is just a test and to prove that we can use the real java objects on the server, so forget what it actually does here) I created a simple java class

Re: cfobject

2000-11-01 Thread Sima . Lee
Hi David, Thank you very much for the advice. The "tyep" is a mistake I made in the email only. So I restart CF and It works fine! Thanks again, this saves me lots of time. Sima

Re: Query result in another query

2000-10-19 Thread Sima . Lee
Hi , problem is in this line: CFSET subList=ListToArray(#GetSubweb.id_subweb#, ",") Try this: use this function to change that column to a list , ValueList(query.column [, delimiter ]) then use listToArray to change it to an array. Sima

Re: Certification Study Guide

2000-10-13 Thread Sima . Lee
Hi Hong, While I agree with you that it isn't an easy one, but I might not agree on that any one without a year solid Cold Fusion experience could not make it. I, myself passed it two weeks ago with six and a half months cold fusion experience. Of course without my C++, VB, and other

Re: Multiple CFLOOPs

2000-09-15 Thread Sima Lee
the output of the outer loop because it suppose to work that way. Roger - Original Message - From: "Sima Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 14, 2000 9:09 PM Subject: Re: Multiple CFLOOPs Hi, Roger, What do you want to achieve? D

Re: Zip Code Search in CF?

2000-09-14 Thread Sima Lee
Hi, There is one created by Jeef Beer called "CF-ziprad". You can download it from Allaire site. It works very well . Sima - Original Message - From: John McKown [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 5:45 PM Subject: Zip Code

Re: Multiple CFLOOPs

2000-09-14 Thread Sima Lee
l follow the result of that in the first loop. What do you think? Roger ----- Original Message - From: "Sima Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 14, 2000 2:18 AM Subject: Re: Multiple CFLOOPs Hi, the inner loop should always print out

Re: Populating more than one Select

2000-09-14 Thread Sima Lee
Hi, I remember I had the same problem before, by change the SQL statement to "Select distinct." the problem was gone. I don't know if your problem is the same, but give it a try won't hurt. Hope it will help. Sima - Original Message - From: W Luke [EMAIL PROTECTED] To: [EMAIL

Re: cfselect and variable passing

2000-09-13 Thread Sima Lee
Hi, Try this it works for me : cfset track=Trim(form.track) CFSWITCH EXPRESSION="#track#" CFCASE VALUE="1" cfset hours = 4 /CFCASE CFCASE VALUE="2" cfset hours = 10 /CFCASE /CFSWITCH Your hours are cfoutput #hours# /cfoutput Sima - Original Message - From: Richard Kern [EMAIL

Re: Surprising Results? [was] Re: Round down numbers

2000-07-27 Thread Sima Lee
I Guess: Because when you use int(4.599) you get rid of what after the decimo point , The same logic apply to int(-4.599), So you get (-4.599-0.599)=-5.198 the the final result is -5. sima Lee - Original Message - From: Dick Applebaum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: TwoSelectsRelated Trouble

2000-06-03 Thread Sima Lee
Erika, I had a similar problem after I updated the table with a few records. Please check the length of new record's field's name which you used in the tag , they can't have more than 10 characters.( see the JavaScript's part in the actual code of the tag). When I change them it works

Re: CFParam and radiobutton array validation

2000-06-01 Thread Sima Lee
Hi Troy, I am not sure that my experience with a checkbox column in a query will give you some idea. The query could have any number of records so every column is like array of fields. I had a query which dynamically created using the information from a user submitted form. In that form there

Re: verity search problem

2000-05-29 Thread Sima Lee
And (mother). Eron - Original Message - From: Sima Lee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 28, 2000 1:02 PM Subject: Re: verity search problem Hi Eron , Thank you for your hint. When I manually enter a word as the criteria in the search tag it works. So I deleted t

Re: verity search problem

2000-05-28 Thread Sima Lee
ate key it will stop indexing there (and it won't give you any error messages!)*** 3) I have done quite a bit of indexing of large amounts of data. I am not exactly sure what the limit is, but in fact, there IS a limit to the size of your collections! This is documented in Allair

verity search problem

2000-05-26 Thread Sima Lee
This is a multi-part message in MIME format. --=_NextPart_000_0041_01BFC724.71016490 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I am new to ColdFusion and try to use verity search . This is the = problem I got: I created a

Re: verity search problem

2000-05-26 Thread Sima Lee
, May 26, 2000 3:30 PM Subject: RE: verity search problem One thing that could be wrong: I believe you actually NEED # signs for your Criteria= statement... What happens if you use: CFSEARCH COLLECTION="test" NAME="GetItems" CRITERIA="#Form.cri

Re: Cookies disappear

2000-04-24 Thread Sima Lee
On page 94 in "Mastering ColdFusion 4.0"- author: Arman Danesh, Kristin Aileen Motlagh": " A server can set only 20 cookies in a client browser with newer cookies replacing older ones as this limit is crossed." "Cookies have a length limit of 4,096 characters(4KB). This length includes the value