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 bkrike 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 bakerm

  1. bakerm

    (VB.Net - FileVersionInfo.GetVersionInfo) Is there a VBScript equivalent?

    Thx for the fast response guitarzan! What I am needing is a bit different...the class name is a bit misleading. The .Net Class FileVersionInfo.GetVersionInfo returns the following: File: C:\Anyfile.exe InternalName: ListCtrl.exe OriginalFilename: ListCtrl.exe FileVersion: 1.0.0.1...
  2. bakerm

    (VB.Net - FileVersionInfo.GetVersionInfo) Is there a VBScript equivalent?

    I'm trying to convert a script I've created in VB.Net to VBScript. I am unable to replicate the Class FileVersionInfo.GetVersionInfo features. Anyone done something like this before?
  3. bakerm

    Get Sound Card Friendly Name

    Is there a way via VBScript to get the Friendly Name for the sound card that is installed on the machine? Thanks in advance for any help.
  4. bakerm

    Update WEP Key

    Hello all, I need to find a way to update the WEP Key value via VB 6. I am writing a VB app that is used for further customization of new machines that have just been imaged. I have lloked brifly at the Wireless Provisioning Services articles, I am not sure that that is what I need. Has...
  5. bakerm

    Get "Program FIles" folder location

    I did manage to get this to work: Set WshShell = CreateObject("WScript.Shell") Set WshSysEnv = WshShell.Environment("PROCESS") AllUsersProfile = WshSysEnv("PROGRAMFILES") Any better suggestions?
  6. bakerm

    Get "Program FIles" folder location

    What is the easiest way to get the location for the "Program Files Folder"? Typically it will be located at C:\Program Files, but not always in our environment. Is there a functionality similar to the GetWindowsDirectory API that will give me this information? Thanks for any help you can offer!
  7. bakerm

    AD - Get Account Profile Information

    Thanks PHV! I used your logic and it worked. Unfortunately, there are a few thousand users and this runs very slow as it has to iterate through the entire list of users. Is there another method that can be used to get the inforamtion for a specific user, some sort of filtering?
  8. bakerm

    AD - Get Account Profile Information

    Hello, I'm trying to get the profile path for a specific user in Active Directory. I have the following code that will return all users: Const ADS_PROPERTY_CLEAR = 1 Set objOU = GetObject("LDAP://ou=Users,dc=Work,dc=com") objOU.Filter = Array("user") For Each objUser In objOU...
  9. bakerm

    Get current users profile path

    Thx! Works perfect.
  10. bakerm

    Get current users profile path

    How can you get the currently logged on users' profile path? I need to get something like the following: C:\Documents and Settings\User Thanks in advance for any help.
  11. bakerm

    Is it possible to enable or disable a device?

    I need to know if it is possible to dissable a device with VB code. There are some unique circumstances in my workplace in which this could be very usefull. The user can only run under one account so individual settings per account are out of the picture. Thanks in advance for any suggestions!
  12. bakerm

    Display MsgBox without buttons.

    I am trying to do it in a way that no buttons will be on the form.
  13. bakerm

    Display MsgBox without buttons.

    No I have not. I will try that now. Thanks for your suggestion!
  14. bakerm

    Display MsgBox without buttons.

    Hello all, I need to display a message to the user without any available interaction. I tried using the msgbox and .popup methods but both will display with buttons that the user can click, I nedd to display the message on a form minus buttons. I need to have the message display for 15...
  15. bakerm

    Can you call Windows API's from VB Script?

    I am trying to use functionality contained within th User32.dll. Can this be done with VB Script? Thanks in advance for any information!

Part and Inventory Search

Back
Top