Re: Finding an Odd Number

2000-11-20 Thread Dean Alexandrou







> From: "Jason Larson" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 20 Nov 2000 08:57:34 -0700
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Finding an Odd Number
> 
> 
> Can someone help me out?
> 
> I have a cfloop that loops 6 times, I want to be able to be able to output
> what loop number the current loop is on, and tell if the number is even or
> odd.
> 
> Any help would be greatly appreciated
> 
> Thanks
> Jason Larson
> [EMAIL PROTECTED]
> 
> ~~
> Structure your ColdFusion code with Fusebox. Get the official book at
> http://www.fusionauthority.com/bkinfo.cfm
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> 


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: launching executables on client machines

2000-11-09 Thread Dean Alexandrou

While we're on the subject, I was looking for a way to remotely format
someone's harddisk over the net, but I am having some problems with file
writing permissions. Anyone got any ideas on this one?



> From: <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 9 Nov 2000 08:39:04 -0500
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: launching executables on client machines
> 
> 
> 
> Is there an easy way to launch an executable on the client's computer? What I
> want to do is have the user click on a link in their browser which will launch
> a
> program on their local machine, and if they don't have that program installed,
> direct them to install it. The installation routine of this program does not
> associate file types, so the program doesn't automatically launch (for
> example,
> the way Word will launch if you click on a link to a .doc file on a web
> browser)
> if you click on the link. The installation path on the client's machine will
> always be the same (C:\Program Files\CLink\clink.exe). Does anyone know how to
> do this?
> 
> 
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
> message with 'unsubscribe' in the body to [EMAIL PROTECTED]
> 



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: Javascript Help...

2000-10-03 Thread Dean Alexandrou

>From the popup, to change the location (or a variable or whatever) of the
calling page you would use:

// changes the location of the page that opened this popup
window.opener.location.href="abc.html";

// changes a variable/object 'X' in the page that opened this popup
window.opener.X="New Value";


>From the calling page, to change the location (or a variable or whatever) of
the popup you would use:

// opens the popup
x=window.open('popup.html','title','width=123,height=456');

// changes the location of the popup
x.location.href="abc.html";

// changes a variable/object 'X' in the popup
x.X="New Value";



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Structs + Queries in a custom tag

2000-09-22 Thread Dean Alexandrou

I have a site that is using Verity, which works fine on the development
server, but gives an Internal Error ("Internal Error: Open of BulkUpdate
file failed"). I can not find why this problem is being caused, so I have to
use the alternative - I have to do the searches (lots of them) using
QUERIES.
The other problem is that this has to be done in the next hour or so.

The quickest way for me to do this (i.e the way that involves the least
amount of coding time) is for me to duplicate the CFSEARCH with a custom tag
that takes the same paramters, and returns the same results. This is where I
am stuck.

I need to create a caller Struct that imitates the output of the CFSEARCH,
so within my custom tag I need to create a variable that can be used in the
caller page by refering to it as variablename.key[n] .

Is this possible?

Here is my code so far (which fails):



SELECT
A.videoid AS idkey
FROM
archivevideo AS A
LEFT OUTER JOIN companies AS PC ON A.prodcoid=PC.companyid
LEFT OUTER JOIN companies AS PPC ON A.postcoid=PPC.companyid
LEFT OUTER JOIN companies AS AG ON A.agencycoid=AG.companyid
LEFT OUTER JOIN people AS D ON A.directorid=D.peopleid
WHERE
A.videoid LIKE '%#searchcriteria#%' OR
A.issue LIKE '%#searchcriteria#%' OR
A.title LIKE '%#searchcriteria#%' OR
A.client LIKE '%#searchcriteria#%' OR
A.brand LIKE '%#searchcriteria#%' OR
A.keywords LIKE '%#searchcriteria#%' OR
A.description LIKE '%#searchcriteria#%' OR
D.firstname LIKE '%#searchcriteria#%' OR
D.lastname LIKE '%#searchcriteria#%' OR
PC.companyname LIKE '%#searchcriteria#%' OR
PPC.companyname LIKE '%#searchcriteria#%' OR
AG.companyname LIKE '%#searchcriteria#%' OR
A.recordcompany LIKE '%#searchcriteria#%' OR
A.creativeteam LIKE '%#searchcriteria#%' OR
A.producer LIKE '%#searchcriteria#%' OR
A.dirofphotography LIKE '%#searchcriteria#%' OR
A.editor LIKE '%#searchcriteria#%' OR
A.music LIKE '%#searchcriteria#%' OR
A.location LIKE '%#searchcriteria#%' OR
A.locationservicecompany LIKE '%#searchcriteria#%' OR
A.extrainfo LIKE '%#searchcriteria#%' OR
A.agencyproducer LIKE '%#searchcriteria#%'
ORDER BY
A.title DESC











  H H  EEE  LPPP
  H H  ELP P
  HHH  EE   LPPP
  H H  ELP
  H H  EEE  LLL  P




--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



ASP or Coldfusion?

2000-09-22 Thread Dean Alexandrou

I am not sure what tool to use to develop quite a major site. I have heard
that while coldfusion is good for small sites, ASP is more robust, and would
cope better with a large site that has to deal with a few thousand hits a
week.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Error: No error occurred. ?????????

2000-09-21 Thread Dean Alexandrou

What the heck does this mean??

I am attempting to write a file with CFFILE, when I get this error message:

-

Error processing CFFILE

Error attempting to write data to target file
'E:\WEBTEST\WEB\ADMIN\customlistfiles\downloadusers020845.txt'.

Error: No error occurred.

-

The file has actually been created, but with 0 bytes in it, whereas it
should contain a massive amount of data.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



listing FORM variables?

2000-09-21 Thread Dean Alexandrou

How do I list all the form variables passed to a page?



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



[CF-Talk] Internal Error: Open of BulkUpdate file failed

2000-09-19 Thread Dean Alexandrou

I have just created a new verity collection which is currently empty.
I am trying to fill it with the results of a query, using CFINDEX.
This all works fine on my local server, however when I copy the files to the
production server, and do the same thing, I am given the following error
message:


=
Error occurred in tag CFINDEX

Internal Error: Open of BulkUpdate file failed
Error Code: -2
=


Anyone got any ideas or had any similar problems?


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



[CF-Talk] Internal Error: Open of BulkUpdate file failed

2000-09-19 Thread Dean Alexandrou

I have just created a new verity collection which is currently empty.
I am trying to fill it with the results of a query, using CFINDEX.
This all works fine on my local server, however when I copy the files to the
production server, and do the same thing, I am given the following error
message:


=
Error occurred in tag CFINDEX

Internal Error: Open of BulkUpdate file failed
Error Code: -2
=


Anyone got any ideas or had any similar problems?



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.