Recent content by FuturShoc

  1. F

    Run .exe without login?

    I've got a service whose sole purpose is to run an executable. It runs fine as long as someone is logged in at the time, but it doesn't ever seem to run if the control-alt-delete screen is showing. Is it possible to run an exe at this stage? If so, what special considerations must I make for...
  2. F

    Reading CMD file's output?

    That seems to be just the ticket! I did a quick test and it seems to work exactly as I need it to. Thanks!
  3. F

    Reading CMD file's output?

    I've got a .NET application which writes and then executes a .cmd file. Is there some way for me to read that .cmd file's output back into .NET so that I can do something in response to the result? I don't mind parsing text at all. I just need to know what the feedback is in that command window.
  4. F

    Run my exe as a specific user?

    My current project at work is to develop an application which will run on all client PCs in the field. This .exe application may run while an end user is currently logged in and using it, sometimes not and the cntl-alt-del screen is showing. I can successfully run my exe at the cntl-alt-del...
  5. F

    Windows service unable to read registry keys?

    Actually, yes. The point of this service would be to gather some information in the registry about whoever is logged in.
  6. F

    Windows service unable to read registry keys?

    I don't understand what you mean by "... log the service in..." ?
  7. F

    Windows service unable to read registry keys?

    Ok, so the "account" property of my ServiceProcessInstaller can't be set to "LocalSystem" in order for the service to get access to this user-level registry key. Is there a property I can set which *would* give the service access to these registry keys? I've actually done test builds for every...
  8. F

    Windows service unable to read registry keys?

    Ok, here's the entirety of my service's code. I'm hoping that looking at this, someone might get an idea of what's going wrong. The fact that there seems to be no error trapped, when I had included a try/catch, leads me to wonder if its a rights issue after all... ? Private Sub...
  9. F

    Windows service unable to read registry keys?

    To clarify, there is a property to the ServiceProcessInstaller in my project. That property is called "Account'. That property is set to "LocalSystem". I'm incorporating a try/catch in an effort to trap the error and confirm the source of my problem. Here's that part of my code: Try...
  10. F

    Windows service unable to read registry keys?

    Here's a bit more detail of the scenario. Yes, the key is in the CURRENT_USER hive. I can set and view the user setting which results in this key being written to the registry. I can view this same key using regedit. All from my own user account (domain-based) on my XP install. Now, I'm coding...
  11. F

    Windows service unable to read registry keys?

    I have put together a basic service which will need to read a particular registry key value. (It contains a path which is important to what it needs to do.) Everything appears to be functioning on a basic level. I can install, start and stop the service just fine. And I can write out event log...
  12. F

    Initiate local copy from remote admin PC?

    Hi, folks. I'm about to embark on a fairly important project using .NET. What I'll need to do is initiate a file copy from a PC ("A") to a workgroup server ("B") using an admin PC ("C"). The idea here is to run this administrative task from, say, my own PC using an interface that allows me to...
  13. F

    Intercepting multiple network connections?

    Ok, that seems like a good lead on how to do the basics of this, but it would be helpful to know if the basic idea of attaching code to the user's ACT (event) of establishing a network connection is even possible. ? The long and short of it is that my boss seems to think this is a no brainer...
  14. F

    Intercepting multiple network connections?

    I have a theory on this, but since I'm still very much a newbie at VB, much less .NET, I figured I should ask you fine folks here before flat-out denying the development request I have for it. We apparently need to somehow intercept an XP user's attempt to establish a second network connection...
  15. F

    Working with AD via VB.NET application?

    We have a need to streamline the maintenance of Active Directory here at my company. Specifically, does anyone have any experience with deleting users out of AD via .NET? Examples? Documentation you might point me to? Thanks in advance!
Top Bottom