When working with dates with Active Directory, the date is relative to the format specified on the local PC. Does anyone know of a way to force a particular format when using Active Directory independent of the local date format?
The problem I'm having is that the input files this script will...
I'm trying to reference the 'accountExpires' property of an account and am getting the following error:
Active Directory: The directory property cannot be found in the cache.
I can access the 'AccountExpirationDate' property, but not 'AccountExpires' property. Does anyone know...
Question: is there a way to close/disconnect open files on server in VBscript?
I can see which files are open by parsing through as shown below, but is there a way to close the files using the information retrieved here?
Set obj = GetObject("WinNT://domain/server/LanmanServer")
for each...
Is there way to search for a user account, given it's SID, using the WinNT:// provider? (I know it's possible with the LDAP provider, but need to do it with WinNT://)
How can I enumerate WinNT domain user and/or group members in an LDAP group object?
The problem I have is that when I try the above, I loop through the members of an LDAP group, and when I get to a WinNT domain object (user or group), the name of the object is displaying as the SID instead of...
Anyone know a good way/tool to find the machine name (or IP) of logged in users? (Short of asking the users)
Users are running Win XP Pro, and we admins are running either W2K Pro or XP Pro. All users exist in AD, and we have the user's name and network login ID.
How can I use the "Print to File" option without specifying a filename? I need to write a script to receive files, save them, convert them and print them elsewhere.
Does anyone know of a good AFP to PostScript converter?
I need to print reports from a VPS system on an AS/400 to a PostScript printer (PS only, no PCL supported).
Got these two forms which I bring up one at a time. The forms have a single listbox where the users picks an item, which I catch in listbox_Click, then unload the first form and bring up the second form with the next question.
Problem:
When the first form closes and the second form comes up...
Despite having just re-installed Win 2000 and all service packs and patches, when I maximize a window, it doesn't take up the full screen, but leaves about 2cm between the bottom of the window and the top of the start bar. The desktop shows up in this area, but right clicking on it doesn't...
My touchpad on my notebook PC occasionally goes haywire. When I touch the touchpad, the mouse pointer goes wild, moving about, clicking and double clicking things despite not having touched the mouse buttons, and (strangely enough) almost everytime, the start bar and quick launch bar get moved...
Short question:
How can I detect where on an image a user has clicked? (independent of user's screen resolution, so pixels are out)
Long question:
I have a map (which is merely an image) that I need to place objects on. What's a good way to go about this?
My current idea:
- import image into...
Found a related thread, thread616-616243, but was wondering if there isn't an easier way?
I'm trying to map keys to ESC, ~ and TAB keys as I have some broken keys on my laptop (external keyboard works fine, some problem occurs when using a boot disk). Not being able to use ESC and TAB is...
Is there a way to run a code module in another workbook which is already open in Excel but is not an add-in and has no VBE reference? (There are reasons why I don't want to do either of these, but the explanation is rather long-winded so I'll omit it).
I have a feeling the answer is no (which...
How can I remove a VBE reference via code?
I'm trying to use this code, but it's spawning error 438, saying the object or method is not supported:
ThisWorkbook.VBProject.References.Remove (ThisWorkbook.VBProject.References(strFilename))
The whole description:
I'm creating a script to update an...
The 'password' of ThisWorkbook has a value entered - what does this protect? Is it the PWD on open feature?
I created this project myself, but have no idea what password I entered - it was most likely trying to test something out in response to something posted here I found interesting but...
How does one
1) detect what (dynamic forms) are present
2) close a dynamic form?
frm.close doesn't work
Unload frm doesn't work either
I have a bunch of dynamic forms created by using the following code which I would like to close without having to make the user hit the "x" button.
Dim frm...
Is there a simple way to produce the following output?
QUERY RESULT
Type Value
---- -----
A 1
B 5
C
D -3
E
F 10
(ie: includes rows which don't exist in the table it's getting the data from)
DATA SET (table)
Type Value
---- -----
A 1
B 5
D -3
F...
Okay, this is as simple as anything can be, but I can't find this in the help files...
What's the name of the command to find substrings in strings?
I'm aware of Replace, which replaces substrings. And I recall seeing a function (somewhere, sometime) that returns the byte # within a string...
Looking for some advice in splitting up an Excel workbook. Currently it has VBA code, and worksheets contain user-entered data. I'm looking to separate the code from the user data - what's the best way to do this?
I'm aiming at saving the user data in the worksheets in a workbook separately...
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.