Search Results - ASP Message Board

Search:

Type: Posts; User: Bill Wilkinson

Page 1 of 20 1 2 3 4

Search: Search took 1.32 seconds; generated 56 minute(s) ago.

  1. Replies
    2
    Views
    126

    strRecords = "" & vbNewLine do while not rs.eof...

    strRecords = "" & vbNewLine
    do while not rs.eof
    strRecords = strRecords & _
    "<a href=""maint_print.asp?RdID=" & _
    rs("RdID") & "&WONum=" & rs("WONum") & """>" & _
    ...
  2. Replies
    2
    Views
    132

    You certainly need to specify full path names for...

    You certainly need to specify full path names for the .htm and .pdf files!
    Else they will be assumed to be in a C:\windows\xxx directory and you
    will *NOT* have permission to write there and maybe...
  3. Replies
    1
    Views
    266

    Nothing to do with ASP. Should have been asked...

    Nothing to do with ASP. Should have been asked in a PHP forum.

    But really he should be getting the username and password
    from whomever administers his site.
  4. Replies
    1
    Views
    81

    How do you know the problem is with sessions? ...

    How do you know the problem is with sessions?

    Assuming you are right:

    Remember that sessions depend upon cookies working.
    If somehow your site has been marked as a SPAM producer
    by the major...
  5. And how does ASP code return two values to the...

    And how does ASP code return two values to the AS3 code??

    Is it as simple as


    Response.Write value1 & "," & value2 & vbNewLine
    or maybe


    Response.Write value1 & vbNewLine
  6. Replies
    2
    Views
    126

    Use There is no need to use the table prefix...

    Use

    There is no need to use the table prefix (WorkOrders.WONum)
    when there is only one table in the SELECT.
  7. Replies
    3
    Views
    328

    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...
  8. Replies
    5
    Views
    423

    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...
  9. Replies
    3
    Views
    388

    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...
  10. Replies
    3
    Views
    388

    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...
  11. Replies
    15
    Views
    1,132

    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...
  12. Replies
    5
    Views
    1,107

    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. ...
  13. Replies
    10
    Views
    901

    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.
  14. Replies
    10
    Views
    901

    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 =...
  15. Replies
    10
    Views
    901

    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.
  16. Replies
    10
    Views
    901

    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,...
  17. Replies
    5
    Views
    423

    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) &...
  18. Replies
    5
    Views
    423

    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*?
  19. 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...
  20. Replies
    10
    Views
    901

    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 =...
  21. Replies
    3
    Views
    554

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

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

    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
  23. 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:...
  24. Show an example of what you want.

    Show an example of what you want.
  25. Replies
    2
    Views
    517

    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)
    ...
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