Search Results - ASP Message Board

Search:

Type: Posts; User: Bill Wilkinson

Page 1 of 20 1 2 3 4

Search: Search took 1.43 seconds.

  1. Replies
    3
    Views
    223

    classicASP: Bad answer. Means he has to alter...

    classicASP: Bad answer. Means he has to alter EVERY FILE that needs this redirection.

    Rajesh: Learn to use your web.config file. It can easily do this (and much more) by just creating a set of...
  2. Replies
    5
    Views
    266

    Close.

    Close.



    <%
    icount = request.form("icount")
    For i = 0 to icount
    cat = Replace( request.form("category" & i), "'", "''" )
    id = request.form("id" & i)
    SQL = "UPDATE event SET...
  3. Replies
    3
    Views
    266

    No, my point is that you have been coding here...

    No, my point is that you have been coding here and posting here for a long time, and I was truly surprised to see you posting code that couldn't possibly make sense.

    I *STILL* think you are using...
  4. Replies
    3
    Views
    266

    So very much of that code makes NO SENSE at all....

    So very much of that code makes NO SENSE at all.

    First of all, you create a new record, referenced by the RS variable. And then you *OVERWRITE* that value by the useless line
    rs.open "select...
  5. Replies
    15
    Views
    816

    What in the world is this:

    What in the world is this:

    <% IF Session("wolfID")<>="" THEN %> welcome to Page 1 <BR>
    There is no such operator as <>= in VBScript. I don't understand how your page even compiles.

    But your...
  6. Replies
    5
    Views
    615

    You should first realize that this has nothing to...

    You should first realize that this has nothing to do with ASP, per se.

    After all, ASP can only generate HTML code, send that HTML to the browser, and then the browser can only work with the HTML. ...
  7. Replies
    10
    Views
    706

    You describe for me, in English, how your system...

    You describe for me, in English, how your system works. I'll translate it to code.

    But I'm not entirely clear on what you want the system (in English) to do, as of yet.
  8. Replies
    10
    Views
    706

    I think you need to step way way back and look at...

    I think you need to step way way back and look at what you are really trying to do here.

    Let's consider your two "arrays":

    strARR2 = "navigation|manual|heated|heated leather seats"
    ARR2 =...
  9. Replies
    10
    Views
    706

    It is not REASONABLY possible. The only way to...

    It is not REASONABLY possible.

    The only way to do it is to test each candidate "word" (or phrase) against the entire text. And then repeat for each word.
  10. Replies
    10
    Views
    706

    Pretty obvious. The problem is in your...

    Pretty obvious.

    The problem is in your COMMENT:

    ' initial array of words:
    dictwords = Array("navigation","manual","xenon headlamps","abs","heated","heated leather seats")

    That array,...
  11. Replies
    5
    Views
    266

    I hope you know that this code is pure and utter...

    I hope you know that this code is pure and utter junk and will never do anything useful:

    scatsel = "selected=ch(34)selectedch(34)"
    That should be either

    scatsel = "selected=" & chr(34) &...
  12. Replies
    5
    Views
    266

    Completely and utterly confused me. I have no...

    Completely and utterly confused me. I have no idea what the PURPOSE of all this is. Can you explain *THAT*?
  13. How dynamic is your set of words? If it is only...

    How dynamic is your set of words? If it is only changed every day or less, I would create a static lookup table that I then refreshed each day, at say midnight.

    This is *NOT* a good project for a...
  14. Replies
    10
    Views
    706

    VBScript is not a good language for doing this. ...

    VBScript is not a good language for doing this. JavaScript would be a better choice. But what the heck:

    <%
    ' initial array of words:
    dictwords =...
  15. Replies
    3
    Views
    440

    No, but doing Request.QueryString("dir") does! ...

    No, but doing Request.QueryString("dir") does! Or Request.Form or Request or or....
  16. Replies
    3
    Views
    440

    View Post

    <%
    ' initialize:
    Set FSO = Server.CreateObject("Scripting.FileSystemObject")
    Dim filelist
    ReDim filelist(1000)
    fileCount = -1


    Sub getFilesInDir( dir )
    If dir Is Nothing Then Exit Sub
  17. You are working way way way too hard. Just let...

    You are working way way way too hard. Just let HTML do it automatically.


    <!DOCTYPE html>
    <html>
    <head>
    <style type="text/css">
    div.wrapped {
    position: relative;
    background-color:...
  18. Show an example of what you want.

    Show an example of what you want.
  19. Replies
    2
    Views
    412

    Here's the fix for (1): Sub...

    Here's the fix for (1):

    Sub ListFolderContents( folder )
    'Display a list of files.
    Response.Write "<ul>" & vbNewLine
    for each item in folder.Files
    url = MapURL(item.path)
    ...
  20. Replies
    25
    Views
    1,854

    Oh, WTH. *PROBABLY*all you need to do is...

    Oh, WTH. *PROBABLY*all you need to do is something like this:


    function( data )
    {
    var result = JSON.parse( data );
    if ( result != null && result.Status != null &&...
  21. Replies
    25
    Views
    1,854

    Not much I can do to help you with that since you...

    Not much I can do to help you with that since you currently are just *IGNORING* the response from the validation server. Your code is here:


    $("#btn").click(function() {
    $.post(
    ...
  22. Replies
    25
    Views
    1,854

    AND NOT ONE of the following lines of code are...

    AND NOT ONE of the following lines of code are legal JavaScript:

    http.setRequestHeader "Content-type","application/x-www-form-urlencoded"
    http.Send Request.Form
    Response.Write http.ResponseText...
  23. Replies
    25
    Views
    1,854

    That is *NOT* JAVASCRIPT CODE!!! Set...

    That is *NOT* JAVASCRIPT CODE!!!




    Set http = Server.CreateObject("msxml2.ServerXMLHTTP")SET is NOT a JAVASCRIPT keyword. It *ONLY* works in VBSCRIPT.You CAN NOT mix up languages as you seem...
  24. Replies
    25
    Views
    1,854

    So that *CLEARLY* says you have a SYNTAX ERROR in...

    So that *CLEARLY* says you have a SYNTAX ERROR in "proxyValidate.asp". Specifically, on line 3 at column (character) 85.

    GO LOOK AT THAT LINE AND COLUMN IN THAT FILE!!!!!

    YOUR CODE IS...
  25. Replies
    1
    Views
    448

    To convert a delimited string, such as ...

    To convert a delimited string, such as

    me@me.com,sid@sid.com,bob@bob.com,other@test.com,other@test.com,other@test.comto an array, simply use the SPLIT function:
    str =...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4


More ASP Resources

Resources:
-- ASP Articles
-- ASP.NET Information
-- 4Guys ASP F.A.Q.
-- ASPFAQs.com
-- ASP Coding Tips
-- Related Web Technologies
-- User Tips!!
-- JavaScripts


Development Centers
-- HTML5 Development Center
-- Windows Mobile Development Center
-- Android Development Center
-- Cloud Development Project Center


Development Technology
Check out these sites for more articles, tutorials, FAQs, discussions, and code!
-- CodeGuru.com
-- VBForums.com
-- DevX.com
-- Developer.com
-- HTMLGoodies