You need to this instead inside your loop,
cfset session[thisKey] =
or even better
cfset structDelete(session,thisKey)
Don't forget that if you are running on cf5 (or lower) you will need
cflock tags.
===
Raymond
Is there a way to define system environment variables for the users session only
without having to reboot the server?
On Thu, 05 Jun 2003 08:17:47 -0400, Bushy wrote:
Umm...
Not sure thats what I need.
We are running CYGWIN which I have certain directories pre-defined.
Like:
Philip
I think he was using CF5 and AFAIK you no longer have to stop and start
the server, just uncheck the setting in the administrator!
Kola
-Original Message-
From: Philip Arnold [mailto:[EMAIL PROTECTED]
Sent: 05 June 2003 13:08
To: CF-Talk
Subject: RE: Trusted cache?
The
Hello,
I have a dev machine running MX and 2k pro. I started it out fresh and
installed 2kpro clean then office xp then MX, in that order. All was
well the dns's were verifying fine. MDAC 2.5 was what came with the
2kpro. I also had a few .asp pages running and was getting an
unspecified error.
On Thursday 05 Jun 2003 13:11 pm, I-Lin Kuo wrote:
conferencing software, but I really hate the popups.
What pop-ups ?
--
Tom C
Land of the free, home of the brave... you have to be brave to live there and
enjoy the freedoms
I tried an undocumented function to reload cached files but it didn't work for me (CF
4.5 SP2, Solaris 8)
I *have* sneaked files into the Trusted Cache when we needed to on Production. Turn
off the Trusted Cache in the CFadmin, then make a browser request to the new .cfm
file. Then turn the
Not sure situation is the same, but I use cachedafterdate for my cached
queries. If I've changed data, say on an update page, I include the query
template and add a variable update = 1 or like that.
In application.cfm, I've set a cachedafterdate variable as today's date
(without any time) (or it
All:
Is below the best and only way to easily find out how many days are
between 2 dates? Im writing a template for a file backup where files
that are older then 5 day will be deleted and Im not sure what the
easiest best practice approach would be for the days check.
About the updating process...
Step #6. states: Configure IIS for ColdFusion MX. Run the following command
as a single (long) line:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib
-jar c:\cfusionmx\runtime\lib\wsconfig.jar
-ws IIS -site 0 -filter-prefix-only -map
I'm having some errors on a website and i dont want users to see that bomb
that is the standard CF error page. I've made a site wite error handler for
client's website but this is leading to dificulty when i need to correct the
errors.
Since cfmx does not log the error.tagContext (that blue
James Blaha wrote:
Is below the best and only way to easily find out how many days are
between 2 dates? Im writing a template for a file backup where files
that are older then 5 day will be deleted and Im not sure what the
easiest best practice approach would be for the days check.
Hello everyone,
I deployed ColdFusion MX as a web application to WebLogic7.0.
I have a J2EE servlet that invokes a CFM page. This works. However, if I try to set an
attribute in the servlet's session, and try to pass that session along to the CFM
Page, in the CFM Page, it will NOT understand
Jochem,
Thanks a million! Does the date format have to be in the -mm-dd format?
Regards,
James Blaha
Jochem van Dieten wrote:
James Blaha wrote:
Is below the best and only way to easily find out how many days are
between 2 dates? Im writing a template for a file backup where files
Could some one point me in right direction or tell me if it
is possible?
I have a bamboo FAQ that the results are pulled from a data
source. What
I would like to do is scan the answer field for word matches of a
definitions table, then to make that word a active link that would
return the
Try this:
In your application.cfm
cfif IsDefined(URL.refreshQueryCache)
cfset request.cachetimespan = CreateTimeSpan(0,0,0,0)
cfelse
cfset request.cachetimespan = CreateTimeSpan(1,0,0,0)
/cfif
Then...
cfquery name=query datasource=dsn
cachedwithin=#request.cachetimespan#
James Blaha wrote:
Thanks a million! Does the date format have to be in the -mm-dd format?
It doesn't have to be. But you wrote 6/3/03, and I wouldn't know what
date that is. I presume the 03 means 2003, but how about the rest? Is
that March 6 or June 3? Do you know? Does the next
I think he was using CF5 and AFAIK you no longer have to stop
and start the server, just uncheck the setting in the administrator!
This is what I was saying...
BUT, if you regularly upload files to multple servers, save time, it's
easier to write a procedure to upload and push the file out of
When you have used cachedwithin in CFQUERY, is it possible to
override that before the cachedtime is up? For example,
cfif not isdefined(application.recache)
cfquery name=query datasource=dsn
cachedwithin=#createtimespan(0,1,0,0)#
...BLAH...
/cfquery
cfelse
cfquery
I can't get into the exchange site. Says I don't have the right version of
the player. I have it a atrudted site . I have enabled actix installs. But
it won't install. I do an IE warning Your current security settings
prohibit running ActiveX controls on this page. As a result, the page may
not
Unfortunately itÂ’s not quite as simple as being able to see each others
session or application variables in the same way. Request variables can
be seen as you would expect.
To put a variable into a ColdFusion session you have to do something
like this:
In your JSP/Servlet
(Map)
This is a very simple question.
I need to do this in SQL Server from a job not a CF page.
I have a table where I store customer IDs. I want to pull the individual IDs and loop
each ID out of the table and run it against another query and write that output of the
query to a tmpTable. How do I
You need to write a cursor, it sounds like. Take a look in the books online
to get a sense of how it works.
M
-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:29 AM
To: CF-Talk
Subject: Stored Proc Question Help Please
This is a very
The syntax I have attached actually uses two temp tables and then unions
them at the end, but does use a cursor to loop with. Keep in mind this is
SQL 6.5, and some of the functionality might be depricated or changed:
create table #temp_origin_records (
summary_id int,
Although a trigger would be better. Much more efficient in this case.
WG
-Original Message-
From: Haggerty, Mike [mailto:[EMAIL PROTECTED]
Sent: 05 June 2003 15:48
To: CF-Talk
Subject: RE: Stored Proc Question Help Please
You need to write a cursor, it sounds like. Take a look in the
What's the relationship between the two tables?
Ade
-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: 05 June 2003 15:29
To: CF-Talk
Subject: Stored Proc Question Help Please
This is a very simple question.
I need to do this in SQL Server from a job not a CF page.
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS OFF
GO
create PROCEDURE dbo.sp_getId
AS
BEGIN
declare @intError int
if object_id('tempdb..#myTempTable') is not null drop #myTemptable
/* Create Table */
Jochem,
Thanks again! All your points were well made.
Regards,
JB
Jochem van Dieten wrote:
James Blaha wrote:
Thanks a million! Does the date format have to be in the -mm-dd format?
It doesn't have to be. But you wrote 6/3/03, and I wouldn't know what
date that is. I presume
Thanks I will see what I can do with this. I appreciate you time and your help.
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 9:53 AM
To: CF-Talk
Subject: RE: Stored Proc Question Help Please
The syntax I have attached actually uses two
Eric Creese wrote:
This is a very simple question.
I need to do this in SQL Server from a job not a CF page.
I have a table where I store customer IDs. I want to pull the individual IDs and
loop each ID out of the table and run it against another query and write that output
of the
Any1 please? Every time i output the error.tagContext variable looks
like CF forgets everything else and just output it. He strips the layout and text for
the error template and just show me the content of this variable.
Thank you.
BP.
Actually, I'm starting to come around to this way of thinking, too...
Thanks,
Jamie
On Wed, 4 Jun 2003 16:10:52 -0700 , in cf-talk you wrote:
Please correct me if I'm wrong, but aren't all urls now search engine
friendly? I mean, I know Google's algorithm for spidering sites is pretty
Thanks Jochem I will try that..
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 1:41 AM
To: CF-Talk
Subject: Re: force a download [was: SQL concat]
Fetter, Brad wrote:
I have video, and image library on our intranet and we want to
Hey Regex Gurus, heres what I'm trying to do.
On my blog I want any code that I place between [blog-code] and [/blog-code]
to be color coded. I created a CFC that does the color coding that I pass my
entry into as a string. Now inside my CFC I want to only replace the code
inside my code block
I guess I could try this
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:07 AM
To: CF-Talk
Subject: Re: Stored Proc Question Help Please
Eric Creese wrote:
This is a very simple question.
I need to do this in SQL Server from a
I believe that's the ansi SQL-92 standard, but in MSSQL it's +. My problem
was that the datatype was ntext, which it appears MSSQL doesn't allow you to
concatenate. This is just based on my experience from yesterday, I wasn't
able to verify in the documentation.
I changed to varchar and it works
Hello,
I just wanted to get some feedback on FarCry CMS:
http://farcry.daemon.com.au/
I was wondering if anyone here was using it and if they could comment on your
experience in using it...maybe give some links to where you are using it, etc.
Thanks!
---
Josh Trefethen
Exciteworks, Inc
Hi,
I have a link on my interface which runs a template that has a cfexecute. Basically I
want to output the results to the screen.
If I run this command on the server at a command prompt it works just fine.
C:\net print \\SERVERNAME\TESTPRN
Name Job # Size
Jochem,
Thanks for the reply. Can I assume that if the isolation level is
not explicitly stated in the cftransaction tag, the isolation
level defaults to the default setting of the SQL Server (i.e. CF
does not automatically impose a default isolation level)?
Dave Jones
NetEffect
At 09:49 AM
Hmmm, I tryed to force a download of a jpg file with the following code and
browser tried to open the cfm page in Coldfusion Studio... Is there another
way to force a download? Maybe through a Metatage or Javascript?
cfcontent type=unknown/unknown
Bushy wrote:
If I run this command on the server at a command prompt it works just fine.
C:\net print \\SERVERNAME\TESTPRN
Name Job # SizeStatus
---
testprn Queue
Fetter, Brad wrote:
Hmmm, I tryed to force a download of a jpg file with the following code and
browser tried to open the cfm page in Coldfusion Studio... Is there another
way to force a download? Maybe through a Metatage or Javascript?
You need to add a header for the filename:
cfheader
Excellent Mike - thanks - that did it first time around.
Jay
Mike Randolph wrote:
Hello,
Found this in google...don't know if it will work?
cfscript
StructClear(session);
cfscript
cheers
Mike
At 02:27 AM 6/5/2003 -0400, you wrote:
Hello Everyone..
I am having a bit of trouble
Try this:
CFHEADER NAME=content-disposition VALUE=inline;
filename=d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg
cfcontent type=unknown
file=d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg
deleteFile=Yes/No
Bryan Stevenson B.Comm.
VP Director of E-Commerce
Oops.in the CFHEADER tag don't use the full path...just the name of the
file you wanna push
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
-
Jochem van Dieten wrote:
cfset ShowQueueExe =c:\winnt\system32\net.exe
cfsavecontent variable=queue
cfexecute name=#ShowQueueExe#
arguments=testprn
outputFile =prn.log
timeOut=60
/cfexecute
/cfsavecontent
cfoutput#queue#/cfoutput
Sorry, that should be
Where do I put the print and \\SERVERNAME\PRINTERNAME\ for
c:\winnt\system32\net.exe print \\SERVERNAME\PRINTERNAME
I tried the below code. I don't get the same error by I think there is a problem with
the syntax because now I get this:
The syntax of this command is: NET [ ACCOUNTS | COMPUTER
Hello all,
quick question,
has anyone had any issues with CFMX + Windows Server 2003?
We are about to upgrade and Id like to get some feedback.
Stability? Performance?
Thanks all,
-chris.alvarado
[ application developer ]
4 Guys Interactive, Inc.
http://www.4guys.com
http://www.macromedia.com/support/coldfusion/ts/documents/install_cf_win2003.htm
Btw, you can keep up with the latest ColdFusion technotes here:
http://www.markme.com/mxna/index.cfm?category=ColdFusion
mike chambers
[EMAIL PROTECTED]
- Original Message -
From: Chris Alvarado [EMAIL
I just installed updater 3 hoping this null null problem would go away.
But, just got three in a row from the same IP address (same user).
The error simply says:
null null
The error occurred on line 4.
There is no cf code on that line.
only titleWelcome to urbana.org/title
I get this error on
Is there a way to do multiple values per case statement when doing a switch inside of
a cfscript tag?
cfscript
switch (iAnsType){
case 6 :
sAnswer = Replace(sAnswer, ,, |, ALL);
case 7 :
sAnswer = Replace(sAnswer, ,, |, ALL);
}
/cfscript
EG, I was hoping to do this
Hi,
I have this META tag which refresh my webpage every 10 seconds. It works just fine but
I was wondering if there was a way to refresh only one frame rather than all of
them?
meta http-equiv=refresh content=10
I have three frames
frame1 frame2frame3
It's the frame3
Yes there are issues, but there are hacks to make it work. MM is working on a
maintenance upgrade, currently codenamed Red Shy which is addressing all these
issues.
==
Stop spam on your domain, use our gateway!
For CF hosting solutions http://www.clickdoug.com
On Thursday, Jun 5, 2003, at 07:07 US/Pacific, Steve wrote:
I deployed ColdFusion MX as a web application to WebLogic7.0.
I have a J2EE servlet that invokes a CFM page. This works. However, if
I try to set an attribute in the servlet's session, and try to pass
that session along to the CFM
This should do what you are looking for:
cfscript
switch (iAnsType){
case 6 :
case 7 :
sAnswer = Replace(sAnswer, ,, |, ALL);
}
/cfscript
-Original Message-
From: CF Dude [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 12:39 PM
To: CF-Talk
Subject: switch in
Put the meta tag in the file you need to refresh.
Does not matter which frame it is in as long as
it is part of the file
[EMAIL PROTECTED] 06/05/03 12:39PM
Hi,
I have this META tag which refresh my webpage every 10 seconds. It
works just fine but I was wondering if there was a way to refresh
On Thursday, Jun 5, 2003, at 05:11 US/Pacific, I-Lin Kuo wrote:
I'm using IE, but I'm willing to switch to some other
browser if that's the cost to avoid flash pop-ups.
Flash isn't causing these pop-ups - that would be JavaScript on the web
pages you are visiting. Switch to Mozilla (Firebird)
On Thursday, Jun 5, 2003, at 07:37 US/Pacific,
[EMAIL PROTECTED] wrote:
I have it a atrudted site . I have enabled actix installs. But
it won't install. I do an IE warning Your current security settings
prohibit running ActiveX controls on this page. As a result, the page
may
not display
I think you just use something like below, syntax might be a little(or alot)
wrong though
cfscript
switch (iAnsType) {
case 6:
case 7:
sAnswer = Replace.;
}
/cfscript
Ade
-Original Message-
From: CF Dude
That is where I have the META tag but it looks like its refreshing all the frames?
IE windows does a quick blinking
On Thu, 05 Jun 2003 12:46:15 -0400, Randell B Adkins wrote:
Put the meta tag in the file you need to refresh.
Does not matter which frame it is in as long as
it is part of
Also, don't forget to put a break; after your code in the case
So, it should be;
cfscript
switch (iAnsType){
case 6 :
case 7 :
{sAnswer = Replace(sAnswer, ,, |, ALL);
break;
}
}
/cfscript
Is there a way to do multiple values per case statement when
Everyone,
We have experienced some really weird client scope variable errors. We
would set a client variable on 1 page post a form and get a new
CFID/CFToken... thus our client variable was gone!
Here is an example from a CFTry/CFCatch email:
Before posting form:
Browser: Mozilla/4.0
Thanks.
- Original Message -
From: Philip Arnold [EMAIL PROTECTED]
Also, don't forget to put a break; after your code in the case
So, it should be;
cfscript
switch (iAnsType){
case 6 :
case 7 :
{sAnswer = Replace(sAnswer, ,, |, ALL);
break;
}
}
Never seen this error before...
===
ODBC Error Code = S1001 (Memory allocation error)
[Microsoft][ODBC Microsoft Access Driver] Not enough space on temporary
disk.
===
Can anyone provide some insight and a possible fix?
--David
we're considering using it. It seems pretty slick, relatively easy to use,
and quite powerful, although we're running Linux and MySQL, both of which
are outside the environment it was designed for. MySQL support is
supposedly in the works, but from their web site Linux support will be
longer in
I use a 3rd party popup blocker called PopNot ... very good, very intelligent popup
killer. Domain based rules with wildcards, so a rule for yahoo.com gets applied to
all yahoo sites for instance. Rules for individual popups (so I can disallow all on
all sites, allow all on yahoo.com and then
Hmm still not working...The Cfheader doesn't like the lack of a in the
value field.
CFHEADER NAME=content-disposition VALUE=inline;
filename=4X4JEEP.jpg
cfcontent type=unknown
file=d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg
deleteFile=No
-Original Message-
From:
Philip,
Do you know where I could find more information about this?
I have been tasked with determining if we want to turn this on in our
production server, but there is concern about having to restart cf if we
make a change.
Do you (or anyone else) know where there is detailed information
Looks to me like you might have run out of disk space. Either on the drive
where the access database is at or in the drive where your temp files are
created.
Just a guess though.
-Original Message-
From: David K [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 1:16 PM
To:
Database coppied from a CD is set with read-only permissions? ... just the first thing
that occurs to me.
Never seen this error before...
===
ODBC Error Code = S1001 (Memory allocation error)
[Microsoft][ODBC Microsoft Access Driver] Not enough space
on
Do not use StructClear() funciton on the SESSION scope itself, as in
StructClear(SESSION). This will erase the session itself, rather than all the session
variables.
To remove the session variables just set the timeout to 0.
as in
cfapplication name=application name
sessionmanagement=YES
Just popping in on this conversation, (sorry if someone already said this),
but have you tried:
cfheader name=content-disposition value=inline;filename='4x4JEEP.jpg'
or
cfheader name=content-disposition value='inline;filename=4x4JEEP.jpg'
Steve
-Original Message-
From: Fetter, Brad
The db is located on a webserver at CFDynamics.
- Original Message -
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:21 AM
Subject: Re: ODBC Error Code = S1001 (Memory allocation error)
Database coppied from a CD is set with
13299ms a killer but it works
CFLOOP INDEX=answer_fix
LIST=#GETgloss.f_answer#
DELIMITERS=
cfquery name=searchg datasource=boo dbtype=ODBC
SELECT g_id, g_name, g_defination from b_glossary
WHERE (g_name LIKE upper('#answer_fix#'))
/cfquery
CFIF searchg.RecordCount
CFOUTPUTa
Yeah the first option fixes the error, but then it just hangs!
-Original Message-
From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:26 AM
To: CF-Talk
Subject: RE: force a download
Just popping in on this conversation, (sorry if someone already said
Well I got to stop hanging, but now it tries to download it as a cfm page.
-Original Message-
From: Fetter, Brad [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:32 AM
To: CF-Talk
Subject: RE: force a download
Yeah the first option fixes the error, but then it just hangs!
Same again, just coming in at the tail end of this (having deleted all
previous messages) this any good? Remember spending a day a few
months ago on this and this seemed to work for all versions of IE that
we tested it on (5 and above I think)
cfif FindNoCase(MSIE 5.5,CGI.USER_AGENT) GT 0
Do you have Client Variables on?
From: Mark W. Breneman [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Any one find a fix for the null null The error occurred on line
x error?
Date: Thu, 5 Jun 2003 11:43:59 -0500
I just installed updater 3 hoping this
Well in the case of the Jpg, I am trying to download it goes directly to the
prompt to save or open the the CFM page not the jpg I was hoping for.
--Brad
-Original Message-
From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:37 AM
To: CF-Talk
Yes, I do have Client Variables on. The Client Variables are not used on
the pages that throw the errors. (At least not on the index.cfm page)
Can this cause a problem for some users?
Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
Vivid Media
Have you tried saving it even though it sez it's a .cfm anyway? I
foggily remember it saying it was a .cfm but when you said OK it
actually downloaded the correct CSV file (in my case)... other than
that, Im oot of ideas, soz :-(
Well in the case of the Jpg, I am trying to download it goes
Hi,
Whats wrong with the below syntax?
Here is the error:
Error Diagnostic Information
Just in time compilation error
Invalid parser construct found on line 25 at position 1. ColdFusion was looking at the
following text:
/cfscript
Invalid expression format. The usual cause is an error in the
Evidently, this error is somewhat routine with the MS Access driver and is
the result of a memory leak. The only solution is to hiccup the server (!).
Maybe now the client will pony up for upsizing...
Thanks to all who replied.
- Original Message -
From: David K [EMAIL PROTECTED]
To:
Each logical line inside a cfscript has to be followed by a ;
-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 1:56 PM
To: CF-Talk
Subject: cfscript
Hi,
Whats wrong with the below syntax?
Here is the error:
Error Diagnostic Information
Just in
You need a semi-colon (;) at the end of each statement inside a CFSCRIPT block.
Hi,
Whats wrong with the below syntax?
Here is the error:
Error Diagnostic Information
Just in time compilation error
Invalid parser construct found on line 25 at position 1. ColdFusion was
looking at the
you need semicolons at the end of your lines. Every CFSCRIPT statement
requires a semicolon to terminate it, excepting block statements (if, for,
while, etc).
x = 0;
if (x GT 1)
x = 1;
---
Barney Boisvert, Senior Development Engineer
AudienceCentral (formerly PIER System, Inc.)
[EMAIL
I'd call cfdynamics support... there's not likely anything you could do to fix it
without direct access to the server.
The db is located on a webserver at CFDynamics.
- Original Message -
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June
Could it actually be line 4 of the application.cfm or a cfincluded file.
I have had that happen before where MX reported that the error was in one
file, but it was actually in an included file.
Steve
-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Thursday,
But it's okay the session clears as well.
Also - the application as you wrote it is in my application.cfm . If I
was to do that.. I would have to in step three - write a TimeOutVariable
= 0 and conditionally set it in application.. doesn't seem good.
Unless- you are suggesting that I have this
OK.
I thought using the below I could define system environment variables?
cfscript
REQUEST.DIR1 = C:\documents\dir1;
REQUEST.DIR2 = C:\documents\dir2;
REQUEST.DIR3 = C:\documents\dir3;
/cfscript
On Thu, 5 Jun 2003 10:59:59 -0700, Barney Boisvert wrote:
you need semicolons at the end of your
I assume then you have that meta refresh on the frame set cfm page.
Just remove it from the frame set.. and place it on the page called INTO
the frame.. then it would only refresh that one.
Be sure to use target= so you can direct it not to open a new browser or
break the frames.
jay
Bushy
Do you happen to know any of the issues or is there somewhere that they
are documented?
I am aware of RedSky, I am playing with the beta atm.
Thanks a million,
-chris.alvarado
[ application developer ]
4 Guys Interactive, Inc.
http://www.4guys.com
phone: 281.807.4344 x1716
fax: 281.807.4384
We
Thanks for everyones input!
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ:
Bushy wrote:
Where do I put the print and \\SERVERNAME\PRINTERNAME\ for
c:\winnt\system32\net.exe print \\SERVERNAME\PRINTERNAME
If servername is not the local server, you need to make sure CF runs
under a domain account, not the localsystem account. Then use:
cfsavecontent
Dave Jones wrote:
Thanks for the reply. Can I assume that if the isolation level is
not explicitly stated in the cftransaction tag, the isolation
level defaults to the default setting of the SQL Server (i.e. CF
does not automatically impose a default isolation level)?
I always assume so
Try this:
cfset ShowQueueExe =c:\winnt\system32\net.exe
cfset ExecuteArguments =print \\SERVERNAME\PRINTERNAME
cfsavecontent variable=queue
cfexecute name=#ShowQueueExe#
arguments=#ExecuteArguments#
outputFile =prn.log
timeOut=60
/cfexecute
/cfsavecontent
Shoot me dead if this has been asked and answered, but pelase respond nonetheless so
that my replacement can jump right in:
what is the easiest way to create a csv file from a query? What I have is a custom tag
that takes a runs a query and need to genenrate a csv file and then save it to the
Actually I found this COM DLL that executes DOS or WIndows applications and returns
the STDOUT.
Works great.
Thanks
On Thu, 5 Jun 2003 14:23:37 -0400, Calvin Ward wrote:
Try this:
cfset ShowQueueExe =c:\winnt\system32\net.exe
cfset ExecuteArguments =print \\SERVERNAME\PRINTERNAME
Here. Convert query and filename as you like:
cfquery datasource=#application.ds# name=test
select branchid, branchname from tblbranches
/cfquery
cfoutput query=test
cfset myvar =
cfloop list=#test.columnlist# index=mycol
cfset myvar = myvar , evaluate(test.
use this to upload you file
cfcontent file = ../filename.doc
type = application/msword
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Well don't hold back! Which dll was it?
Calvin
- Original Message -
From: Bushy [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 2:34 PM
Subject: Re: Using cfexecute to run Windows 2000 net print to show queues
Actually I found this COM DLL that executes
1 - 100 of 400 matches
Mail list logo