By specifying parameter types
point <int> myPoint (int [COLOR=BLACK]x, [COLOR=BLUE]int[COLOR=BLACK] y);
It looks very much like a declaration. Should you not be doing something like
point <int> myPoint (1, 2);
or
point <int> myPoint (x, y);
???
If this isn't the problem then mayby if you give...
If your program can quit safely you should return TRUE after processing the WM_QUERYENDSESSION. When you receive the WM_ENDSESSION message the WPARAM parameter will be TRUE if the system is shutting down or FALSE if an application has indicated it can not shut down properly. This allows you deal...
Using the above example, if i was to pass the name as a parameter then the creation of the instance would look like this:
var aPointlessVar = new Pointless("aPointlessVar");
then in the constructor this.name = myName is equivalent to this.name = "aPointlessVar" so that the...
try changing it to this:
function validForm(theForm)
{
//only check the fields if the noemailaddress element is unchecked
if(!theForm.noemailaddress.checked) {
//this checks the first email element has a value
if (theForm.email1.value == "") {...
On a related note if you want to stop search engine robots from indexing you pages then put a text file called robots.txt in you root directory.
Example content:
User-agent: *
Disallow: /admin/
User-agent: *
Disallow: /chat/
EMail: lgworks at uklinux.net
The point is to make the object have the ability to determine everything itself.
The object should not have to rely on external input like passing the instance variable name or creating global arrays.
These are options but not what i am looking for.
tnks anyway.
EMail: lgworks at uklinux.net
Is it possible to dynamically determine the variable name of an object instance, e.g,
I create an instance of my object:
NewObject = new MyObject();
Within the constructor i want to be able to determine that the instance is called "NewObject":
function MyObject()
{
this.name =...
You get very little with cf express and there seems no way around it except to use another language :(
I had the same problem so i used php to do the file handling stuff and it works fine and is completely transparent to the user ( if were my choice however i would use only php, but it aint)...
This is really a javascript question.
You have specified 'location' therefore the document will be loaded in the current position, in this case your 'header' frame. You need to specify the frame you want to target here e.g, instead of location you need something like...
Try assigning the query value Message.From to a variable first e.g,
<CFSET MailFrom = '#Message.From#'>
then use MailFrom for the other operations e.g,
<CFSET MailFrom=RemoveChars(MailFrom, 1, Find("<", MailFrom, 1))>
any luck?
lachlan@cynaptic.net
Try this
First:
<CFSET From=RemoveChars(From, 1, Find("<", From, 1))>
This strips everything upto and including the < character
Next:
<CFSET From=RemoveChars(From, Find(">", From, 1), 1)>
This removes the trailing > character
Finally if you want you can do:
<CFSET...
just noticed that i'm mixing languages...
dont use "\n\n"
use
Chr(10) for line feeds
Chr(13) for carriage returns
Chr(9) for tabs
e.g, <CFSET ErrorMsgVar=Replace(ErrorMsgVar, "<BR>", Chr(10), "ALL")>
Also note that ALL should be in quotes
Sorry about the...
You could alwasy use the replace function to strip the offending tags out e.g,
<CFSET FormatedErrorMsg = Replace(OriginalErrMsgVar, "<P>", "", ALL)>
You could alternatively put in line breaks like this:
<CFSET FormatedErrorMsg = Replace(OriginalErrMsgVar, "<P>"...
Changer the first page form section to look like this:
<CFSET InputList="">
<CFSET InputCount=0>
<CFFORM NAME="test" action="test.cfm">
<cfoutput query="strSQL">
<PRE>
<cfinput type="text" name="#RegDescr#"...
I'm not sure what your doing, maybe if you post a snip of your code i could help more, are you setting the field name like this:
<INPUT NAME="#RegDescr#" TYPE"inputtype">
if so make sure you have surrounded the statement with a <CFOUTPUT> tag which specifies the query name...
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.