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!

Recent content by mattp14

  1. mattp14

    Form Unload Event Handler

    Thanks! I definitely didnt know about that useful piece of info :)
  2. 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...
  3. mattp14

    Killing a process running on a remote pc?

    Thanks rdgerken... i might have to look into that if I can't find a better programmatic solution. obislavu: I've got the right privelages. Did you try that code and it worked for you? Thanks for the help guys... it's very much appreciated!
  4. mattp14

    Killing a process running on a remote pc?

    Thanks for the reply. I may have to consider your first example, but would like to avoid it at all costs as that would be a security breach. I am not able to get your second example to work however. I tried something similar to this before posting. The framework's process class doesnt seem...
  5. mattp14

    Killing a process running on a remote pc?

    Anyone have any ideas? Thanks
  6. 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...
  7. mattp14

    Invoking methods with parameters in Multithreading apps

    Well i was able to figure out my problem... turns out it didnt have anything to do with invoking or multithreading. But it would still be nice to know how to invoke methods with parameters if someone knows how! Thanks!!
  8. 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...
  9. 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...
  10. mattp14

    Querying Active Directory Question...

    Thanks a ton man... that worked great!
  11. 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...
  12. mattp14

    SecurtyException being thrown :(

    Is that something that can be changed by the program at runtime? Obviously that would be a security flaw if it could just give itself permissions to do anything... but perhaps with a username/pass of an account with administrator access? Thanks for the replies Rick... your input is much...
  13. mattp14

    SecurtyException being thrown :(

    I may have to look into the touchless deployment idea... but I dont see how I could even implement a self updating version. I doubt it would let me copy a file with the level of security that's being afforded to my app. It won't even let me do an Application.Exit() when it's not on the local...
  14. mattp14

    SecurtyException being thrown :(

    Anyone have any thoughts?

Part and Inventory Search

Back
Top