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 TouchToneTommy 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. hererxnl

    Checking to see if MS Word is already open

    I see what you're saying. I'll give that a shot and I appreciate the help. I know fiddling with ActiveX BS is the last thing a proper js person wants to do. It's the last thing I want to do also. ;)
  2. hererxnl

    Checking to see if MS Word is already open

    Dan I thought one of us was dyslexic, looks like it was me ;) I read what you wrote as "Why not just create the ActiveX object every time?" I still don't get what you mean though. Are you saying use: var objApp=ActiveXObject("Word.Application"); instead of: var objApp=new...
  3. hererxnl

    Checking to see if MS Word is already open

    Sorry I didn't see your response Dan. In this case, because it opens multiple instances of Word and it's often necessary to have many documents open simultaneously.
  4. hererxnl

    Checking to see if MS Word is already open

    Anyone have any ideas?
  5. hererxnl

    Checking to see if MS Word is already open

    Hey folks. I have an in-house classic asp app that is using the following function to open a word document on a webdav folder: <script language="JavaScript"> function openDocument(FilePath) <!-- { var objApp=new ActiveXObject("Word.Application"); objApp.Visible=true; // "Visible" is in...
  6. hererxnl

    Changing dynamic div property created using innerHTML

    Sorry for the fishing question but I was getting desperate. As expected it was a stupid error. For loop exceeded divs created.
  7. hererxnl

    Changing dynamic div property created using innerHTML

    Hey all, I'm collecting html from XML files in a loop to dynamically create divs based on user selections: for (var i = 0; i < markers.length; i++) { currentlocation_html += '<div class="currentlocation" id="currentlocation' + (i + 1) + '">' +...
  8. hererxnl

    List Folders

    you're welcome.
  9. hererxnl

    List Folders

    Response.Write objFolder.Name Where objFolder is the the object variable assigned by FSO. For example: <% Dim objFSO Dim objFolder Dim objSubFolder Dim objFile Set objFSO = Server.CreateObject("Scripting.FileSystemObject") 'Get Current Folder Set objFolder =...
  10. hererxnl

    Validate information in text box?

    look for RegEx (regular expressions) in the javascript forum. JS is the only way to validate before the submit.
  11. hererxnl

    Create new 2-d array from existing array

    For now I'm using a guitardave post found here thread333-1088342 to sort the new array. Hopefully this is the best method. It will work until I find a better way, or convince my client to use SQL.
  12. hererxnl

    Create new 2-d array from existing array

    Chops: Thanks for the direction, I'm looking into this further and will definitely post my results. I think I named this post wrong to begin with. Should have been "Sorting Multi-Dimensional Arrays" or something like that as that's proving to be the real challenge. Seems that running my...
  13. hererxnl

    Create new 2-d array from existing array

    Unfortunately the db is Access, for now. That's how it was requested.
  14. hererxnl

    Create new 2-d array from existing array

    Do you mean using a stored procedure? This is outside the scope of my use of Access, could you elaborate?
  15. hererxnl

    looking for &quot;//&quot; inside url request

    This is what I've used: Request.ServerVariables("URL") I think this returns the virtual path when their last navigation was also in your site. I'm not sure what happens when the hit your page from outside. Then you could check for "//" using the methods posted above.
  16. hererxnl

    Create new 2-d array from existing array

    "are you planning on running this calc for all values that are returned and then wanting to sort from there" - yes "that seems not very efficient to me" - precisely why I'm asking. :) This has froze my brain.
  17. hererxnl

    Create new 2-d array from existing array

    Choptik: Sorry if there was a lack of info on my part. Your understanding is correct. I don't see a way to include the calcuation in the SELECT statement because it involves the data the statement is built to request. Here are the functions I'm using to calculate distance between Zip Codes...
  18. hererxnl

    Assign value to variable

    Think it should be: answer = FormatNumber(CDbl(rsFocus("NAV")),2) If that still doesn't work, maybe declare the result a string like this: answer = CStr(FormatNumber(CDbl(rsFocus("NAV")),2))
  19. hererxnl

    looking for &quot;//&quot; inside url request

    Technicality but: strUrl = http://www.mysite.com/hello.html should read: strUrl = "http://www.mysite.com/hello.html" If you're requesting from a form then: strUrl = Request.Form("url")
  20. hererxnl

    looking for &quot;//&quot; inside url request

    The InStr function would be my suggestion. There is probably a more effiecient way to do this but this would work: Dim strUrl strUrl = http://www.mysite.com/hello.html 'strip out http:// strUrl = Replace(strUrl, "http://", "") 'Check remaining url string for // If InStr(strUrl, "//") = 0 Then...

Part and Inventory Search

Back
Top