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 Mike Lewis 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. David75

    TDC across domains with SSL

    Thanks Falcon99, but I don't think that's it. I can connect to https://www.thesite.com just fine, but when I use that URL in the DataURL field of the TDC, it doesn't work.
  2. David75

    TDC across domains with SSL

    I'm trying to download data from one web site to another using the MS Tabular Data Control. Before you ask, the two sites are on different domains, and I have the TDC security relaxed so it can connect across domains. Everything was working fine until the source site installed SSL. I've...
  3. David75

    Hi every one I received a mail

    Minimize your use of session variables and application variables. Use cookies instead, if you can.
  4. David75

    Tracking links

    You could have the link go to an ASP page that logs which user is viewing which document, then redirects to the actual document. On the user's side they wouldn't notice anything, unless they tried to do a right-click and "save target as"... in which case they'd get your ASP page output...
  5. David75

    I vant to SORT a recordset Query

    If you're still getting the records sorted like "1, 10, 11, 12" then you're probably not using a number data type for that field - more likely it's a string type. Check your data type.
  6. David75

    Median Function?

    Does anyone have a quick way to determine the median of a set in a SELECT statement (or otherwise)? Ideally I wish there was a MEDIAN T-SQL function that worked like like AVG.
  7. David75

    Printing Frames

    If you don't want the buttons to appear on the print job, you could keep everything on one page (no frames) and use DHTML to hide the buttons before the print and restore them after. ... buttons.style.display = 'none'; window.print; buttons.style.display = ''; ...
  8. David75

    auomatic ftp

    msturges, are you trying to upload a file from the client to the server via ftp and a batch file? I don't think that will work. You should look into a product like www.aspupload.com or write your own http upload control.
  9. David75

    Hello, can u help me to check what

    Here's a database tip I use in all my projects: Give each table a 3 or 4 character code, then prefix all field names in that table with the code. For example, your "user" table might have a 3 letter code of "USR" so the fields would be named USR_Name, USR_Password...
  10. David75

    Loop through a string

    Using InStr to check the contents of the session variable for each day would also work. If instr(Session("NotWork"), "M") then turn on Monday check box end if if instr(Session("NotWork"), "T") then turn on Tuesday check box end if Only problem is...
  11. David75

    accessing the serial port (com 1 and com 2) via an ASP page.

    The easiest thing to do would be to create a DLL with Visual Basic or C++ that will control the camera and send the strings to the com ports. Then include that .DLL in your ASP page just like an activeX control and you can pass it parameters with ASP.
  12. David75

    How do I cause a cookie to expire in 2 hours?

    response.cookies("cookie_name") = cookie_value response.cookies("cookie_name").expires = DateAdd("h", 2, Now())
  13. David75

    Detailed explanation

    Use a FILE input box: <INPUT TYPE=FILE NAME=FILE1> and then upload that file to your web server. See www.aspupload.com for details on uploading via HTTP.
  14. David75

    how to set up access database to handle multiple responses to 1email

    I don't understand what the problem is. Please rephrase.
  15. David75

    Problem with includes

    It's probably because changing to the directory before /utils would move beyond the root of the webserver. If using &quot;/utils/colorConst.asp&quot; worked and &quot;../utils/coorConst.asp&quot; did not, that is likely the problem.
  16. David75

    What is an easy way to jump out of VB code or the ASP

    Write all your code in a SUB, then call it. When you want to quit, just exit sub.
  17. David75

    Correct Way to Check if Form Fields Left Blank

    You should always revalidate your input on the server side using code that the user can't access. Chapters.ca lost alot of money in the first generation of their website when they did all their validation on the client side. The site would actually post the per item price to the client, then...
  18. David75

    Getting array from Server side to client side?

    Use ASP code to write VBScript code on the page. The VBScript code should be done in such a way that it will load the array client side. Remember, the ASP code will execute on the server, create the VBScript, send it to the client and then the client will execute the VBScript.
  19. David75

    global.asa

    Make sure you're setting the variables within the Session_onStart sub. Otherwise they won't get reset for each new user on the site. If the variables are always the same for all users you should use the Application(&quot;varname&quot;) variables. And set them in the Application_onStart sub.
  20. David75

    Don't want enter to submit a form!

    Or you can use a graphical button outside of the form. After the </FORM> tag add a line like: <A HREF=&quot;JavaScript: theForm.submit()&quot;><IMG SRC=&quot;button.jgp&quot;></A> Only a TYPE=SUBMIT button on a form will submit the form when the user hits enter on the form.

Part and Inventory Search

Back
Top