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...
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!
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...
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.
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...
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?
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...
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...
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...
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
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...
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...
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?
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...
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...
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!
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...
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 = "TES328,UYW991,NNB210,WUU322,POU098"
Thanks for any help!
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.