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. ;)
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...
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.
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...
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) + '">' +...
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 =...
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.
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...
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.
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.