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!

Recent content by g33man

  1. g33man

    Understanding the New operator

    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...
  2. g33man

    BASH script - array problem

    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...
  3. g33man

    MyApplication_StartupNextInstance not always firing

    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...
  4. g33man

    label control not updating during 'busy' activity

    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...
  5. g33man

    Add a column to a Select output

    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...
  6. g33man

    Reading the GAL (Active Directory)

    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...
  7. g33man

    working with x509 certificates

    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...
  8. g33man

    working with x509 certificates

    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...
  9. g33man

    working with x509 certificates

    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...
  10. g33man

    working with x509 certificates

    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...
  11. g33man

    Query LDAP directory (non-AD) using System.DirectoryServices

    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.
  12. g33man

    Query LDAP directory (non-AD) using System.DirectoryServices

    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."...
  13. g33man

    Create Access database file (accdb) from VB.Net

    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...
  14. g33man

    Create Access database file (accdb) from VB.Net

    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...
  15. g33man

    Tuning Resource Monitor - lower screen refresh rate

    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...

Part and Inventory Search

Back
Top