How to print directly from coldfusion code

2007-07-09 Thread chr chr
Any ideas, how to print directly from coldfusion code...
   
  I created one scheduler that runs every night, it collects data from database 
and make all the data into pdf files, and print all those pdf files. My 
question is how can i directly print in coldfusion?
   
  Any ideas or suggestions are appreciated.
   
  Thank you.

   
-
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283307
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF Report

2007-06-26 Thread chr chr
I am creating a big array of information and I want to create my report based 
on it and not an SQL query. Is this possible?

Thanks.
 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Query data to cfreport

2007-06-26 Thread chr chr
I am creating a big array of information and I want to create my report based 
on it and not an SQL query. Is this possible?

  Any help will be appreciated.
  
Thanks.
  chr

 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282245
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


How to open excel and flashpaper files?

2007-01-31 Thread chr chr
Hi Everybody,
   
  Using CFREPORT tag i'm creating pdf, excel, or flashpaper reports. How to 
open these(pdf, excel, flashpaper) files in one browser?
   
  I tried this for pdf
   
  cfcontent file=C:\Reports\#rpt_name# type=application/pdf
   
  it is working fine.
   
  To open excel files
  cfcontent file=C:\Reports\#rpt_name# type=application/vnd.ms-excel
   
  when i open excel file, it is opening file download window. But what i want 
is instead of file download window, is there any way to directly display the 
excel file in browser?
   
  How to open flashpaper files?
   
  Thanks in advance.
   
   

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268244
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How to open excel and flashpaper files?

2007-01-31 Thread chr chr
Any ideas please?

 Hi Everybody,
   
 
  
 Using CFREPORT tag i'm creating pdf, excel, or flashpaper reports. How 
 to open these(pdf, excel, flashpaper) files in one browser?
   
 
  
 I tried this for pdf
   
 
  
 cfcontent file=C:\Reports\#rpt_name# type=application/pdf
   
 
  
 it is working fine.
   
 
  
 To open excel files
  
 cfcontent file=C:\Reports\#rpt_name# type=application/vnd.
 ms-excel
   
 
  
 when i open excel file, it is opening file download window. But what i 
 want is instead of file download window, is there any way to directly 
 display the excel file in browser?
   
 
  
 How to open flashpaper files?
   
 
  
 Thanks in advance.
   
 
   
 
 
 
 
 -
 
 Get your own web address.
 
 Have a HUGE year through Yahoo! Small Business.

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268249
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


file upload

2007-01-15 Thread chr chr
Hi Everybody,
   
  I have one question about file upload, i am uploading file using cffile tag 
but how to display the uploaded file in html form for user verification. Any 
ideas please.
   
  I hope everybody had good week end and thanks in advance.
   
  Raj

 
-
Have a burning question? Go to Yahoo! Answers and get answers from real people 
who know.

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: file upload

2007-01-15 Thread chr chr
How to display uploaded files in html form? Any ideas please...

Thanks!

 Hi Everybody,
   
 
  
 I have one question about file upload, i am uploading file using 
 cffile tag but how to display the uploaded file in html form for user 
 verification. Any ideas please.
   
 
  
 I hope everybody had good week end and thanks in advance.
   
 
  
 Raj
 
 
 
 -
 Have a burning question? Go to Yahoo! Answers and get answers from 
 real people who know.

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266626
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: file upload

2007-01-15 Thread chr chr
Thanks Jake. 

I'm pretty sure it's not possible to pre-populate a file form field.  
You'd have to upload the file and display a confirmation.  Or reload the 
form and display the name of the file in a text box.  Or a link to the 
file so the user can verify.

chr chr wrote:


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266628
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Flash progress bar in coldfusion

2006-12-26 Thread chr chr
Hi Everybody,
   
  I got one simple problem with flash progress bar, if i run the below code in 
html file it is working fine and displaying the flash progress bar. If i 
include the same code in coldfusion file the flash progress bar is not 
displaying, did i miss anything? 
   
  !-- Flash movie tag--

  OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0;
WIDTH=221 HEIGHT=70 id=proggybar.swf ALIGN=
PARAM NAME=movie VALUE=proggybar.swf PARAM NAME=quality VALUE=high
PARAM NAME=bgcolor VALUE=#ff
EMBED src=proggybar.swf quality=high bgcolor=#dd WIDTH=221 HEIGHT=70
NAME=proggybar.swf ALIGN= TYPE=application/x-shockwave-flash 
PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer;
/OBJECT
  
Please help me, thanks in advance.
  Belated Happy Christmas and Happy new year to everybody.
   
  Thanks!

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265004
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash progress bar in coldfusion

