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

  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!
  16. bakerm

    QUERY QUESTION

    Hello. I have what is probably a very basic SQL question for you guys but is driving me crazy. I have two tables: A and B Example: Table A has 500 rows that meet certain search criteria. Table B has 450 rows that meet the same search criteria used for table A. The tables should return the...
  17. bakerm

    Sorting either a text file or Access Table...

    You could use the following: Purpose: This function will sort the contents of an array in ascendning order. By changing the direction of the &quot;<&quot; you can change the sort order to descending. The function does require an Array of the string type. I will generally put the information...
  18. bakerm

    Add selected list box items to clipboard

    Does anyone know the best way to add the selected items from a list box to the clipboard? I am using a List Box control with MultiSelect set to 2-Extended. This will allow the user to select multiple items. Any help will be greatly appreciated! Thanks!
  19. bakerm

    How do you get a list of Windows permissions

    I need to write an application that will get a list of the users that have been assigned permissions for the machine on which the app will be running. I have been browsing thru the api documentation on MS.com and didn't see anything that looked like what I need. Thanks in advance for any help...
  20. bakerm

    Read a text file from bottom to top

    Thanks for the input Micheal!!!!

Part and Inventory Search

Back
Top