Search results for query: *

  1. W

    Question myProcess.StandardOutput.ReadToEnd Not Working

    I resolved my own issue. Apparently the process was failing on my x64 PC only. When I compiled and ran the same code on an x86 PC it ran fine. So I changed the code to target x64, and now it works fine on x64. When I created the second application, it defaulted to "Any" platform, and...
  2. W

    Question myProcess.StandardOutput.ReadToEnd Not Working

    Perhaps the better way to explain it would be to say I get output in one program, not the other using the exact same code. The expected result is a success message. Program A runs fine the standard output returns results. Program B does not run, and returns no standard output. Yet, both...
  3. W

    Question myProcess.StandardOutput.ReadToEnd Not Working

    Ok... this is driving me nuts. I have the following code that works perfectly to disable an account in active directory using DSMOD in an application. But in another application, the exact same code results in failure. I'm absolutely confused as to why it works in App A and not in App B...
  4. W

    Question Tyring to get lastLogonTimeStamp value from AD objects

    I am trying to get some information from Active Directory so I can export the information into some reports. I can use DSQUERY or ADFIND to get this information but I don't want my application to be dependent on those utilities being installed on the machine so I would like to get at the...
  5. W

    Question How do I cancel a sub/function from another sub or function?

    I have two command buttons on my form. One starts a complex subroutine that in turn calls numerous other subs and functions. The whole process can take quite a long amount of time. However, occasionally, the end user may kick off that process and then realize they need to cancel it and start...
Back
Top