2006-12-26 Thread chr chr
I tried both ways(cfflush and #) still its not working.

Thanks!

You may need to escape the #

chr chr wrote:


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265011
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash progress bar in coldfusion

2006-12-26 Thread chr chr
This is the simple coldfusion code i'm trying to do

!-- Flash movie tag--

OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0;
WIDTH=221 HEIGHT=70 id=proggybar.swf ALIGN=
PARAM NAME=movie VALUE=file:///C|/Documents and 
Settings/rchandra/Desktop/proggybar/proggybar.swf PARAM NAME=quality 
VALUE=high
PARAM NAME=bgcolor VALUE=ff
EMBED src=file:///C|/Documents and 
Settings/rchandra/Desktop/proggybar/proggybar.swf quality=high bgcolor=dd 
WIDTH=221 HEIGHT=70
NAME=proggybar.swf ALIGN= TYPE=application/x-shockwave-flash 
PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer;
/OBJECT

cfflush

cfoutput Helooo.../cfoutput

Any ideas please.

Thanks!

I tried both ways(cfflush and #) still its not working.

Thanks!

You may need to escape the #

chr chr wrote:


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265014
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash progress bar in coldfusion

2006-12-26 Thread chr chr
It never displays even after the entire page has finished loading. 

For now i'm trying this in my local CF server, once it is working fine then i 
need to move it to my production server.

Thanks!

1)  Are you using a framework like Fusebox 3 in which cfflush doesn't
work?
2)  Does your web server have compression enabled (like gzip on apache)

Either one will make your entire request finish on the server, before
anything gets shoveled out to the browser.

Also when you say bar is not displaying, do you mean it doesn't
display while the rest of the page loads, or it never displays even
after the entire page has finished loading.  (if the second statement is
true, then disregard my first comments about Fusebox and compression).

This may be a stupid question, but I noticed the location of the SWF
file is local on the C: drive.  Are you running this on a LOCAL CF
server on YOUR PC, or are you placing this code on a remote CF server---
a server maybe without that SWF file?

~Brad

-Original Message-
From: chr chr [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 26, 2006 10:40 AM
To: CF-Talk
Subject: Re: Flash progress bar in coldfusion

This is the simple coldfusion code i'm trying to do

!-- Flash movie tag--

OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=6,0,0,0
WIDTH=221 HEIGHT=70 id=proggybar.swf ALIGN=
PARAM NAME=movie VALUE=file:///C|/Documents and
Settings/rchandra/Desktop/proggybar/proggybar.swf PARAM NAME=quality
VALUE=high
PARAM NAME=bgcolor VALUE=ff
EMBED src=file:///C|/Documents and
Settings/rchandra/Desktop/proggybar/proggybar.swf quality=high
bgcolor=dd WIDTH=221 HEIGHT=70
NAME=proggybar.swf ALIGN= TYPE=application/x-shockwave-flash
PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer;
/OBJECT

cfflush

cfoutput Helooo.../cfoutput

Any ideas please.

Thanks!

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265016
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash progress bar in coldfusion

2006-12-26 Thread chr chr
Thanks for all the help, finally i figuered it out, i just made of couple of 
changes like http:// instead of file: and make sure file was in same directory 
or not? Finally progress bar is displaying now.

Thanks for getting me on right direction.

Actually what i am trying to do is, on the fly make a single zip file of more 
than 10-15 pdfs, at the time of zipping all pdfs i want to show some progress 
bar.

Once again Thank you and Happy New year.

The first observation is that you can only run this through the file system
not through a web browser ... For that you would need http://; not
file://  Secondly, running it through the file system will likely
cause the content to be blocked based on security settings so you will have
to overcome that hurdle. Third, the id param in your object bar should be
something for use with JS (i.e. get rid of the .swf), and finally there is
usually some accompanying javascript with these things... Something setting
a variable from 1 to 100 or whatever The purpose of CFFLUSH is to cause
the browser to fire a setvariable command and adjust that variable from 1 to
100 based on the level complete. Cfflush sends stuff to the browser
prematurely where it is executed in advance of receiving the entire buffer.
The way I've seen it is...



object ...id=movie ...
/object

cfouput query=somequery with lots of rows
   cfif NOT currentrow MOD 10
   
scriptdocument.movie.setVariable(#int((currentrow/queryname.recordcount) *
100)#);
   /cfif

   output some values
/cfoutput

-Mark

Mark A. Kruger, CFG, MCSE
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com



-Original Message-
From: chr chr [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 26, 2006 10:40 AM
To: CF-Talk
Subject: Re: Flash progress bar in coldfusion

This is the simple coldfusion code i'm trying to do

!-- Flash movie tag--

OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,0,0
WIDTH=221 HEIGHT=70 id=proggybar.swf ALIGN= PARAM NAME=movie
VALUE=file:///C|/Documents and
Settings/rchandra/Desktop/proggybar/proggybar.swf PARAM NAME=quality
VALUE=high PARAM NAME=bgcolor VALUE=ff EMBED
src=file:///C|/Documents and
Settings/rchandra/Desktop/proggybar/proggybar.swf quality=high bgcolor=dd
WIDTH=221 HEIGHT=70
NAME=proggybar.swf ALIGN= TYPE=application/x-shockwave-flash
PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer;
/OBJECT

cfflush

cfoutput Helooo.../cfoutput

Any ideas please.

Thanks!

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265028
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4