Re: help with IIS 5

2002-10-07 Thread David Burt

is the service started?

make sure the cf application server service is started...

- Original Message -
From: Tim Laureska [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 9:38 AM
Subject: Re: help with IIS 5


 I have only 5 hairs left on my head.. I think though I've narrowed it
 down to the fact that the CF server will not start when I try to start
 it manually, I get CF application server error (error while processing
 request) I have uninstalled and reinstalled the CF server (single
 edition) multiple times, but am still unable to start the cfserver ..even
 manually...
 I must be doing something very basically wrong

 - Original Message -
 From: Jon Hall [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: October 06, 2002 5:24 AM
 Subject: Re: help with IIS 5


  Error 1060 is listed as : The specified service does not exist as an
  installed service.
  The fact that CF won't even start seems to indicate that the
  problem isn't an IIS problem though. You might have a busted
  install...try checking the event log though. It may have some more
  detail as to why the service won't start.
 
  --
  jon
  mailto:[EMAIL PROTECTED]
 
  Saturday, October 5, 2002, 10:58:10 PM, you wrote:
 
  TL some more info that may help you help me diagnose this thing.
 This is a
  TL two partition system with W2k installed on the D drive. I didn't
 notice
  TL at first that the mappings were to the C:\cfusion\bin directory...I
 changed
  TL those to d:\cfusion\bin and am getting a different error now when
 trying to
  TL open CFM files  I can't start the CF server either
 
  TL Error Occurred While Processing Request
  TL Error Diagnostic Information
  TL Error occurred while attempting to open service.
  TL Windows NT error number 1060 occurred.
  TL HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Sun, 06 Oct 2002
 02:56:44
  TL GMT Connection: close Content-type: text/html Expires: 0 Pragma:
 no-cache
  TL Cache-control: no-cache, no-store, must-revalidate
 
  TL
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
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.



Re: Dreamweaver MX keyboard shortcuts...

2002-10-07 Thread David Burt

THANK YOU!!!

That has been SOOO annoying!!!


- Original Message -
From: Anthony Wong [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Saturday, October 05, 2002 2:33 PM
Subject: RE: Dreamweaver MX keyboard shortcuts...


 David,

 1) Select Edit -- Keyboard Shortcuts
 2) On the edit window, click on the first box next to 'Current Set' (the
box
 should have the hint 'Duplicate Set')
 3) Name your duplicated set.
 4) In the Command select box, choose Menu Commands
 5) Select Insert -- ColdFusion Basic Objects --  Surround with #
 6) apply Ctrl-3 on the shortcuts.

 More about customizing your DW MX can be found in the following article.

 http://www.macromedia.com/support/dreamweaver/custom/customizing_dwmx/

 anthony


  Is there a way to replace the cntrl-3 short cut that does an h3
  to surround whatever is highlighted with #'s?
 
  thanks
 
  David

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
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



Dreamweaver MX keyboard shortcuts...

2002-10-04 Thread David Burt

Is there a way to replace the cntrl-3 short cut that does an h3 to surround whatever 
is highlighted with #'s?

thanks

David


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
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



MS SQL 2000 Stored Procedure Help...

2002-03-22 Thread David Burt

I have written a very simple stored proc to insert a record into a table =
and to return the value of the identity column that has been created by =
SQL.  I have done this dozens of times in SQL 7.  For some reason, I get =
a syntax error with what I have done.  Below is the Table design and the =
stored proc.  Please let me know what I have done wrong. =20

Thanks!!

David Burt


  Table Structure   =20


