I'm writing a simple app to scan MP3 files, thousands of them. I've located an opensource class called Mp3Class which makes extracting the elements from an MP3 file easy, but I don't have much experience with objects. The following snippit works correctly on my small sample of files, but I'm...
I'm trying to write a script which captures all the available WiFi SSIDs in my area, then puts them into an array 'a'. I don't get an error, however, when I print the size of my array at the end of the script I get 0. I'm sure I've got my array syntax wrong, but cannot figure out what to...
My app processes files and is called from the right-click context menu from Windows Explorer. The user selects one or more files, right-clicks on the selection, then picks my app from the context menu. The behaviour of Windows is to call the app once for each file in the selection, and the...
I've got a program which populates then sorts a Treeview control on my form (~90K nodes). It is a very busy recursion algorithm which takes up to 30 seconds to complete, during which time my Label control stops refreshing. The label control is updated every 500ms by a Timer, providing progress...
Below is my script (borrowed from the Internet). It produces a report of all the users in each group.
Import-Module ActiveDirectory
$groups= "GROUP1","GROUP2","GROUP3"
$selectgroups=$groups |Get-Adgroup
$selectgroups |get-adgroupmember -Recursive |Get-ADUser -property sn |Select...
I'm trying to create a javascript function that I can run from my browser. The webpage form will take the login name of a user in the GAL, and return specific elements from the user's GAL record (email address, phone number, etc...). Security is getting in the way of my testing.
1. I need my...
Hey, thanks for the tips. The first link is for an ActiveX object called Chilcat Cert. Unfortunately, I need my solution to work in a large organization (thousands of workstations), and it is not an option to install additional elements. My solution needs to run in vanilla vbscript.
The...
Hi, and thanks for the note, but I don't fully understand your comment.
My past VBscript needs have never required using external functionality. With this current project, I found examples of using the Set var = CreateObject("...") code, and those examples referred to this as "using a COM...
Progress. I am into the world of using a COM object within VBscript. Below is a snippet of my vbs code. The line that calls the Import method errors out with "Run-time error '5': Invalid procedure call or argument". While debugging, I have confirmed that my byte array (ba) does contain the...
I have a VBScript which retrieves user records from Active Directory. Some of these users have x509 digital certificates in their records (userCertificate attribute). I am trying to decode this attribute in my VBScript to provide meaningful information, such as IssueDate, ExpiryDate...
The exception is raised by the line:
oResults = oSearcher.FindAll
If I take out the exception handler, my program just stalls at this line, and does not return.
I am trying to query a public LDAP in my VB.NET application. The LDAP is not Active Directory. I found an example on the net, which makes no reference to AD. My test is based on that example. When I run this sample, an exception occurs, and I get the error "An operations error occurred."...
Hi jasen,
Thanks for your response. My objective is stated in the Subject:, but I forgot to restate it in my message - apologies. Since my post, I have figured out my issue (I was not adding a Resource to my VB.Net project correctly). For any others looking for a solution, here is how I did...
First, I've got to say how difficult it has been trying to find this solution. There are a few suggestions found with Google, but none has worked for me. My programming environment is Visual Studio Express 2013. My computer also has Office Pro Plus 2010 installed.
My most recent attempt uses...
Thanks. I did look at diskmon prior to my post, and it does not offer the functionality I need. To recap, my goal is to identify which process(es) are keeping my HD intensely busy for minutes at a time. Windows Resource Monitor gives me exactly what I need - except that the refresh interval...
Hi Dave,
No such menu. I'm using Resource Monitor v6 on Windows 7. I have attached a screenshot of the menus and tabs it offers. If you are referring to a different tool, which may meet my needs, please let me know what it is!
Thanks, Mike...
I am using Resource Monitor (PERFMON.EXE) to help diagnose times of intense HD activity. The issue is that the Disk Activity pane refreshes approx once per second. This is too fast to read the necessary parts of this very full pane. I've been searching for some way (registry setting?) to...
Wow, the name of this class was sure promising, but when I looked into it, it appears to just be a hook into changes to the directory structure (when a file is created, renamed, deleted, etc...). There are references to system.IO, so I will start digging into this.
Thanks for the suggestion...
OK, a bit ambitious here, but I want to write a "simple" app that hooks into the O/S filesystem operations. What I would like to see in my app is what files are currently being written to/read from, how much data, and what process is performing the activity. I know there are existing utilities...
Done. This brought up the option of 'Autoplay Settings", which I opened. In Win 8, this is a very simple screen. There are three different settings:
Use AutoPlay for all media and devices
ON
Removable drive
Open folder to view files
Memory card
<blank>
This does not feel like we...
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.