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

    Licensing? Music? Where do I start?

    You could also try contacting local bands / singers and offer them a deal where you get use of their music for free and they get a mention on your product. You might get better/more unique sounds and at a budget price! Posting code? Wrap it with code tags: CodeHere.
  2. clarkin

    POSTing a binary file using multipart/form-data

    Yep exactly. Then hopefully xmlhttp.send lets me send a byte array as the form body parameter. Here's how i'm getting the binary stream into a variable: Set Stream = CreateObject("ADODB.Stream") Stream.Type = 1 'Binary Stream.Open Stream.LoadFromFile filePath fileContents = Stream.Read...
  3. clarkin

    POSTing a binary file using multipart/form-data

    Hi Sheco, That would indeed be simple to convert, however it would just POST to the target page with only the binary file contents as the post body. ie, it wouldn't include the multipart/form-data stuff the target page is expecting. My problem is being able to do xmlhttp.send(<string data of...
  4. clarkin

    POSTing a binary file using multipart/form-data

    Hi all, I'm trying to setup an ASP page to POST an image across to another page- essentially simulating what a browser does when you use <input type=file> in a HTML form. I'm able to correctly setup the headers etc and do the POST, but I'm unable to include the binary data of the image. The...
  5. clarkin

    SQL client refusing connections until alias recreated

    Getting an unusual problem today between our app server and our db server - things will run fine until suddenly all connections to SQL server will be refused. When this happens I can still see/access the SQL server machine from the app server, and can connect correctly (eg via QA) to SQL server...
  6. clarkin

    JS Calendar and date question

    oForm.elements.s_dt.value = this.getDate(); the this refers to the AceCalendar object you just created called oCal_2. I bet it has a method for setting the start date etc - have a look in acecalendar.js (you link to it). Posting code? Wrap it with code tags: CodeHere.
  7. clarkin

    JS Calendar and date question

    actually as I think the default unit is days, I believe it's as simple as amending the line to read: oForm.elements.s_dt.value = this.getDate()-1; big, big in-depth reading here: http://www.merlyn.demon.co.uk/js-date2.htm Posting code? Wrap it with code tags: CodeHere.
  8. clarkin

    Show Running Total

    Running total from multipe select -HELP! (thread216-657766) I'm sure you can adapt it to work with your text boxes. Just watch out for folks entering letters :) Posting code? Wrap it with code tags: CodeHere.
  9. clarkin

    databse query result into number representation

    Couple of options, mostly covered above :-) Select as you did, then count the number of records returned in your ASP (fengshui_1998's way is best) OR sql = &quot;SELECT Count(DISTINCT ipA) AS ipaCount FROM captured&quot; Which will -only- get you the total, not the actual list of ipa's...
  10. clarkin

    password validation question

    tbh, if you enforce draconian passwording 'rules' you might actually be lessening security (by basically forcing folks to write the password down next to their pc). Have a read of: http://www.asktog.com/columns/026Security.html and http://www.asktog.com/columns/058SecurityD'ohlts.html If you...
  11. clarkin

    How do I select a string within a string?

    I think it bears mentioning that this sort of string-searching can be really slow in SQL server - especially LIKE '%... perhaps your business logic language can do it faster? (eg, your vbscript in ASP or VB in your windows program) Posting code? Wrap it with code tags: CodeHere.
  12. clarkin

    Design Tips Needed

    For general design tips, I recommend you have a good read of the links in Web Design Layout Guidlines (thread253-628329). Depending on your level of skill with HTML/css vs photoshop you can either start with your basic HTML & CSS template and add graphics as needed, or design a big picture of...
  13. clarkin

    IT vs Marketing!!! Fight of the cetury!!!

    That book on amazon (http://www.amazon.com/exec/obidos/tg/detail/-/1590590082/104-8753195-4695940?v=glance): Customers who bought this book also bought: * .. * .. * Software Development on a Leash (Paperback) Mixing S&M with Programming? Posting code? Wrap it with code tags: CodeHere.
  14. clarkin

    javascipt has hijacked my browser...

    crackn101: Post your problem (or search for similar) in the Browser issues for IT professionals Forum (forum608). They will be well able to help you out if you have some spyware/adware on your machine, probably by using HijackThis. Also have a read of How to beat your advertising popups &...
  15. clarkin

    is it ok to ignore 800 resolution?

    And further, if you put any weight in stats have a look at my list in Browser trends/stats - your view? (thread215-684416). Almost all of them collect stats on screen res too. A final point though - why do they have to have their browser window maximised? Posting code? Wrap it with code tags...
  16. clarkin

    is it ok to ignore 800 resolution?

    TBH, I would expect folks' machines at work to be less likely to have the latest browsers & highest resolutions - as compared to at home. After all, you pretty much always have admin rights on your home pc but not always at work :) Posting code? Wrap it with code tags: CodeHere.
  17. clarkin

    Searching String

    Sorry &quot; you were close with the reg exp.&quot; - the you was meant at TheConeHead and his original reg exp attempt. You are right about the [], if you put in [35] it would mean a 3 or a 5. Posting code? Wrap it with code tags: CodeHere.
  18. clarkin

    regular expression question

    See Regular Expression Syntax table on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsgrpRegExpSyntax.asp Posting code? Wrap it with code tags: CodeHere.
  19. clarkin

    Searching String

    I think kaht's solution is best, you were close with the reg exp. /3/.test(holder) //returns true if 3 is in holder Posting code? Wrap it with code tags: CodeHere.
  20. clarkin

    Help with != &amp;&amp; !=

    Might just be your logic: if (firstform.outmonth.value !=&quot;12&quot; && firstform.retmonth.value !=&quot;01&quot;) { try passing in 12, 01 //false x, 01 //false 12, x //false x, x //true So it is only true if the first one isn't 12 AND the second isn't 01. Is that what you are...

Part and Inventory Search

Back
Top