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 Wanet Telecoms Ltd 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. ncar35b

    newbie - evaluating even vs. odd number

    Hello. I'm creating a dynamic table from content in a database and I'd like every other row in the table to be a unique color so it's easier to read. I can't find the syntax in vbscript to do this. Logically, I would imagine it's something like (x is a number) if x = anOddNumber then <tr...
  2. ncar35b

    newbie: importing remote SWF files

    Hello. I have a basic question. Can I import an SWF file into my flash movie if it lives on a completely different server? I imagine I would reference it using "http://www.whatever.com/whatever.swf". Please let me know if this is feasible. Thanks!
  3. ncar35b

    Problem with commas in arrays

    Thanks, but that doesn't quite solve it. Pretend these are the five fields entered on the HTML page: 1) test1 2) test2, test3, test4 3) test5 4) test6, test 7 5) test8 using your code, they would be split: test1 test2 test3 test4 test5 test6 test7 test8 The ASP can't tell the difference...
  4. ncar35b

    Problem with commas in arrays

    Hi. I have an HTML form with 5 text fields. All have the same input name (<input type="text" name="testfield">). I couldn't name them differently for this application. It is easy to break this up into an array on the following ASP page, but if a user puts a comma in one of the text fields, that...
  5. ncar35b

    Converting Inches to Feet

    Help! I can't figure out how to logically convert inches to feet, so the remainder is in inches. For example, I have 37.235 inches. I would like it to be displayed as 3ft 1.235in. Using the Mod operator would be nice, but it rounds off the numbers! Thanks for any help.
  6. ncar35b

    Mac Absolute Paths?

    Hello. I'm writing a Flash movie where I need to call dynamic images from a CD-Rom in the computer. I need the flash file to sit on the harddrive. On a PC, it's easy to reference the images (D:\images\whatever.jpg). How would I write the absolute path on a Mac? Also, this computer will not have...
  7. ncar35b

    passing variables within flash

    Thanks ConeHead. Wouldn't I need to somehow create a "submit" button? I know how to create a button, but I'm not sure how to associate it with the text fields that were filled out.
  8. ncar35b

    passing variables within flash

    Hello. I'm new to flash and would like to create a form with a few text fields and a submit button. I'd like the variables collected in the form to be displayed later in the flash movie. Can anyone point me in the right direction on how to do this?
  9. ncar35b

    Duplicate Array Function Help

    Thanks Genimuse, you beat me to it!!
  10. ncar35b

    Duplicate Array Function Help

    Thanks Genimuse, is there any way to take my four-member array: testString = "testone, testtwo, testthree, testone" and make it into a one member array so it will work?
  11. ncar35b

    Duplicate Array Function Help

    Hello, I'm trying to use this function to find out if an array has duplicates. When duplicates exist, the result is true. <% Private Function HasDups(byVal arrayinput) dim wkarray, j, i, l wkarray = arrayinput for j = 0 to ubound( wkarray ) l = 0 for i = 0 to ubound( wkarray ) if...
  12. ncar35b

    SQL Server vs. MS Access

    Thanks pkailas and NoCoolHandle. I will have complete access to the server, so that's not a problem. It looks like SQL Server is probably the way to go. Not worth the risk of outgrowing MS Access.
  13. ncar35b

    SQL Server vs. MS Access

    Hi. I'm not really sure which forum to post this on, but here goes. I have to create a website that makes calls to a small database (10 tables, under 3mbs). The website will be receiving a modest amount of traffic (250,000 - 300,000 hits per month). I'd like to get developers' opinions if you...
  14. ncar35b

    URL dilemma

    Thanks Tony, if I just do a generic request.querystring, I can get the referer and parse that URL!
  15. ncar35b

    URL dilemma

    vbkris, I'm not sure I understand what you mean. Also, I have a new dilemma. The Request.Servervariables("PATH_INFO") just gives me the location of the 404 error page, not the refering page. And when I try HTTP_REFERER, the server isn't showing me the refering URL (the string is empty). Any...
  16. ncar35b

    URL dilemma

    as long as there is a unique instance of a web server set up for each site hosted, you can have a custom 404 page without affecting other sites hosted.
  17. ncar35b

    URL dilemma

    that's a fantastic idea, didn't think of that!! Thanks Genimuse!
  18. ncar35b

    Writing Array value to textbox

    Dunno what the rest of your code looks like, but try something like this: arrTest = Split(strTest,",") for k=0 to ubound(arrTest) strTable = strTable & "<input type=""text"" name=""whatever"" value=""" & (arrTest(k)) & """>" & vbcrlf end if next
  19. ncar35b

    URL dilemma

    Hi! I need to create about 300 unique subdirectories on a website that will redirect to specific doctor websites. For example: www.site.com/drjones (this would redirect to a unique site) www.site.com/drsmith (this would redirect to a unique site) www.site.com/drlee (this would redirect to a...
  20. ncar35b

    Newbie: Multiple XSLs to read from one XML doc

    Is there a way to create a few XSL files that all use the same XML file? I have seen XSL files referenced from an XML document, but I've never seen an XSL file that calls an XML document. If anyone could point me in the right direction, I'd appreciate it. Thanks, Josh

Part and Inventory Search

Back
Top