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

    automatically populating an input box

    I will do this on the input form, leaving the insert page to deal only with the insertion. I will do something like this (just the basic code): Put an onchange on the select box: <select name=&quot;fullName&quot; onchange=&quot;ChangeSelect(this)&quot;> <script...
  2. tschonken

    Freeware ASP server?

    I have heard that Apache server can also support asp. I do not know however how true this is, seeing that I have not investigating this. Office notice: The beatings won't stop until morale improves
  3. tschonken

    simple ASP code needed to display &amp; not display

    I am not sure what you mean, but I would do something loke this: <% if lcase(trim(strName)) = &quot;index.html&quot; then show the file info here end if %> try to include the index file at the end to show it (haven't tried it, but it should work) right at the end of your asp page...
  4. tschonken

    How do i get error messages provided from database errors?

    Another way to do this will be: on Error Resume Next err.clear() --put code here, if something goes wrong (even during the DB part an error number will be generated ) -- if err.number <> &quot;0&quot; then --put error handling here end if Personally I don't like to use &quot;on Error...
  5. tschonken

    simple ASP code needed to display &amp; not display

    use the objItem.Name to check what you want or dont want Office notice: The beatings won't stop until morale improves
  6. tschonken

    Can ASP DB query be integrated into Javascript?

    vbkris is right, it is not possible. Just maybe a little more explanation for volcano to clarify the matter more: Always remember that the javascript runs at the client (person viewing the webpage) and the asp/DB query code at the server. By the time the page loads at the client all the asp/DB...
  7. tschonken

    Building a string error!!!!

    I am totaly going to take a stab in the dark at this one. I have seen that asp sometimes get confused as to whatit has to do, so maybe it is trying to add values mathematically (asp's errormessages are not always that accurate) try replacing the + with & Before: newURL = newURL &...
  8. tschonken

    Executing files via webpage

    Take a look at the following thread that was posted by celaka: Title: Need Help ( How to call Dos program using ASP) posted on: 03/11/03 It should explain everything (it is about 8 threads down from this one )
  9. tschonken

    Access Denied

    Check the access rights on the IIS server to the service
  10. tschonken

    Email form but edit email before sending

    Use ASP to send out the e-mail and not the user's e-mail program. That way you can give the user a text area where he can edit etc. the message and then click a send/submit (or whatever) button that will mail the info and update the DB
  11. tschonken

    record duration of visit

    Please provide code for OnEnd so that I can have a look at it
  12. tschonken

    record duration of visit

    There are a couple of ways to do this. 1. You can use Session_OnStart and Session_OnEnd in the Global.asa file: Session_OnStart will be executed when the user first arrives at the site Session_OnEnd will be executed when the user leaves the site In the global.asa file add the following...
  13. tschonken

    running asp page in background.

    Try writing a vbs file that gets kicked of by a batch file that is executed when the message is posted . Have used it in the past and it works just fine.
  14. tschonken

    Disabled form fields

    It will help if could maybe post the code here to look at. (the asp as well as the scripting code)
  15. tschonken

    Session Variables - Opinions

    I would like to get other peoples view on the next statement. Good or bad, I think that a lot of people can benefit from this.<br> I could not help but notice how many people uses session variables on this thread. Also a lot of replies inform people to use session variables. My opinion about...
  16. tschonken

    x = x + 1 gives illegal character

    Try &quot;forcing&quot; iNumRec to be an integer iNumRec = cint(iNumRec) + 1 I know this looks trivial, seeing that you have already stated that iNumRec = 0, but I have seen stranger things happen and sometimes ASP get a bit confused when working with mathematical processes.
  17. tschonken

    shell VBS

    How can I launch a vbs file shell from ASP? My situation is this: I am writing a mass e-mail program to mail out product catelogues to clients who requested them. This list can become quite long, so I want to kick off a vbs file that runs in the background and takes care of all the mails, thus...
  18. tschonken

    Global Classes

    Is there any way to declare a global class or function in asp? Almost like a session or application variable that can be accessed from anywhere?
  19. tschonken

    Check if an Object Exists (is available)

    Thanks Targol, it worked fine!
  20. tschonken

    Check if an Object Exists (is available)

    This might seem like an odd question, but maybe my explanation will clear it up. Is there any way of checking if an Object is available to use? The scenario is this: I want to use a class ie. set myVal = new MyClass I want to know if the class &quot;MyClass&quot; is included in this ASP page...

Part and Inventory Search

Back
Top