I attempted to do the "Write" action, but I received the following error messages:
"An error occurred when performing a file operation WRITE on file.
The cause of this exception was: java.io.FileNotFoundException: /var/chroot/home/html/literature2.txt (Permission denied)."
I have a feeling...
It's been a while since I used ColdFusion - I have forgotten many concepts :(
How, if possible, can I script ColdFusion to change the file
attributes (MODE) of a specific file located in CF Server's root directory(running on Linux)?
For example:
I have a file named "myfile.txt" located in the...
CFStudio 4 had some issues w/ RDS a while back.
Download/install the CFStudio patch -
http://www.adobe.com/support/coldfusion/downloads_updates.html#studio
... I forgot to mention in the previous post -
If I can create an algorithm that will return a list of divisors derived from the given expression, I can easily create the WHERE clause of the SQL statement.
The expression will actually be a part of a SQL select statement. In the WHERE clause of the statement I need to set the divide-by-zero conditions.
Something like the following:
SELECT 8 / (T + 4) - 9/Y
FROM table....
WHERE
(T + 4) <> 0
AND
Y <> 0
I'm having difficulty coming up with an algorithm that will extract all
the divisors of a given expression.
For example...
Input: X * 5 + (Y / ((10 / T) + 15 / W - 20) / 25
Output:
divisor 1 -> ((10 / T) + 15 / W - 20)
divisor 2 -> T
divisor 3 -> W
divisor 4 -> 25
It may be worth noting that...
I've setup an IIS FTP Server on Win2k.
I want to have the FTP site accessible from the LAN and WAN on a port other than 21 - let's say port 1234. I have defined the listening port in the FTP settings and have opened up my router to forward port 1234 requests to the LAN IP of the FTP Server...
cLFlaVA - I'd prefer the array method. If I chose the other route, going back to the server, then I'd have to repopulate all the other form fields that the user may have previously filled in.
kaht - thanks, I'll check out the faqs.
I have two drop-down fields - 1) Project 2) Version. Note that each Project will have one or more Versions associated with it.
The values of each drop-down are driven by a database. After the call to the database has been made, the Project drop-down will look similar to this:
<select...
Same context, different topic...
What is the extent of error handling functions available to us? It would seem to me that there has to be some way to handle errors at runtime in an sql statement... don't you think?
If I run the following query in Access:
SELECT IIF(ISERROR(4),"ERROR","NO ERROR")
I get a result set back of "NO ERROR"
SELECT IIF(ISERROR(),"ERROR","NO ERROR")
*Note that I removed the argument from the IsError() function.
I get the error message: "Wrong number of arguments used with...
In a nutshell, the SELECT statement is a user defined expression. Meaning that I don't know which field(s) is a divisor. The fact that the user is able to create his/her own expression imply's that any expression is possible. Instead of making my own parser that will figure out what's going on...
I am confused on how the IsError function works (or doesn't work for that matter).
I have a SELECT statement that includes an expression:
SELECT (A.foo/B.bar) AS Expr1
FROM A INNER JOIN B...
Notice that if B.bar is a "zero" value, division by zero occurs. So I implemented the IIF and...
You're getting the boot 'cuz of the .exe extension - NOT because the app is written in VB. If you need to send your .exe via email, zip it up with winzip/winrar etc. Another alternative is to simply remove the .exe extension - You will have to notify the recipient to add the extension back...
How do I insert text at a specific location in a RichTextBox?
For example:
The text in my RTB is "The fox".
I would like to insert the string "quick brown " at index 5 of the existing string "The fox" so that the result will be "The quick brown fox".
Thanks
What is the most efficient way to loop thru each char of a string and check to see if the char in scope is in an array?
It would be cool if I could do something like the code below:
Dim MyString As String = "The quick brown fox"
Dim FindTheseChars() As String = {"q","x","w"}
For i as integer...
Is is possible to change the font for certain text within one Label? If so, how?
For example:
I have a Label that contains the following string:
"Foo + bar - 34"
I would like the "+" and "-" operators to be bold and all other text to remain as is.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.