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

  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?
  15. mattp14

    SecurtyException being thrown :(

    Yes I agree... but i'm talking about providing a name and password. That wouldnt be compromising security...
  16. mattp14

    SecurtyException being thrown :(

    Hmm. That's interesting... but wouldnt it throw another exception when it tried to copy the file locally? It seems like there's got to be a way where I can correct the error programmatically... this is a big issue with the .NET framework in my mind if not. Even if I have to give it a...
  17. mattp14

    SecurtyException being thrown :(

    Hmm. What do you mean by self updating Rick? And where did you say that code was? (Yes, running it locally works, Dalchi). I'd like to stay away from running it locally (that will decrease robustness, but works for now as a workaround), as well as including a set up program for the same...
  18. 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...
  19. mattp14

    How to embed files in VB.NET?

    Anyone have any thoughts on this one yet? Thanks :)

Part and Inventory Search

Back
Top