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!

Recent content by alforjj

  1. alforjj

    Getting the Users Name from the UserName

    krinid, Your companies AD structure may be different from mine. Use the following code to get your companies basic AD structure. As AD structure shouldn't ever change, you shouldn't need to put this inside a program. So I made this to work in VBS. Just drop it in a text file and rename the...
  2. alforjj

    Getting the Users Name from the UserName

    I found it! It is remarkably simple. I thought it would involved complicated API calls, but it doesn't. You simply need to know the RDN of the Users in your domains' AD. They you make a GetObject call. Here is the code I used. Option Explicit Dim oOU, strContainer, strUser, strFirst...
  3. alforjj

    Getting the Users Name from the UserName

    I know how to get the UserName using the ENVIRON("USERNAME") command. In WinXP and Win2K, if you press Ctrl-Alt-Del, you can see the users full name as well as his UserName. Is there any way to capture this information? Thanks.
  4. alforjj

    Pulling data from a cell in Excel

    I see now. Wasn't exactly how I planned on doing it, but it works great!! Thanks!
  5. alforjj

    Pulling data from a cell in Excel

    Thanks, TomT. I am, however, confused about how to impliment this code. Is this a VBA scipt? I couldn't find anything about it in the Help feature or in the Object Browser. Thanks again
  6. alforjj

    Pulling data from a cell in Excel

    I need to pull data from a cell with VBA. The problem is that the cell is doing a VLOOKUP. So when the code runs, it gets a Type Mismatch error. How do I pull the data that is displayed in the cell from the VLOOKUP as opposed to the actual VLOOKUP? Thanks!
  7. alforjj

    Graphics / Video really bad in DOS

    You might try getting some information about your MB from www.motherboards.org . It's a pretty good site.
  8. alforjj

    Graphics / Video really bad in DOS

    From my experience, a rebooting machine means either the powersupply or the motherboard is going bad. Sense you flashed it and it seemed to fix the re-booting problem but now has on-board video and sound problems, I think your MB might be going. That's the problem with "compleate...
  9. alforjj

    Graphics / Video really bad in DOS

    Is the machine pre-built (such as Dell or Compaq) or a custom-built (such as you or someone you know put it together)? If it is a pre-built you can probably get the driver from the manufacturer's web site. If it is custom-built you should be able to get the driver from the motherboard...
  10. alforjj

    Graphics / Video really bad in DOS

    I have an old video card that does the same thing. It is a standard 4MB card that was so popular for a while. Unfortunatly, the company who made it is out of buisness and no drivers have been made sense Win98a. It won't even work in NT/2K/XP at all. If you can find new drivers or flash BIOS...
  11. alforjj

    searching for specfic files

    tsuji, I'm trying to use your above script that works with 9x/NT. I need to be able to write the files to a specific drive\folder. Is that what your outfile var is for? Thanks.
  12. alforjj

    GetDriveName Method

    Thanks, that worked great. We are using IBM T22 Laptops. They will only let you have either a CD-ROM or an A: drive in at once. Two million laptops on the market, and we have to go and buy the 1% that doesn't have both drives in simultaneously AND that hase multipule sets of drivers...
  13. alforjj

    GetDriveName Method

    Painkiller, I am trying to use this bit of code to determine weather or not a computer has an A: drive. (So I can tell if it is a laptop or not.) The problem I have is that when running I get an error that it doesn't know what scripting.FileSystemObject is. I have made a reference to Windows...
  14. alforjj

    Hiding menu bar in excel

    This is great stuff. Does anyone know how to do the same thing in Word 2000? Thanks. :-)

Part and Inventory Search

Back
Top