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: *

  • Users: ncar35b
  • Content: Threads
  • Order by date
  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

    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...
  4. 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.
  5. 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...
  6. 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?
  7. 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...
  8. 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...
  9. 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...
  10. 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
  11. ncar35b

    ASP wrapper question

    Hi, I am using an ASP wrapper (MSXML) to parse my XML and XSL. The problem is I'd like to be able to put some ASP code in my XSL wrapper, but the ASP wrapper I'm using parses the XML/XSL before it would parse any ASP, giving me an error. Here is the code. <% Dim xmldoc Dim xsldoc Set xmldoc...
  12. ncar35b

    &quot;File already in use&quot; error?

    Hi, I've had a site up for about a month that uses MS Access and got the error below for a second time. The site is done in ASP and the server is Windows 2003. I use OLEDB4.0 to make the connection. Microsoft JET Database Engine error '80004005' Could not use ''; file already in use. when I go...
  13. ncar35b

    Problem with &lt;textarea&gt; and vbscript

    Hello, when I use the HTML <textarea> input field in a form, any of the carriage returns are removed when a user hits submit. When I query the form on the subsequent APS page, the line spacing is gone and the results become a jumbled mess. Does anyone know how to keep the line spacing intact?
  14. ncar35b

    Newbie SQL Question

    Hi, the table below is in MS Access and I'm trying to pull out only one eventDate (the date nearest to today) for each unique eventID in order by date. (the times of the event are irrelevent) I would like this result: ID eventID eventTime eventDate 63 23 11am...
  15. ncar35b

    Distinct/Date help

    Hi, I can't figure out how to get my query to get me exactly what I need. Table: eventID eventDate eventTime 11 7/3/2004 8:00 11 7/3/2004 10:00 11 7/5/2004 8:00 13 7/3/2004 8:00 13 7/4/2004...
  16. ncar35b

    Simple Date SQL query

    I have a MS Access table (event) where I would like to query the date field (eventDate) to find the closest three future dates. Could somebody please help me figure out how to write a SQL query to do this? Thanks!
  17. ncar35b

    Newbie: mail script with a code-behind in VB

    Hello. I'm struggling to write a mail script (SMTP) that calls the key information (to, from, subject, body) from a code-behind. I can do this inline, but I'd like to be able to reference the code-behind/class, since I'll use it often. Could someone please point me in the right direction, or...
  18. ncar35b

    Newbie: Counting within a string

    Hi, I can't seem to figure out how to count within a string. For example, I want to use VBScript to count how many commas are in the following string: strPlantID = &quot;TES328,UYW991,NNB210,WUU322,POU098&quot; Thanks for any help!
  19. ncar35b

    Newbie: Active Directory Script

    Hello, does anyone have a simple ASP script that does a query of active directory using SQL? Everything on MS.com seems to use the LDAP protocol. Thanks! Josh
  20. ncar35b

    Javascript Rollover help

    Hello, I'm fairly new to javascript and was hoping someone could show me, or point me to some code that does a standard rollover for buttons, but also changes an image in one set area on the screen. For example, there are 6 buttons that all have an 'on' and an 'off' state. When the button is...

Part and Inventory Search

Back
Top