Thanks all, needed it in 2 places
for each item in folder.SubFolders
If Instr(1,item,"_vti")>0 Then
Else
ListFolderContents(item.Path)
End If
next
'Display a list of files.
for each item in folder.Files
If Instr(1,item,"_vti")>0...
I picked up this useful code from brainjar to parse a set of folders and display hyperlinks to the contents.
It does this really well but also includes the bloody _vti folders that FrontPage leaves lying around in the results.
I know I need to add someting like
If InStr(1, objItem, "_vti"...
I'm running a copy of Snitz forum. in a mixed mode (and migrating) NT/AD domain. The forums utilise auto logon which works for NT users with this
NT
Set strNTUserInfo = GetObject("WinNT://"+strNTUser)
strNTUserFullName=strNTUserInfo.FullName
and for AD users with this
AD
Set strNTUserInfo...
Hmm, thanks, that threw an error like this (search string is hind)
Microsoft VBScript runtime error '800a01a8'
Object required: '[string: "hind"]'
/adsresults_results.asp, line 36
I know I need to add in some code
(lname = replace(lname, "'", "''"))
to handle apostrophe's in input fields but for the life of me cannot work out where to do it in this Macromedia generated code.
Help....
TIA
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Response.Expires = 60...
Hi
I am mailing a form using the JMail component, when the form is sent the form fields are in apparently random order.
At first I thought it was because I was using a table for layout however after removing the table the results are still the same.......?
I have appended the form, the...
Hi
I'm trying to build an output starting with AUTH_USER that consists of First Initial and Surname without any space, for example 'Alexander Smith' becomes 'ASmith' not 'A Smith'
As implemented below I get 'A Smith' and have problems with the length of the surname...
Hi
I currently use the code below (very helpfully supplied through this forum) to populate a users full name into a form field, I now want to take the first initial and surname to make part of an e-mail address (which will work in a large percentage of cases). How can I truncate...
Hi
I have an html form that includes a field for EMail address. This form passes to sendmail.asp (action="sendmail.asp") which uses the JMail component to actually send the message.
I want the EMail field in the html form to be used as the 'msg.From' value in the sendmail process...
Hi
The code line below is used to display an image referenced in a database field, I would like to open a pdf document instead that is referenced by a database field called dwglink.
response.Write "<img Src=" & """" & dwglink & """" &...
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.