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: *

  • Users: krinid
  • Content: Threads
  • Order by date
  1. krinid

    Date formats when interacting with Active Directory

    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...
  2. krinid

    accountExpires

    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...
  3. krinid

    Close/disconnect open files on servers

    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...
  4. krinid

    WinNT:// provider searching for user by SID ?

    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://)
  5. krinid

    Enumerating NT4 users in LDAP groups

    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...
  6. krinid

    Finding machine names (or IP) of logged in users

    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.
  7. krinid

    Print to File without specifying a filename

    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.
  8. krinid

    AFP->PS

    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).
  9. krinid

    Two forms with one click

    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...
  10. krinid

    Problems despite a fresh install

    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...
  11. krinid

    Touchpad runs wild

    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...
  12. krinid

    Placing objects on a map (which is an image)

    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...
  13. krinid

    Key mapping

    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...
  14. krinid

    Run code in other open book? WB.VBproject.VBcomponents.CodeModule. . .

    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...
  15. krinid

    Removing VBE reference via code (Updating an add-in)

    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...
  16. krinid

    ThisWorkbook password

    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...
  17. krinid

    Closing dynamic forms

    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...
  18. krinid

    (Access) Inclusive range query results from non-inclusive data sets

    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...
  19. krinid

    String functions

    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...
  20. krinid

    Dividing one workbook into two: modules and data (add-in?)

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

Part and Inventory Search

Back
Top