PDA

View Full Version : message in Text Area


sf_rrr77
10-19-2002, 06:19 PM
Hi, got a question, a while ago on a website I forgot the URL from, I saw this kind of chat/message thing, the website was in ASP, that I know...

A person could enter a message in a textbox, and it would send that message to a textarea to where it's visible to everyone. Does anyone know what I mean and does anyone has the script for this perhaps?

Help me out please.. :)

whammy
10-19-2002, 06:27 PM
Like one of these?:

http://www.solidscripts.com/textchat/

http://www.solidscripts.com/textareachat/

http://www.solidscripts.com/prismchat/

sf_rrr77
10-19-2002, 06:43 PM
Kinda wanted the Textchat one, can't find a download for that on that website, even after I subscribed.

One other thing, what does this mean:

Microsoft VBScript compilation error '800a03ea'

Got this on all ASP scripts I tried on my website.

whammy
10-19-2002, 06:48 PM
What else does the error say? P.S. Textchat is attached...

sf_rrr77
10-19-2002, 06:52 PM
in top frame of prismchat:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/chat/PrismChat/log.asp, line 9

Set rcRegEx = New RegExp
--------------^


and bottom frame of prism chat:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/chat/PrismChat/update.asp, line 7

Set tiRegEx = New RegExp
--------------^

whammy
10-19-2002, 06:54 PM
Are you using Chilisoft ASP? It doesn't support regular expressions, so you'll have to find another way to validate that stuff...

sf_rrr77
10-19-2002, 06:56 PM
helpdesk of my server provider said that I could just upload these ASP scripts and it'll work unlike CGI, and usually I did small CGI scripts.. I'm already surprised that I didn't had to add a Path or anything in ASP. it's new to me... so....

Anyways, Textchat gave me this in both frames.

Topframe:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument: 'Mid'

/chat/TextChat/chatwindow.asp, line 11


Bottomframe:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/chat/TextChat/update.asp, line 36

Set tiRegEx = New RegExp
--------------^

whammy
10-19-2002, 07:00 PM
Since it's giving errors on the regex's, like I said, you'll have to use something else because it sounds like you're using ChiliSoft ASP (which doesn't support regular expressions, and that's really a shame)... as for Mid() giving you an error, you'll need to change that path to the text file to one that's appropriate for your server.... i.e.:

txtfile = Server.MapPath("textareachat.txt")

or whatever.

sf_rrr77
10-19-2002, 07:00 PM
ChiliSoft it is yes... dang... oh well.. that story ends also then.. would've saved me some trouble if they would've said so.

Thanx for the help d00d and sorry if I wasted your time. :(

whammy
10-19-2002, 07:01 PM
You should still be able to use it... just take out the regex's and any reference to them.

:)