CREATE TABLE [dbo].[tblEmployees] (
 [EmpID] [int] IDENTITY (1, 1) NOT NULL ,
 [SSN] [nchar] (9) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
 [FName] [nvarchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
 [MName] [nvarchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
 [LName] [nvarchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
 [HireDate] [datetime] NULL ,
 [TerminateDate] [datetime] NULL=20
) ON [PRIMARY]
GO



  Stored Procedure   =20


CREATE PROCEDURE spAddEmplooyee=20

SSN  nchar(9),
FName nvarchar(25),
MName nvarchar(25),
LName nvarchar(25),
HireDate datetime,
TerminateDate datetime,
EmpID int OUTPUT

AS=20

/* Create New Record */

INSERT INTO tblEmployees {
 SSN, FName, MName, LName, HireDate, TerminateDate
}
VALUES {
 SSN, FName, MName, LName, HireDate, TerminateDate
}

/* Store the identity value from the newly inserted record into our =
ouput variable */

SELECT EmpID =3D IDENTITY


__
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
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: Using CF to control Spam

2002-01-04 Thread David Burt

As to your original question, the only thing that I can come up with is to
either use a web based email client that only displays emails from a
trusted address or setup a rule in your email client that deletes all mail
out of your inbox that isn't trusted, but storing temporary email (in
process of being trusted) into a database.  Then when you send out that
email asking the person to click the link, have the page that processes that
get the correct email from the DB, add that address to the trusted list,
then SMTP the email back to yourself replacing the correct to and from
address (maybe add the original date and time the email was sent to the body
of the message).  Once the page checks this same email again, it will be
known as a trusted address.  You may want to add something to this page to
go in and delete out mail that is say 2 weeks old from the database, that
way you don't clutter it up with old spam.

That should work without having a second pop3 account.  If you want to the
web based client account, I have something that I was writting a while back,
but had to drop it due to time constrictions.  Its written in Extended
Fusebox 2.  There are a few small bugs, but it will help you get ahead of
the game.  Let me know and I will send it to you.

Hope that helps...

David

- Original Message -
From: W Luke [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, December 31, 2001 8:28 AM
Subject: Using CF to control Spam


 My inbox has become increasingly infested with spam - up to 30 a day now -
 so I've been writing a small app in CF to help control it.  Basically, the
 robot logs into my current spam-infested inbox and checks each email
against
 a trusted addresses table in my db - if the email is from a trusted
 source, it's sent to another clean POP.  If it's potentially spam, a
 message is sent to the sender and the email is quarantined in the db - if
 that sender is a real person, they'll click on a link which will validate
 their email address, add it to my trusted addressbook and deliver their
 email to my clean POP.

 It works well, but it's annoying having to have another POP - can anyone
 think of a better way of doing it?

 Will

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Listcontains question

2001-09-19 Thread David Burt

 4,14,3,2,8,44

 If the user is allowed to see page 4, then he would be able to see all
pages
 that contains a 4, so it does not work correctly.

This code should be what you need:

If the user is allowed to see page 4, then he would be able to see all pages
that contains a 4, so it does not work correctly.brbr


cfset newlist = 4,14,3,2,8,44
cfset pageid = 4

!--- Display correct page IDs to include ---
cfloop index=t list=#newlist#
 cfif Find(pageid, t)
  cfoutputinclude pageid #t# br/cfoutput
 /cfif
/cfloop

cfif Find(pageid, newlist) EQ 0
cfoutput #application.error#/cfoutput
/cfif

BRBR

!--- Display error cause 7 isn't in the list ---
cfset newlist = 4,14,3,2,8,44
cfset pageid = 7

!--- Display correct page IDs to include ---
cfloop index=t list=#newlist#
 cfif Find(pageid, t)
  cfoutputinclude pageid #t# br/cfoutput
 /cfif
/cfloop

cfif Find(pageid, newlist) EQ 0
cfoutput #application.error#/cfoutput
/cfif

let me know is something is not clear


~~
Get the mailserver that powers this list at http://www.coolfusion.com
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: Killing a Structure

2001-09-19 Thread David Burt

Can you do an onUnload javascript to open a new window calling a cfm page to
delete that user from the structure and then use javascript to close the
window that was just opened.

only problem I see with this is that javasript has to enabled and the user
has to let the page load without closing the new window before it finishes
loading.


- Original Message -
From: Chad McCue [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, September 18, 2001 3:08 PM
Subject: Killing a Structure


 I am trying to find a good way to clear a structure when a user closes
 their browser window. My application calls for creating a structure of
 users as people log in. This structure will not allow the same Users to
 log in twice or any other user to log in with the same username and
 password as someone who already is logged in.

 The problem is when the user closes their browser,  I need to delete
 that user from the structure. Any ideas for this would be great.

 
~~
Get the mailserver that powers this list at http://www.coolfusion.com
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: Dynamic page creation help

2001-08-16 Thread David Burt

where is it available at?


- Original Message -
From: Billy Cravens [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 10:02 AM
Subject: RE: Dynamic page creation help


 As long as we're recommending WYSIWYGs, if you can guarantee IE, the
 DHTMLEdit ActiveX control in IE is free!

 ---
 Billy Cravens
 HR Systems, EDS
 [EMAIL PROTECTED]


 -Original Message-
 From: Gary Kraeger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 16, 2001 7:01 AM
 To: CF-Talk
 Subject: Re: Dynamic page creation help


 Aslo try activedit from cfdev.com, there product is very good.

 Gary


 - Original Message -
 From: Mark Smyth [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 16, 2001 7:44 AM
 Subject: RE: Dynamic page creation help


  Hi
 
  I did this before also, probably the easiest way is to use ewebeditpro

  and add some administration functions yourself.
 
  for info about ewebeditpro go to www.ektron.com
 
  HTH
 
  Mark Smyth
  Macromedia Certified ColdFusion Developer
  Systems Union eBusiness Solutions
  01865 880800
  [EMAIL PROTECTED]
  www.systemsunion.net
 
 
 
 
 
 
  -Original Message-
  From: Nick Betts [mailto:[EMAIL PROTECTED]]
  Sent: 16 August 2001 11:15
  To: CF-Talk
  Subject: Dynamic page creation help
 
 
  The brief is to create webpages via an updater.  The user can select
  how many pages they wish the site to have (1,2 or 3).  Then based on a

  defulat template they can then upload different images, amend text,
  change colours etc.  This will then create their very own webiste.
  Has anyone done anything similar for inspairation?
 
  regards,
  Nick
 
  -Original Message-
  From: Peter Tilbrook [mailto:[EMAIL PROTECTED]]
  Sent: 16 August 2001 11:06
  To: CF-Talk
  Subject: RE: Cookie Question
 
 
  Fuon,
 
  Never rely on using cookies. ColdFusion's built-in handling of
  session/client variables negates the use of cookies for most
  situations. You need to setup your application to use either client or

  session variables and
  store them in, preferably, a datasource as opposed to the registry
 (the
  default).
 
  Unless you are using pirated software the manuals explain this.
 
  To depend on storing variables in the registry is not a good idea -
  especially in a clustered environment.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Fuon See
  Tu
  Sent: Thursday, 16 August 2001 4:42 AM
  To: CF-Talk
  Subject: Cookie Question
 
 
  Do I use javascript to manipulate cookies, or can coldfusion do all of

  the cookie handling and manipulation?
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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



UDF in Developers Exchange

2001-08-16 Thread David Burt

Does anyone know if allaire is going to create a section in the developer's
exchange for UDFs?


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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: Form Formatting

2001-08-15 Thread David Burt

input type=text name=T1 size=20 style=font-family: French Script
MT

There is a Size property and you can change the font that is used in the
text box by using a style.  The font has to be loaded on client in order for
the user to use that particular font in the text box.  I only tested this in
IE, so you may want to make sure it works in any other browser you plan on
your users using to view your site.

hope that helps


David


- Original Message -
From: Gonzo Rock [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 3:28 AM
Subject: Form Formatting


 A lame question but hoping someone knows straight away.

 I am trying to shrink the size of input Text boxes etc... and maybe
control the font used... but can't seem to figure it out.

 Anyone with a hint for me?

 Thanks,



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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: Siily question re CFDIRECTORY and downloads

2001-08-15 Thread David Burt

here is the answer to your question.   I saw it in a post a couple of days
ago.

Yes ... you need to modify the HTTP Header Content type. If the content type
is known to the browser ... it will open the associated application or
whatever. If you change the content type to 'application/unknown' the
browser
will present the download dialog.

In CF take a look at:

CFCONTENT  TYPE=file_type DELETEFILE=Yes/No FILE=filename
RESET=Yes/No

In ASP take a look at:

Response.ContentType

Cheers,
Bill


In a message dated 8/12/01 1:54:01 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:


 Hi All,
 I'm trying to create a page where users can download
 files from.
 What i have discovered was that if you have a certain
 file type associated to a certain program and there is
 an href to download that type of file, what will
 happen is that it will automatically open the file
 with the associated program.
 for example:
 if i have mp3's asssociated to winamp...if there is a
 link A HREF=http://song.mp3/;download song/A and i click
 it, it will open my winamp player and start playing
 the song rather than popping up the save as window so
 that i can save the file.
 my questions are:
 Is this discovery correct? and is there a way to
 prevent it from opening the associated program but
 rather popping up the save as window?
 If anyone has any clue please let me know!

- Original Message -
From: Mike Brunt [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 14, 2001 7:33 PM
Subject: Siily question re CFDIRECTORY and downloads


 I have a large mp3 collection that I want to make downloadable to good
 friends.  I have CFDIRECTORY listing the files OK but I am having
difficulty
 making them downloadable.  I know this is really silly question but how do
I
 allow users to download the files by clicking them?

 Kind Regards - Mike Brunt
 Tel: 562.790.8631
 Instant Messaging Handles: -
 AIM (AOL): MediaEmbee
 MSN: [EMAIL PROTECTED]
 Yahoo: MediaEmbeeYH




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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: POP/IP

2001-08-09 Thread David Burt

I think there is a custom tag on allaire's site that will do this for you.
it basically just does an nslookup if I recall.

David


- Original Message -
From: DAVID DIXON [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 09, 2001 10:03 AM
Subject: POP/IP


 Dear All

 Is there any way, using CF or not, of converting a POP address
 (e.g. pop.mail.yahoo.com) into their IP equivalents.  I know you can
 use JavaScript with Netscape to recall IP addresses, but I need a
 solution which will work with IE5+.

 Any help much appreciated

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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



Outputing a Query In a different format Question...

2001-07-30 Thread David Burt

My problem is that I would like to change the way a query is outputed on the
page in a table.  A picture is worth a thousand words.  see below:


regular CFOUTPUT

user1  user1phoneNumber
user2  user2phoneNumber
user3  user3phoneNumber
user4  user4phoneNumber

Instead of outputting it like this, I would like for it to look like this:


user1  user1phoneNumber user2  user2phoneNumber
user3  user3phoneNumber user4  user4phoneNumber


Comming from ASP, this is pretty easy because of the ADO MoveNext command.
basically you put it in between the columns for the first user and the
second user.  then one after the TR.

If I have confused anyone, let me know.


Thanks in Advance

David


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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: Trim () in javascript?

2001-07-30 Thread David Burt

isn't supported natively, but here are some functions that will do it for
you:

http://www.4guysfromrolla.com/webtech/code/LTrim.shtml
http://www.4guysfromrolla.com/webtech/code/RTrim.shtml
http://www.4guysfromrolla.com/webtech/code/Trim.shtml


- Original Message -
From: Jeff Green [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 10:49 PM
Subject: Trim () in javascript?


 A newbie javascript question for ya.  Maybe a bit OT but you all know the
 Trim() function in CF :)

 Just want to know the javascript function for Trim() in CF

 cfset Var =  string with spaces in front and end  

 cfset TrimedVar = Trim(Var)

 But in javascript :)

 Thanks,
 Jeff



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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