Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Simpleton

    Validation Of numeric Fields

    once you ensure it is numeric either ensure it is within a range ie 1950 -> 2050+ or if len(cstr(iYear)) = 4 then ' Valid end if will ensure it is the correct year length (part 2 of your question)
  2. Simpleton

    Select element list height question

    Fester has it, i need a "combo" showing the selected entry, but when it drops down, it shows all 13 in the list.
  3. Simpleton

    Select element list height question

    I'm using this <SELECT size=&quot;1&quot;> <option value=&quot;&quot;></Option> <option value=&quot;1&quot;>1</Option> <option value=&quot;2&quot;>2</Option> <option value=&quot;3&quot;>3</Option> <option value=&quot;4&quot;>4</Option> <option value=&quot;5&quot;>5</Option> <option...
  4. Simpleton

    for each Item in Request.Form---Sort Order Question

    Tick boxes are nasty, the reason your getting random results is ASP appears to &quot;skip&quot; sending tick boxes that are not &quot;ticked&quot;.
  5. Simpleton

    Referencing a constant in DLL file?

    The reason you get no recordset is InterDev although reading the DLL headers to offer up the intellisense while developing does not actually know what the option Values are as integers. Adding the DLL as a reference to the ASP solution should sort that out, passing the integer value 1 I assume...
  6. Simpleton

    Dire need of help with stored procedure output parameters ( ASP, ODBC)

    ok after re-reading it the first part (stored procedure change) is optional change select * from my_view where BALANCE < 0 set @HowMany =@@RowCount in the SP to select @HowMany = Count(*) from my_view where BALANCE < 0 the ado code looks fine, except maybe specifying adParamInputOutput...
  7. Simpleton

    Iframe size

    Browser &quot;cross domain&quot; security block. Basically happens when the loaded url is on another http path it blocks script calls.
  8. Simpleton

    Populating Radio buttons

    when you build the HTML line if you want the value &quot;on&quot; then put the word CHECKED in the string <INPUT TYPE=&quot;RADIO&quot; CHECKED>
  9. Simpleton

    Server.Execute Error

    cool, any chance of posting the problem and answer to benefit others that may come across this in future?
  10. Simpleton

    Server.Execute Error

    One point to consider is if the execute method behaves the same as transfer, ie Server.transfer &quot;PageB.asp?SomeParam=-1&quot; Will fail because it has params specified Server.transfer &quot;PageB.asp&quot; transfers to the next page correctly *and* hands the current QueryString onto...
  11. Simpleton

    ASP and VBScript

    even if you did connect to &quot;\\b\wherever\script.vbs&quot;, and execute the file, it would still execute on cpu A, after dragging off the disk shared by B. The only method I know of to get CPU B, to execute the script is to put waders on and get inside the windows internals, you'll need to...
  12. Simpleton

    Problem with my dll. (beginner asp)

    am answering in the other thread. thread333-381087 real point having 2 threads going :)
  13. Simpleton

    Problem with com dll

    I wish you could edit these :) Session.Contents(&quot;outpostDB.StartsSecc&quot;) Request.form&quot;p_name&quot;) Should actually be Session.Contents(&quot;outpostDB&quot;).StartsSecc Request.form(&quot;p_name&quot;) d'oh
  14. Simpleton

    Problem with com dll

    Session.Contents(&quot;outpostDB.StartsSecc&quot;) Request.form&quot;p_name&quot;) Should be (i think) Session.Contents(&quot;outpostDB.StartsSecc&quot;) Request.form(&quot;p_name&quot;)
  15. Simpleton

    Option Explicit not working...

    try removing the brackets from response.redirect
  16. Simpleton

    Option Explicit not working...

    could you post the first 5 or 6 lines from the page ? it should read <%@ Language=VBScript %> <% Option Explicit %> <HTML> <HEAD> </HEAD> <BODY> </BODY> </HTML> etc
  17. Simpleton

    Option Explicit not working...

    The language declaration needs to be in it's own line (along with transaction specifcation if needed) try <%@LANGUAGE=&quot;VBScript&quot; %> <% Option Explicit ' Insert other code where required %>
  18. Simpleton

    Problem with com dll

    The code you have posted runs at the server, and any button or onclick event would be running in the client browser. your only way to complete this is to store outpostDB in a session variable set Session.contents(&quot;outpostDB&quot;) = createObject(&quot;TAPI.CLSCONN&quot;)...
  19. Simpleton

    ASP page load times

    heh tried that already and on the local machine is fine and a little faster, on a remote machine the page stops loading for no reason, view source and the server spits out some little message about buffering must be on :( Sigh Thanks for all the suggestions so far.
  20. Simpleton

    ASP page load times

    Will certainly look into it however I believe the problem is the browser (ie 5.5sp2) rendering or at least allocating resources for the page. It pages up 80mb of memory but the html stream isn't that massive 338kb for the whole page. I am going to look into the getrows method and also another...

Part and Inventory Search

Back
Top