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...
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?
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...
I did manage to get this to work:
Set WshShell = CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("PROCESS")
AllUsersProfile = WshSysEnv("PROGRAMFILES")
Any better suggestions?
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!
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?
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...
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.
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!
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...
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...
You could use the following:
Purpose: This function will sort the contents of an array in ascendning order. By changing the direction of the "<" you can change the sort order to descending.
The function does require an Array of the string type. I will generally put the information...
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!
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.