Search results

  1. S

    Question Backgroundworker / Threading Question

    Hi All, I'm hoping someone maybe able to help me out with the following problem. I have a application that I've been working on that utilizes a Class called 'User'. This class has several Functions that are called by a Click event on the main form. These functions must run and return required...
  2. S

    Threadstate Question

    Hi All, I am coding in VB.Net 2002, and trying to find a way to see if a particular thread of an existing Service is running on a machine. Can anyone point me in the right direction on how I can accomplish this? Any input would be greatly appreciated. - ETR
  3. S

    Help Modifying Property of Computer Object in AD

    Hi All,I was wondering if someone may perhaps have a piece of sample code in VB.Net showing how I can modify the 'ManagedBy' property of a particular computer object in Active Directory? At the moment I have been successfull in modifying user object properties in AD using VB.Net 2005, but have...
  4. S

    MSIs and Transforms Question

    Hi all, I was wondering if someone might be able to help me on a question? At work a packager has created a MSI package with a Transform file. What I would like to do is extract the certain information from the Transform .mst file in VB.Net code. Does anyone have any tips on how I can accomplish...
  5. S

    Question Regarding Extracting Info from MSI Transforms

    Hi all, Does anyone know how I can extract values/info from a transform file that references a msi base file? So far I am able to retrive informnation directly from a msi file, but when a transform is used I am unable to successfully get anything. Any clue on how I can proceed to get anything...
  6. S

    Question with Object Array

    It looks like the 'Access Denied' error comes after the Put Method, because I see the package is getting created in SMS. After the package is applied I get the error. On a different note, I was able to extract the PackageID from the instPath Object by converting to string: temp =...
  7. S

    Question with Object Array

    I added the code to the end of mine and got a Access Denied error message once I ran it. I may have to fiddle around a bit to see. Although I can't understand why I am getting that message since we are only adding a new Management Object. The reference to the Managment Scope and options should...
  8. S

    Question with Object Array

    Hehe..The link you provided is actually the exact article I was referencing when I was using the Wbem Scripting Objects. After reading your comment regarding using the System Management Object, I proceeded to try to translate the code I had. So far I am able to successfull create a SMS package...
  9. S

    Question with Object Array

    Question with ManagementPath I have changed over to .Nets System Management to handle WMI, but am having trouble translating the following: Dim strPackageID as String Dim instPath as SWbemObjectPath Dim instPackage as SWbemObject instPath = instPackage.Put_ strPackageID =...
  10. S

    Question with Object Array

    Hi all, I was wondering if anyone could possibley help me with the code added below? It seems that I have an issue where I manage to go through the For Loop the first time with no issues, but manage to get an 'Unknow Error' when on the second Loop. I managed to isolate the problem to the line in...
  11. S

    Question Regarding My Object

    Hi all, I was wondering if someone can help me? Heres a bit of the code im working on. When I attempt to run it, I get an error message stating that an object reference is not set to an instance of an object. Ive narrowed the problem to the code in red. Im attempting to use the Object from Form1...
  12. S

    ADO.Net Question/Problem

    Hi All, I'm still coming to grips with ADO.Net in VB.Net. What I'm attempting to do is create a dataset containing 2 tables(tbl_mft and tbl_soft), and have my program loop through the tbl_mft table for a specific Manufacturer Name. And if that name is found, move to the mft_soft Table and look...
Top Bottom