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

  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. :-)
  15. alforjj

    My patient is running out in Scripting!!!!

    I think I am misunderstanding. What is GP? We have our scripts stored on a DC under the NETLOGON share. I will try and find out exactly where you tell W2K to look for a log-in script as default. In AD Users and Computers you double-click on the user and go to the "Profile" tab...
  16. alforjj

    My patient is running out in Scripting!!!!

    Oops. The last 2 lines before '-------- 'Clean up '-------- should be one continuous line.
  17. alforjj

    My patient is running out in Scripting!!!!

    You can do an easy script that runs very fast in VB. W2K will run VBS without any special DLL's like NT4 needed. Here is an example: '--------- 'login.vbs '--------- on error resume next Set WshNetwork = WScript.CreateObject("WScript.Network") '------------------------- 'Remove old...
  18. alforjj

    amd 1.2GHz processor temperature

    I have an AMD 1.333 overclocked to 1.46 that was running at around 50C. I installed a 2CoolPC fan ( http://www.2coolpc.com/Cooling_Solutions/index.html ) into my system and sysoft now tells me I'm running at 42C. I ran MechWarrior4 for 3 hours and never got above 44C. You need to make sure...

Part and Inventory Search

Back
Top