@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> find jocks
<0> @find jocks
<0> !list
<1> hi.. hope someone can help me with a newbie ASP (not .NET): I have a code snippet that works in a page.asp when placed inline but gives an error when included (<!-- include (...) -->). any ideas?
<2> what's the error?
<1> type mismatch error
<2> ?? paste
<2> [ 02:01:30 ] [ cron ] paste: DO NOT PASTE CODE INTO THE CHANNEL! Use a paste code service like the one found here: http://authors.aspalliance.com/aylar/PasteCode.aspx
<2> paste it there and let's take a look at tit
<2> *it :S
<1> Microsoft VBScript runtime error '800a000d'
<1> Type mismatch: 'bbDecode'
<1> /pgs/03.asp, line 85



<1> oopss... sorry, didn't see your last message
<1> Aller: http://authors.aspalliance.com/aylar/ViewPasteCode.aspx?PasteCodeID=5734
<1> Aller: any ideas?
<2> two secs
<1> tks
<2> what does your function do?
<1> replace bbcode with html
<2> what is line 85 in 03.asp ?
<2> the response.write one?
<1> a call to the function
<1> a simple test: response.Write(bbDecode("[b]test[/b]"))
<2> you do know that function has to return a value, right?
<1> yes, it does... the last line is myfunction = ...
<2> ok
<2> wait
<2> but do you have a function named bbDecode ?
<1> yes... do you want mw to paste the original code?
<2> i thought you pasted that in the first place
<1> not quite... sorry, i thought a simple example would be enuogh
<1> 2sec
<1> Aller: http://authors.aspalliance.com/aylar/ViewPasteCode.aspx?PasteCodeID=5735
<2> works fine on my box when included
<1> :(
<1> what should be the problem, then?
<1> any other code?
<2> hard to say since it works fine for me
<2> :S
<1> ok, tks for your time
<1> :S
<2> hmm
<2> have you dim'ed any of those variables before?
<2> and using them for something else?
<1> i don't think so... i'll changed them and try again
<1> 2 sec
<1> same error
<2> odd :S
<3> its there a adultbouncer p***word????
<2> yes
<2> cccrrrrr; it's very unpolite to privmsg someone without having asked permission to do so first
<3> sorry :-( :.-(
<3> aller can we talk private??
<2> not about *** p***words
<3> ok
<2> because you should read the topic
<4> if i have a variable with the string: 'c:\foldername'
<4> what command can create that folder for me?
<5> hola alguien habla espaol?
<6> is there life on #asp? :)
<7> GOOD MORNING VIETNAM!!!
<7> nt rly i am here only b/c I felt some need for nostalgia



<8> hehe
<4> i am getting a "Path Not Found" error when using the fs.CreateFolder command, can anyone help?
<9> anyone here?
<9> guess not
<7> check your path?
<7> [MKR]: just ask your question
<7> ?? asktoask
<9> oh
<9> ok
<9> I am making a website for my client, and I want him to be able to upload new articles and easily place pictures & captions in them in a very easy way. Has someone written a GUI article manager that I can just plug into my site? Something like Google pages maybe but for asp.net.
<9> thats my question
<6> Can I simply copy an asp dictionary to another?
<6> like dictionaryA = dictionaryB or do I have to add each item seperately to the new dictionary?
<7> i believe you can copy from one object to the other, how? can't see it right now
<7> check devguru.com vbscript -> objects
<6> I created a new dictionary and then did. dictA = dictB but got a Wrong number of arguments error
<6> ok
<6> not really helpfull
<7> "Simply put, the one thing you can not do with objects is copy them!"
<7> hmph
<7> two seconds on google, so then...
<7> copy by cycling i guess
<7> for each or whatever
<6> for each item in blah ... add into second dictionary.. something like this is my only option then
<7> that's what it looks like
<7> i didn't see any clone or copy methods for dicitionary
<6> ok then, thx for the help ;)
<10> Dim obj1, obj2
<10> Set obj1 = ... all your code
<10> to copy
<10> Set obj2 = obj1
<7> didn't he say he tried that?
<7> "Wrong number of arguments"
<7> thought technically he didn't say he used set, I just ***umed
<7> er though
<11> !find videosz
<12> hello
<12> i would like to know how del the last "&" in my response.write loop please ?
<12> Response.write "var" & number & "title=" & prod.fields("titre") & "&"
<12> var1title=Ete 2005&var2title=Strasboug&var3title=Harlem Globe Trotter&var4title=MTV Live&var5title=Paris Tour Eiffel&
<12> how del the last "&" please ?
<7> devguru.com
<7> or.. substring
<7> 0,len-1
<12> ?
<12> which syntax ?
<7> http://www.devguru.com/technologies/vbscript/13896.asp
<7> it's been sometime since i used vbscript but the idea should be about the same
<7> probably Right or Left will suit your needs if '&' is always the last thing
<12> hello
<12> i got a question please :
<12> is use : Response.write "var" & number & "title=" & prod.fields("titre") & "&"
<12> and my ASP OUTPUT results gives : var1title=Ete 2005&var2title=Strasboug&var3title=Harlem Globe Trotter&var4title=MTV Live&var5title=Paris Tour Eiffel&
<12> i would like to know how del the last "&" please ?
<12> Thanks
<7> frigging read
<7> devguru.com
<7> i told you that over 2hrs ago
<7> use left right or instrrev
<7> whatever


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asp
or
Go to some related logs:

the missile knows where it isnt
#freebsd
#unixhelp
#gentoo
#worldcup
#sendmail
#computers
#politics
#sql
#windows



Home  |  disclaimer  |  contact  |  submit quotes