Trying to connect to LDAP server using a vbscript to pull information out
This is what I have. Get error when get to recordset
Error = line 24
either BOF or EOF is True, or the current record has been deleted. Requester operation requires a current record
Const ADS_SCOPE_SUBTREE = 2...
I want to query 2 different recordsets for matching values and I don't know how to. I need to run down through one set of records and search the second set of records for matching values
This is what I have so far
On Error Resume Next
Const ADS_SCOPE_SUBTREE = 2
Const ForReading = 1
Const...
I'm not a programmer .... Technical User. I found the below script to delete files after 30 days. I hope the script will delete a folder and all its contents based on modified date
Can anyone help
Just want to delete a folder in a directory and subfolders based on modified date
It doesn't...
I'm not a programmer .... Technical User. I found the below script to delete files after 30 days. I hope the script will delete a folder and all its contents based on modified date
NumberOfDaysOld = 30
strPath = "C:\Test"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder =...
I'm not a programmer .... Technical User. I found the below script to delete files after 30 days. Does this sit in side a .VBS file or something. I hope the script will delete a folder and all its contents based on modified date
NumberOfDaysOld = 30
strPath = "C:\Test"
Set objFSO =...
What to delete the folder & contents based on how old the folder is .... I.e Last modified
Trying to use this command but can't use the /y tag for the Del part of the command in the statement
FORFILES -p C:\Backup\gpo_backups\ -d 100 -c "CMD /C IF @ISDIR==True Del @File"
The statement is for...
I can connect fine when I am dialing the Internet and using the VPN to connect to the Network but when I use a broadband connection, it fails with the error in the connection details as MTU failed
Can anyone help me?
Does anybody know if you can use an activeX web control to ask for remote connection.
I want a user to be able to request that I controll there machine. Then I can accept the connection
Any Ideas
Can anybody help me with the gethostbyname function. An application I'm using uses this function to resolve a name. It looks for a WINS server to validate the name.
Is there a way to make it look at DNS first to validate?
I can not access the citrix server from the wan. When I try to ping the server through the firewall it does not get a responce. I can ping any other server. The server seems to be locked down some way.
Any ideas
I have a xp machine and it is very slow across the network. It takes longer than it should opening and closing files on the server and browsing the network. Any ideas
I need to arrange 6 numbers in different orders but they can not repeat.
E.g
there are 6 numbers. 1 to 6
6,5,4,3,2,1 is one arrangement
5,4,6,3,2,1 ia another
There is a total of 720 different arrangements
Is there anyway of get all the arrangements
B-)
I need to arrange 6 numbers in different orders but they can not repeat.
E.g
there are 6 numbers. 1 to 6
6,5,4,3,2,1 is one arrangement
5,4,6,3,2,1 ia another
There is a total of 720 different arrangements
Is there anyway of get all the arrangements
B-)
I was wondering if anybody could help me.
I am trying to get different pages to display depending on what country the user is from.
I've tryed this
<%
If lcid = 6153
Response.Redirect "navn.htm"
elseIf
Response.Redirect "navm.htm"
End If
%>
and this
<%
If...
An example is given on this website
http://www.devguru.com/Technologies/vbscript/quickref/SetLocale.html
http://www.devguru.com/Technologies/vbscript/quickref/GetLocale.html
B-)
I have written code so that the page should redirect when it is loaded.
I am not sure how it works.
The page is called contindex.asp
The code is as follows
<%@LANGUAGE="VBSCRIPT"%>
<%
If session.LCID = 1036 then
Response.Redirect "contindexfre.htm"
ElseIf session.LCID =...
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.