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

  • Users: mattp14
  • Content: Threads
  • Order by date
  1. mattp14

    Form Unload Event Handler

    I've got a section of code that needs to be executed at form closing, but neither the closed or closing events work for me. The code needs to be executed BEFORE the form actually closes (it needs to gracefully stop some pending operations if they're in progress). I of course can link this to...
  2. mattp14

    Killing a process running on a remote pc?

    I work in tech support and I need to be able to build the functionality of killing a process that's running on a remote pc into my c# apps. Any thoughts? The process class doesnt seem to allow this...
  3. mattp14

    Invoking methods with parameters in Multithreading apps

    I've got a program that does a search using directory services, and the problem i'm having is returning the results. I moved the search to a background thread (using System.Threading.Thread) so that it can be cancelled, gui remains responsive, etc. I've defined an event called itemFound that...
  4. mattp14

    Launching Active Directory Question

    I'm working on an active directory tool for use in tech support at my corporation. What i'd like to be able to do... is have this program launch the actual Active Directory Users and Computers snap-in, to a specific item in AD. Is this possible? I've got the path to the item i want in AD...
  5. mattp14

    Querying Active Directory Question...

    Is there a way I can write a search function using DirectoryServices that will return only results located within a specific organizational unit in active directory? The idea being to write a search function that will return, say, a list of all domain controllers for a domain (they all reside...
  6. mattp14

    SecurtyException being thrown :(

    I've got a utility i'm trying to write that makes some modifications to the system registry, as well as opening a database stored on a network share. This utility is going to be used by multiple people, and thus is going to reside on a server. Users will then browse to the server and run the...
  7. mattp14

    How to stop a remote process?

    I'd like to be able to kill a process that's running on a networked machine. I can't use the Process class though, as it says that function isnt supported on remote computer. Anyone have any ideas? As always, thank you very much for taking the time to help :)
  8. mattp14

    How to restart a running service?

    I've got a method I wrote with the intended purpose of restarting a service. Since I can't find a restart() method of the ServiceController class, my approach was to stop the service and then start it using the stop and start methods. This doesnt seem to be working though... Any thoughts...
  9. mattp14

    Creating Registry DWORD Values?

    I got such a helpful and professional response from my last question here... i thought i'd come back :) My question this time is in regards to creating and modifying dword values in the windows registry. I can use the following function to write string values, but I need to be able to write...
  10. mattp14

    How to embed files in VB.NET?

    Say i'm writing a program that depends on a few other .exe and .dll files to work correctly. Instead of including those in the same directory as my app, i'd like to have my app "generate" those files. Thus making it more robust, portable, and secure. Is this possible? I've played around with...

Part and Inventory Search

Back
Top