Re: Comma in price

2004-05-25 Thread Jas Panesar
You may run into problems if you want to do alternate formatting with it in the future.  

I used the commands of set locale to set the locale to a comma currency (like "Canadian French"), then LSNumberFormat to format it according to the locale set.

Just another idea!

J
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Me again : about that printing thing from a web form

2004-05-25 Thread Jas Panesar
I built something similar as a COM object in VB.  

I used the printers object and methods to print, it worked like a charm.

You could probably whip up a quick VB COM object to run server side that uses the Printers object.  Quickest way would be to use something like cf_pdf to create an unencrypted PDF file, then use some combination of acrobat/ghostscript to dump it to the printer you want. 

A great book for learning VB Com objects is Visual Basic Objects by John Smiley.  One chapter of it was worth the entire price of the book for me. 

Best of luck, 
J
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Reporting Tools

2004-05-18 Thread Jas Panesar
CFREPORT could concievably work very well too -- it would only generate the report and drop it to a specified file.  Have you tried the examples provided from CF 4.5+ documentation to use cfreport?

if all else fails, google "+cfreport +example" without the quotes.  I was referring to a activex/java based report viewer that embeds into th web browser that allows u to run and view reports right in the browser.  You can find more info about on the devzone at:

http://www.businessobjects.com/services/support/default.asp

Gluck,
Jas

>Are you referring to the built in CFREPORT functionality?  That may 
>work, but there's ZERO documentation on it in the CFMX Developer's 
>Guide, and the Language Reference isn't much help either.
>
>   Rick
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: help with string manipulation (Find,Replace)

2004-05-18 Thread Jas Panesar
Another way you could look at this is to check for the length of the total characters in the first line.  

If it will never be less than 4, then you could wrap it with a conditional statement to check until it finds the first real line that is longer than 4 characters.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Reporting Tools

2004-05-18 Thread Jas Panesar
Is there any reason you couldn't use the crystal java report viewer to open & run the report off the server?  It works quite well, and could save you some time and headache if you have reports already made.

-J

