Search Results - ASP Message Board

Search:

Type: Posts; User: Bill Wilkinson

Page 1 of 20 1 2 3 4

Search: Search took 1.33 seconds.

  1. You can try, but you'd almost surely get more and...

    You can try, but you'd almost surely get more and better answers in an Oracle-specific forum.
  2. Did you try saving the database as an...

    Did you try saving the database as an old-fashioned ".mdb" file? So far as I know, JET doesn't really understand ".accdb" files. There's no advantage to saving in the latest format, in any case. ...
  3. Replies
    3
    Views
    129

    Why did you use Request.QueryString instead of ...

    Why did you use Request.QueryString instead of
    cmd.Parameters.AddWithValue("@strEmail", UserEmail.Text)???

    That query string is only going to work if you see
    ?UserEmail=john@abc.com (or...
  4. The answer is actually (sort of) on this site. ...

    The answer is actually (sort of) on this site. Wasn't easy to find, but...

    http://www.4guysfromrolla.com/webtech/102998-1.shtml

    There, he is running the batch file "ping.bat" from ASP code. ...
  5. Replies
    1
    Views
    100

    I would *GUESS* that the valule of attribute is:...

    I would *GUESS* that the valule of attribute is:

    (a) wrong. Maybe you are using a relative path that is wrong. Maybe you should be using an absolute path (that is, starting with a / character). ...
  6. Replies
    3
    Views
    129

    Ignore the blue line. What happens when you RUN...

    Ignore the blue line. What happens when you RUN the code?

    Anyway, I don't understand this sequence, *AT ALL*:


    Dim Sql As String = "SELECT strEmail FROM university (strEmail) WHERE...
  7. Well, the docs say that the value returned is a...

    Well, the docs say that the value returned is a LONG (long integer).

    But VBScript does not support long integers. (The CLNG() function only produces 32 bit integers, which were long integers in...
  8. Do you want the answer in SQL or in VBScript...

    Do you want the answer in SQL or in VBScript code?

    It's nearly the same thing.

    VBScript:

    diff = DateDiff("s", starttime, endtime )
    diff = TimeSerial( 0, 0, diff )
    ...
  9. Well, that property is only reporting what the...

    Well, that property is only reporting what the database reports. So you may have to use a DB tool to try some of those INSERTs and see what the DB tool tells you. What DB is it?
  10. Replies
    6
    Views
    289

    Might fail on file size? Not knowing that...

    Might fail on file size? Not knowing that aspSmartUpload product, I can't guess.
  11. Replies
    6
    Views
    289

    By the by, with the right header settings you can...

    By the by, with the right header settings you can also suppress the "open or save" question and go directly to "save as". If you care.
  12. Replies
    6
    Views
    289

    ??? Then why do you care about "browser popping...

    ??? Then why do you care about "browser popping up with an Excel open file dialogue box"??

    If you are going to retrieve it via FTP, why do you care whether or not the browser can open it?
    ...
  13. Replies
    6
    Views
    289

    Well, if the file is always created okay, then...

    Well, if the file is always created okay, then maybe just bypass the aspSmartUpload code and do the download yourself with ordinary ASP code.

    Do you always know the name of the file that was...
  14. It has been a LONG time since I worked with this,...

    It has been a LONG time since I worked with this, but I *think* you just need to declare the character encoding you are using.

    I think you need to use the correct Session.LCID and Response.Charset...
  15. Replies
    8
    Views
    303

    No reason at all it should work differently in...

    No reason at all it should work differently in Explorer than in Chrome!!!

    Something truly weird is going on. How about (at least temporarily) changing this code

    if ( http.readyState==4
    ...
  16. Replies
    8
    Views
    303

    Put an additional field on all the records named...

    Put an additional field on all the records named "lastChanged" and, when you add *OR* change the record, update lastChanged to the current date/time (e.g., if you are using SQL SERVER you might do
    ...
  17. Replies
    8
    Views
    303

    The least obtrusive way to do this would be to...

    The least obtrusive way to do this would be to use AJAX. If there is new/revised data, the server-side page sends back *only* that data, in a way that the JavaScript code can understand what to...
  18. VBScript doesn't have any formatting options...

    VBScript doesn't have any formatting options other than FormatNumber and FormatDateTime.

    You have a function FP_FieldVal there that is NOT STANDARD. It must be a function in your file or in a...
  19. Replies
    12
    Views
    796

    That code is *NUTSO*!! You have *BOTH* ...

    That code is *NUTSO*!!

    You have *BOTH*
    Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
    *AND*
    Protected Sub...
  20. Replies
    2
    Views
    165

    And it's easy to validate a date field value in...

    And it's easy to validate a date field value in VBS:


    date_dism = FP_Field(fp_rs,"Date_dism")
    If ( "" & date_dism <> "" ) Then
    If Not IsDate( date_dism ) Then
    Response.Write...
  21. Replies
    2
    Views
    165

    Just change the = there to is VBScript...

    Just change the = there to <>

    <> is VBScript for "not equal to"
  22. So try to find out what the error is.

    So try to find out what the error is.



    <%
    If Request.QueryString("POSTBACK") = "YES" Then
    ON ERROR RESUME NEXT
    Set Upload = Server.CreateObject("Persits.Upload")
    If Err.Number...
  23. Replies
    12
    Views
    796

    If you don't post the code, we (I??) can't very...

    If you don't post the code, we (I??) can't very well help you. So post.
  24. Replies
    12
    Views
    796

    Well, again it is DEBUG time. Have you put...

    Well, again it is DEBUG time. Have you put breakpoints in that Sub? So you can know if you are even getting to it? Have you traced through the code, carefully?

    One thing I would *definitely* do...
  25. Replies
    1
    Views
    151

    Well, since this is an Access database, use...

    Well, since this is an Access database, use Access-the-program to help debug it.

    First of all, add some debug code to your ASP page:

    ...
    sSQL = "SELECT * FROM PROMOS WHERE ARTIST='" & ARTIST...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4