>Upgrade to SQL2K and download/get SQL Reporting Tools - very very good and
>free.
> 
> 
>
>
>   _  
>
>From: Rick Root [mailto:[EMAIL PROTECTED] 
>Sent: 18 May 2004 12:56
>To: CF-Talk
>Subject: Reporting Tools
>
>
>I have a need to produce some simple reports using Cold Fusion.
>
>They are simple, text only reports, but I must have control over page 
>layout, the ability to put row headers and the like on every page,etc.
>
>Currently, we have a VB app that generates these reports using Crystal 
>on an Access database, but I'd like to generate the reports on the web 
>server using a web service, and produce a link to the generated report.
>
>I'm looking at one open source tool called jasper reports 
>(http://jasperreports.sourceforge.net) that looks like it has potential. 
>  I wondered if anyone has successfully integrated this particular solution?
>
>Any other suggestions?
>
>Thanks.
>
>Rick Root 
>   _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CF sending data to a local printer?

2004-05-18 Thread Jas Panesar
You could probably whip up a quick VB COM object to run server side that uses the Printers object.  Quickest way would be to use something like cf_pdf to create an unencrypted PDF file, then use some combination of acrobat/ghostscript to dump it to the printer you want.

A great book for learning VB Com objects is Visual Basic Objects by John Smiley.  One chapter of it was worth the entire price of the book for me.

Best of luck,
J

>My guess here is that you envision someone on the internet is browsing a 
>web site and fills out a form. You want that form to print on the web site 
>owners printer?
>
>I think that's a WILD idea... however it is only possible if the CF server 
>has network access to the printer.  Is the CF server in the web site owners 
>offices or on his intranet?  If not, is the web site owners printer exposed 
>to the internet?(...bad idea!)
>
>If there is no direct access by CF to the web site owners network perhaps 
>some work around where CF writes files to an ftp directory and then some 
>process runs in the web site owners offices (a delphi or vb program or 
>script or some other windows routine), that is busy  reading that ftp 
>directory and downloads and prints the forms... doable yes... practical... 
>that depends upon the value of the information in the form.
>
>
>At 11:24 AM 5/10/04, you wrote:
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: What happened to my digest?

2003-09-25 Thread Jas Panesar
 nd my digest!  Oh well, time to write another filter.
                


-Original Message-
From: Rachel Maxim <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Thu, 25 Sep 2003 12:48:03 -0400
Subject: What happened to my digest?

> I was subscribed to CF Talk in digest mode, I seem to have started
> receiving individual posts. Is digest no longer available now that the
> HTML version is live?
> 
> Rachel Maxim
> - - - - - - - - - - - - - - - - - - - - - - - - 
> Creative Director 
> Case Design/Remodeling, Inc. 
> & Case Handyman Services, LLC.
> 
> [EMAIL PROTECTED] 
> CaseDesign.com - CaseHandyman.com
> 
> 
~|
ColdFusion MX 6.1, now 2.5 times faster. 
http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803

Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138483
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cf forum suggestions

2003-03-31 Thread Jas Panesar
Apologize for asking a question that has no doubt been asked before, 
couldn't find the search button on the houseoffusion.com site.

I am presently bringing up a project manager to handle work with 
developers and clients.  One of the requirements is to be able to attach 
a forum to an entire client, as well as any one of their projects.  I am 
looking to use this forums software in a slew of other projects, I was 
wondering if anyone could make any suggestions.

So far I've noticed cfforums is a good bang for the buck, feature, and 
presumably extensibility wise (with the open source license) but, before 
I take the leap, I want some first hand experience of the different 
forums out there on extending and customizing the forums (open source 
would be a must).

Thanks in advance!
Jas


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CF Developer(s) required in Edmonton, Alberta

2003-03-11 Thread Jas Panesar
Hi Guys,

I am looking to get in contact with CF Developers in the Edmonton area to 
do some on-going development on projects.   

Experience can vary, the only thing I look for is an ability to solve 
problems, and to be able to pick what you need as you go.  Ideally, a few 
years under your belt would be nice.

I would be interested in going on this path on a project-by-project base 
initially, there is lots of work, but, it has to be a right fit to find 
self-started people. (I guess that's the wish everywhere! ;)

Eventually this will be available to developers outside of the Edmonton 
Region, at present our dev needs to be managed out of Edm to a larger 
scale, till them , I'll hold my breath and await some off-list responses.

Thanks,
Jas


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



How to get field names in MSAccess

2003-03-11 Thread Jas Panesar
Interesting, I was toying with this exact same thing the other day, except with an 
added spin:

In access, the field information is shown as follows when you create/edit fields in a 
table:

[field name] [data type] [description of field]

I want to extract table information, including the description fields of the fields in 
the table design field.  

I often have to port overflowing access databases to something more suitable like 
mysql, and enhance the data structure along the way.

Thoughts anyone?  I am going to try and poke around in an access DB with crystal 
reports to see if it can show the info like I need it.  

Thanks,
Jas
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Developers in Edmonton / Calgary Alberta?

2003-03-05 Thread Jas Panesar
I was wondering if there's any other CF developers out here in Edmonton 
or Calgary on this list?

I haven't been able to really locate a UG for either that is 
particularily active, but I know we're out here, as I run into guys here 
and there?

Please feel free to msg me off list!

Jas


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



BlueDragon WAR Archives

2003-02-28 Thread Jas Panesar
Vince, 

I would be very interested in participating in such a program -- looking forward to 
your reply.

Jas
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



BlueDragon WAR Archives

2003-02-28 Thread Jas Panesar
I see,

I was hoping it would compile the cfml templates into an all in one binary executable 
that included the webserver in it for easy distribution.

Appreciate the insight sean, look forward to Vince's reply.

Jas
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



BlueDragon WAR Archives

2003-02-28 Thread Jas Panesar
Dave,

Thanks, I just slammed my head into my keyboard.  What I meant to ask 
about was the "Compiled Binary Deployment" feature. 

BD apparently compiles all the code into one binary executable that can 
be distributed.  I am wondering if someone can point me to some 
documentation on the feature, it might be worth the price of the server 
in itself for me if it does what I think it does.

Jas
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



BlueDragon WAR Archives

2003-02-28 Thread Jas Panesar
Hi,

I apologize if this question is redundant, it didnt seem to clearly 
process into my head, or I haven't had enough coffee today ;)

BD website states: "Package portable CFML applications within standard 
J2EE Web ARchive (WAR) and Enterprise ARchive (EAR) files; "

Is this feature available in all versions of BD?  Or just specific ones?  
I think as a developer, it would be amazing to be able to whip up a self-
installing web app, throw it onto a cd, and let the client run it 
locally, and still have it run through a web browser.

Question is, do i have to pay a few grand everytime I want to do it?

Thanks in Advance,
Jas


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Tutorials

2003-01-02 Thread Jas Panesar
http://www.cfprimer.com seems to be decent, but I've referred webmonkey alot till I 
came across this site.

Hope it helps,
Jas
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



EXPERTS: CF 4.5 with Apache 2.0??

2003-01-02 Thread Jas Panesar
Appreciate the link rob, Yeah, I have already seen that link, I had it sorta working 
with the cf 5 module talking to cf 4.5, but it's quite not the same.  I really wanted 
to stick with 4.5 till I was confident enough with MX to make the jump.

I'm really quite dissapointed that macromedia hasn't released something, I hope they 
do come out with support for it soon, or if they haven't let out enough source to get 
the job done ourselves.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Fwd: EXPERTS: CF 4.5 with Apache 2.0??

2003-01-02 Thread Jas Panesar
Hi,

I was wondering if anyone has been able to get Coldfusion 4.5 
(mod_coldfusion) working with apache 2.x on Linux

>From everything I've researched, CF 4.5 only works with Apache 1.3.x, I 
was hoping to see if there was a recompiled version linux side that 
patches into Apache 2.0 properly

Much obliged,
Jas





CFREMOTE / CFDIST / NLM

2002-12-25 Thread Jas Panesar
Hi, I was wondering if anyone has played with the remote distribution of 
coldfusion processing from a seperate webserver

If you know this, you'll know it inside out, there is next to no 
resources on this out there, right now, I have it working in the 
immediate directory, but cf is having a difficult time processing sub 
directories with .cfm files.

My setup is apache on windows on one server with the cf module plugging 
over to another cf server.  The link works.

- - - - - - - 
Jas Panesar





Securing CF Server

2002-09-04 Thread Jas Panesar


Hi,

I am currently moving from custom hosting a few trusted and specialized 
sites on my servers.  I am contemplating opening things up to allow some 
more hosting to occur on the boxes, but the issue I have come up with, 
and very little time to research is:

How can I make sure the CF server environment is secure and as relatively
safe as can be, besides the obvious disabling of tags, etc.  I would 
rather like to leave as much functionality _on_, the projects being 
hosted on the servers are a bit on the complex side,  is there a good 
tutorial / archived discussion threads somewhere on this matter that I 
may research?  

Thanks in Advance,
Jas


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Securing CF Server

2002-09-02 Thread Jas Panesar

Hi,

I am currently moving from custom hosting a few trusted and specialized 
sites on my servers.  I am contemplating opening things up to allow some 
more hosting to occur on the boxes, but the issue I have come up with, 
and very little time to research is:

How can I make sure the CF server environment is secure and as relatively 
safe as can be, besides the obvious disabling of tags, etc.  I would 
rather like to leave as much functionality _on_, the projects being 
hosted on the servers are a bit on the complex side,  is there a good 
tutorial / archived discussion threads somewhere on this matter that I 
may research?  

Thanks in Advance,
Jas


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: session cookies to expire immediately on browser close

2002-05-10 Thread Jas Panesar

Wow, this looks great!

I was just curious, would it be difficult to do the same implementation 
without the use of cookies for the session?  I have a few applications 
where I append the CFID and CFTOKEN to the URL and pass it through as 
such..

I was thinking something like this might do the trick?  (I define the 
session.variable once the session is created):


 
 
 
 


 
 
 
 


"


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFID & CFTOKEN Unexplicably incrementing

2002-05-06 Thread Jas Panesar

Hi Guys,

I am having a problem with one of my session applications.

Basically, I am cutting out the cookie that is planted by 
cfapplication, in lieu of the IE6 Third-Party cookie denial by default. 
(My code is generating a part of a website for another domain.)

MY APPLICATION.CFM does the following:

 

 


 

SO, at this point, the CFID and CFTOKEN should be stored in 
session.autotoken and session.XXautotoken respectively, correct? 
(I am referencing 
http://www.cfhub.com/adavanced/managing_state/cookies.cfm)

Now, when the application goes into the main menu after logging in to 
the system and creating the session, I have it generate a link with the 
#XXAutoToken# embedded.

When I go to browse it on the browser, do a View Source, it shows the 
CFID as being incremented by 1 (+1).  Meaning, if my CFID in my Address 
bar in my browser is 28303, the one embedded in the page it self is 
28304.  Also, obviously, it changes the CFTOKEN.

To me, it seems to be regenerating the CFID / CFTOKEN somehow.  I am 
sure someone has seen this already, thoughts / comments would be 
appreciated.

Thanks in Advance,
Jas


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Web Chat Client

2002-04-04 Thread Jas Panesar

Chris,

My personal choice and recommendation is Conference Room 
(http://www.conferenceroom.com)  It *IS* a java client, (fully 
functioning demo on their site) however it excels in the following ways:

1) The Conference Room Server is basically a Windows based IRC Server.  
This means you can potentially set up any myriad of bots to handle 
questions, transfer files, etc in each channel without any great 
difficulty, as there's a ton of stuff out there for IRC.

2) It's quick -- last time I checked they redid the Java it with Swing 
lightweight components, they have a simple and an advanced client, and 
best of all, it's probably as good as, if not better than the Other 
Java based IRC Client out there -- JPilot.

3) You can use an irc client. =)

If you need more selling points, I've set this up in a large scale 
environment, security fits fine (you can easily code soemthing that 
requires you a password to connect to the server from the page with the 
embedded applet), please don't hesitate to contact me off list.

Hope it helps,
Jas


- - -

ORIGINAL MESSAGE

[ snip  ..]


A client wants some type of web-based chat integrated into their site. 
It would be nice if I could incorporate the Chat into the existing 
security system.

Obviously any type of streaming chat would probably be Java-based but 
that is fine.

I remember "back in the day" I would use Peri-Chat, so something similar
would be nice.

[ .. /snip ]


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists